Commit ee60cc50 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Window.c: Fix 32bit code path

make it compile again Thanks to Simon Matter for reporting this and the patch. Fixes ArcticaProject/nx-libs#993
parent 57e662b8
......@@ -3104,10 +3104,6 @@ static void nxagentReconnectWindow(void * param0, XID param1, void * data_buffer
}
XSizeHints *props = (XSizeHints *) data64;
#else
XSizeHints *props = (XSizeHints *) data;
#endif /* _XSERVER64 */
hints = *props;
}
else
......@@ -3116,6 +3112,10 @@ static void nxagentReconnectWindow(void * param0, XID param1, void * data_buffer
fprintf(stderr, "%s: Failed to alloc memory for XSizeHints\n", __func__);
#endif
}
#else
XSizeHints *props = (XSizeHints *) data;
hints = *props;
#endif /* _XSERVER64 */
}
else
{
......
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