[Ffmpeg-devel] [PATCH] drawtext.c: 01 fix compiler warnings

Måns Rullgård mru
Sat Sep 23 22:20:42 CEST 2006


Rich Felker <dalias at aerifal.cx> writes:

> On Sat, Sep 23, 2006 at 08:09:55PM +0100, M?ns Rullg?rd wrote:
>
>> C99 uses unqualified char* when defining all the str* functions.  It's
>
> Yet the functions treat the values pointed to as unsigned char...

It is implementation defined whether char is signed or unsigned.

>> gcc4 that gets a fit if it sees an unsigned char * being passed to a
>> function taking a char* as argument.
>
> This is an idiotic warning and should be disabled.

Quite.

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




More information about the ffmpeg-devel mailing list