Michael Catanzaro wrote:
> On Wed, 2016-09-14 at 20:50 +0100, Richard Hughes wrote:
>> -jas_stream_t *jas_stream_memopen(char *buf, int bufsize);
>> +jas_stream_t *jas_stream_memopen(char *buf, size_t bufsize);
> 
> I should add: it probably needs to use ssize_t (signed size_t) here.
> But this function is part of the API, so every dependent app will need
> to be rebuilt and packaged into the same bodhi update.

Actually, int → ssize_t is an ABI change only on 64-bit architectures. On 
32-bit architectures, the size is not going to change. But, as our main 
architecture is x86_64, this sounds like a recipe for crashes indeed.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to