[Ffmpeg-devel] [PATCH] fix non char arrays feed to string functions
Måns Rullgård
mru
Thu Jan 25 14:27:28 CET 2007
Luca Barbato said:
> M?ns Rullg?rd wrote:
>>
>> WTF is this supposed to fix?
> >
>
> Compiler warnings since str functions accepts just char* and what you
> are passing there isn't a char.
The str functions accept anything you put their way. This is gcc being
silly.
> mem* functions take anything but you have to provide the size of the
> objects, so you have those lines.
Apparently our flame-eyed friend has some more to learn about string
literals, arrays, and the sizeof operator.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list