[FFmpeg-devel] [PATCH] Fix ffserver.c putenv gcc warning

Stefano Sabatini stefano.sabatini-lala
Fri May 30 16:12:19 CEST 2008


Hi all,

putenv expects a char* when we feed it with a const char*, this fixes
the resulting warning:
ffserver.c: In function ?main?:
ffserver.c:4388: warning: passing argument 1 of ?putenv? discards qualifiers from pointer target type

Regards. 
-- 
FFmpeg = Foolish and Funny MultiPurpose ExchanGer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ffserver-putenv-warn-00.patch
Type: text/x-diff
Size: 428 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080530/e2dfacf5/attachment.patch>



More information about the ffmpeg-devel mailing list