[Ffmpeg-devel] fixing signed/unsigned warnings (was: time for a release?)

Dieter freebsd
Tue Jan 31 11:12:51 CET 2006


> I have no other solution for the issue, considering it is a buffer used
> as a raw unsigned byte buffer some places and as a char buffer in others
> (depending on if ffserver is writting to http header or body).
> Splitting the buffer into two buffers (one uint8_t, one char) would be
> pointless, changing the type to one or the other would still give
> warnings, and using something to disable the warnings is just a bad
> idea.

IIRC a union could be useful here?





More information about the ffmpeg-devel mailing list