advapi32: Fix comparisons of unsigned expressions with zero

Mike McCormack mike at codeweavers.com
Thu Dec 7 19:49:23 CST 2006


Andrew Talbot wrote:

> -    if( n < 0 )
> +    if( (LONG)n < 0 )

Why not change the type of n to LONG rather than using a cast?

Mike



More information about the wine-devel mailing list