mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-03 06:32:10 +01:00
gio/gasynchelper.c: fix cast from pointer to smaller int type on win64
https://bugzilla.gnome.org/show_bug.cgi?id=777310
This commit is contained in:
parent
53bd6a359f
commit
663a5cc95f
@ -44,7 +44,11 @@ _g_win32_overlap_wait_result (HANDLE hfile,
|
||||
gboolean result = FALSE;
|
||||
gint num, npoll;
|
||||
|
||||
#if GLIB_SIZEOF_VOID_P == 8
|
||||
pollfd[0].fd = (gint64)overlap->hEvent;
|
||||
#else
|
||||
pollfd[0].fd = (gint)overlap->hEvent;
|
||||
#endif
|
||||
pollfd[0].events = G_IO_IN;
|
||||
num = 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user