[FFmpeg-devel] [PATCH] Remove two warnings during libavformat build

Michael Niedermayer michaelni
Fri May 2 19:34:40 CEST 2008

%On Fri, May 02, 2008 at 05:41:58PM +0200, Diego 'Flameeyes' Petten? wrote:
> Trivial patch, on 64-bit architectures, int and long int have different
> sizes, and the difference between pointer (ptrdiff_t) is usually mapped
> on long int. At any rate, %ld should cover all architectures whatever
> their pointer size, afaict.

Which part of the C spec gurantees that a ptrdiff_t is the same as a long?


Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- 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/20080502/6a35cbb8/attachment.pgp>

More information about the ffmpeg-devel mailing list