Merge branch 'fix-printoperation-win32' into 'gtk-3-24'

gtkprintoperation-win32.c: Fix build on Visual Studio

See merge request GNOME/gtk!4193
This commit is contained in:
Luca Bacci
2021-11-25 11:33:38 +00:00

View File

@ -1484,7 +1484,7 @@ pageDlgProc (HWND wnd, UINT message, WPARAM wparam, LPARAM lparam)
} }
else else
{ {
gpointer user_data = GetWindowLongPtrW (wnd, GWLP_USERDATA); gpointer user_data = (void *)GetWindowLongPtrW (wnd, GWLP_USERDATA);
if (!user_data) if (!user_data)
return FALSE; return FALSE;