[vlc-devel] Re: vlc: svn commit r19753 (xtophe)

Rémi Denis-Courmont rem at videolan.org
Mon Apr 9 22:42:26 CEST 2007

Le lundi 9 avril 2007 22:41, Subversion daemon a écrit :
> r19753 | xtophe | 2007-04-09 21:41:36 +0200 (Mon, 09 Apr 2007) | 2
> lines Changed paths:
>    M /trunk/modules/audio_output/file.c
>    M /trunk/modules/misc/rtsp.c
> Fix warnings.

You are being overly modest!

I think, when there is no function prototype, C assumes that all 
parameters are integers. This is for historical reasons (K&R C).

On amd64 - or any other platform where sizeof(int)<sizeof(intptr_t), 
this is not just a warning, but may generate incorrect bytecode.

Rémi Denis-Courmont
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070409/7aa6cf58/attachment.sig>

More information about the vlc-devel mailing list