gtkprintoperation-win32.c: Fix build on Visual Studio
Cast the result of GetWindowLongPtrW() to void * so that we won't get the C4047 warnings, which are considered an error in building the GTK stack.
This commit is contained in:
parent
34038aaf7d
commit
dfbcc0849b
@ -1484,7 +1484,7 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
|
||||
}
|
||||
else
|
||||
{
|
||||
gpointer user_data = GetWindowLongPtrW (wnd, GWLP_USERDATA);
|
||||
gpointer user_data = (void *)GetWindowLongPtrW (wnd, GWLP_USERDATA);
|
||||
|
||||
if (!user_data)
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user