Re: user32: Sign-compare warnings fix (Try 2)
-----Original Message-----
From: Alexandre Julliard <julliard(a)winehq.org> Sent: Dec 15, 2008 5:25 AM To: Andrew Talbot <andrew.talbot(a)talbotville.com> Cc: wine-devel(a)winehq.org Subject: Re: user32: Sign-compare warnings fix (Try 2)
Andrew Talbot <andrew.talbot(a)talbotville.com> writes:
diff --git a/dlls/user32/dialog.c b/dlls/user32/dialog.c index 9dd9083..4ea1959 100644 --- a/dlls/user32/dialog.c +++ b/dlls/user32/dialog.c @@ -84,9 +84,9 @@ typedef struct /* Radio button group */ typedef struct { - UINT firstID; - UINT lastID; - UINT checkID; + INT firstID; + INT lastID; + INT checkID; } RADIOGROUP;
This change would need a test case.
Alexandre/Andrew: I don't think this change is necessary, unless there is checking against a -1 somewhere in the code. Also, I would like to see an array of 32K or so radio buttons somewhere in Windows code. James McKenzie
participants (1)
-
James Mckenzie