[Ffmpeg-devel] [PATCH] fix non char arrays feed to string functions
Luca Barbato
lu_zero
Thu Jan 25 13:24:15 CET 2007
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.
mem* functions take anything but you have to provide the size of the
objects, so you have those lines.
The alternative of using casts hides the warning.
>
> Rejected. All of it.
>
...
lu
--
Luca Barbato
Gentoo/linux Gentoo/PPC
http://dev.gentoo.org/~lu_zero
More information about the ffmpeg-devel
mailing list