[Ffmpeg-devel] [PATCH] ffserver warning cleanup

Michael Niedermayer michaelni
Thu Jan 26 18:21:17 CET 2006


Hi

On Fri, Jan 20, 2006 at 04:34:57PM -0500, Bryan Mayland wrote:
> This patch cleans up all the compile warnings about signed/unsigned 
> buffer pointers in ffserver.c. 
> gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

rejected, these silly signed/unsigned casts make the code less readable
feel free to send a patch which disables/filters these warnings or
change the actual types where its correct and possible


[...]

> -                IPAddressACL *nacl = (IPAddressACL *) av_mallocz(sizeof(*nacl));
> +                IPAddressACL *nacl = (IPAddressACL *)av_mallocz(sizeof(*nacl));

cosmetic change

[...]

-- 
Michael





More information about the ffmpeg-devel mailing list