xcb_get_property_unchecked() requires an uint32_t as last parameter, so use
UINT_MAX instead of LONG_MAX
Patch from OpenBSD via Jonathan Armani
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@65073
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
cookie =
xcb_get_property_unchecked(_ecore_xcb_conn, 0, win,
ECORE_X_ATOM_MOTIF_WM_HINTS,
- ECORE_X_ATOM_MOTIF_WM_HINTS, 0, LONG_MAX);
+ ECORE_X_ATOM_MOTIF_WM_HINTS, 0, UINT_MAX);
reply = xcb_get_property_reply(_ecore_xcb_conn, cookie, NULL);
if (!reply) return EINA_FALSE;
if ((reply->format != 32) || (reply->value_len == 0))
cookie =
xcb_get_property_unchecked(_ecore_xcb_conn, 0, win,
- property, type, 0, LONG_MAX);
+ property, type, 0, UINT_MAX);
reply = xcb_get_property_reply(_ecore_xcb_conn, cookie, NULL);
if (!reply) return 0;
if ((reply->format != size) || (reply->value_len == 0))