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

Michael Niedermayer michaelni
Wed Feb 4 04:37:39 CET 2009


On Tue, Feb 03, 2009 at 09:21:00PM -0200, Ramiro Polla wrote:
> 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.

ok

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090204/374cc3f5/attachment.pgp>



More information about the ffmpeg-devel mailing list