[vlc-devel] Re: CVS Commit (gbazin)
sam at zoy.org
Fri Nov 15 09:53:43 CET 2002
On Fri, Nov 15, 2002, cvs at videolan.org wrote:
> * src/audio_output/input.c: fixed an obscure bug... (strange one though:
> int foo = -1; unsigned int bar = 2; __MAX( foo, bar) == -1 ).
Not surprising since signed/usigned comparisons cause the signed val
to be cast to unsigned (-1 = 0xffffffff). We could use -Wsign-compare
as a default flag.
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc-devel