GetDlgItem16 - is id signed or not?
lawson_whitney at juno.com
lawson_whitney at juno.com
Mon Nov 12 09:11:54 CST 2001
On Mon, 12 Nov 2001, Gerard Patel wrote:
> I'd cast id to unsigned in GetDlgItem16.
>
> Gerard
>
That is my inclination too.
Thanks.
ChangeLog:
* dlls/user/wnd16.c:
Lawson Whitney <lawson_whitney at juno.com>
Cast id to unsigned in GetDlgIterm16.
-------------- next part --------------
diff -ur was/dlls/user/wnd16.c is/dlls/user/wnd16.c
--- was/dlls/user/wnd16.c Fri Nov 9 18:22:05 2001
+++ is/dlls/user/wnd16.c Sun Nov 11 22:05:00 2001
@@ -440,7 +440,7 @@
*/
HWND16 WINAPI GetDlgItem16( HWND16 hwndDlg, INT16 id )
{
- return WIN_Handle16( GetDlgItem( WIN_Handle32(hwndDlg), id ));
+ return WIN_Handle16( GetDlgItem( WIN_Handle32(hwndDlg), (UINT16) id ));
}
More information about the wine-devel
mailing list