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

Måns Rullgård mans
Sat Jan 31 13:35:50 CET 2009

Ramiro Polla <ramiro.polla at gmail.com> writes:

> Hi,
> 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.

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list