[Ffmpeg-devel] pointers cast to ints

Måns Rullgård mru
Mon May 9 16:30:28 CEST 2005


Michael Niedermayer <michaelni at gmx.at> writes:

> Hi
>
> On Monday 09 May 2005 12:26, Jacob Meuser wrote:
>> gcc gave some warnings about these.  I only saw one other use
>> of intptr_t in FFmpeg sources, so ...
>
> (u)intptr_t is a optional part of the ISO C spec and is IMHO not
> needed here, unless of course iam missing something

Using int should be fine, since all the relevant information is in the
lower 32 bits.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list