[FFmpeg-devel] [PATCH] don't use longs in dynarray_add

Ramiro Polla ramiro.polla
Wed Feb 4 00:21:00 CET 2009


On Sat, Jan 31, 2009 at 10:35 AM, M?ns Rullg?rd <mans at mansr.com> wrote:
> Ramiro Polla <ramiro.polla at gmail.com> writes:
>> Attached patch changes (unsigned long) to (void *) in dynarray_add.
>>
>> dynarray_add is used to store pointers, and assuming sizeof(void *) ==
>> sizeof(unsigned long) here crashes on mingw-w64.
>
> Use intptr_t.

Updated patch attached.

Ramiro Polla
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mingw-w64-dynarray_inptr_t.diff
Type: text/x-patch
Size: 1804 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090203/21ec1d31/attachment.bin>



More information about the ffmpeg-devel mailing list