From: Sven Baars sbaars@codeweavers.com
--- dlls/win32u/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/win32u/window.c b/dlls/win32u/window.c index b3047e7299a..993046bd633 100644 --- a/dlls/win32u/window.c +++ b/dlls/win32u/window.c @@ -1429,7 +1429,7 @@ WORD WINAPI NtUserSetWindowWord( HWND hwnd, INT offset, WORD newval ) */ LONG WINAPI NtUserSetWindowLong( HWND hwnd, INT offset, LONG newval, BOOL ansi ) { - return set_window_long( hwnd, offset, sizeof(LONG), newval, ansi ); + return set_window_long( hwnd, offset, sizeof(LONG), (ULONG)newval, ansi ); }
/*****************************************************************************