advpack: Sign-compare warnings fix (Resend)

Andrew Talbot Andrew.Talbot at talbotville.com
Mon Jul 14 16:44:42 CDT 2008


Andrew Talbot wrote:

> (The reason I say
> "decimal zero" is because decimal constants are signed, whereas
> hexadecimal constants are unsigned[!] Thus, ~0x0 would be a viable
> alternative.)
> 

In fact, I have just tried both ~0 and ~0x0 and neither worked. (I can't figure out why the latter fails.) But -1u works, yes.

-- 
Andy.





More information about the wine-devel mailing list