[MPlayer-dev-eng] [PATCH] trivial signed/unsigned comparisons fix - spudec.c

Rich Felker dalias at aerifal.cx
Fri May 5 17:18:20 CEST 2006


On Fri, May 05, 2006 at 10:42:45AM +0200, Pierre Lombard wrote:
> Hi,
> 
> The attached patch fix some 'always false' tests by somewhat more
> sensible, I guess.
> 
> unsigned int a => a<0 is always false

It would probably be better to fix the type of the vars instead of
casting all over the place..

Rich




More information about the MPlayer-dev-eng mailing list