mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02: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:
committed by
Philip Withnall
parent
53bd6a359f
commit
663a5cc95f
@@ -44,7 +44,11 @@ _g_win32_overlap_wait_result (HANDLE hfile,
|
|||||||
gboolean result = FALSE;
|
gboolean result = FALSE;
|
||||||
gint num, npoll;
|
gint num, npoll;
|
||||||
|
|
||||||
|
#if GLIB_SIZEOF_VOID_P == 8
|
||||||
|
pollfd[0].fd = (gint64)overlap->hEvent;
|
||||||
|
#else
|
||||||
pollfd[0].fd = (gint)overlap->hEvent;
|
pollfd[0].fd = (gint)overlap->hEvent;
|
||||||
|
#endif
|
||||||
pollfd[0].events = G_IO_IN;
|
pollfd[0].events = G_IO_IN;
|
||||||
num = 1;
|
num = 1;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user