Commit 663a5cc9 authored by Tom Schoonjans's avatar Tom Schoonjans Committed by Philip Withnall

gio/gasynchelper.c: fix cast from pointer to smaller int type on win64

https://bugzilla.gnome.org/show_bug.cgi?id=777310
parent 53bd6a35
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment