client side shit ISNT 32 bits on 64 bit platforms, its 64 bits. fuck X so hard.
This commit is contained in:
parent
0ba6700655
commit
957ffe9c03
1 changed files with 2 additions and 2 deletions
|
@ -186,7 +186,7 @@ static gboolean get_prealloc(Window win, Atom prop, Atom type, int size,
|
||||||
((guint16*)data)[i] = ((guint16*)xdata)[i];
|
((guint16*)data)[i] = ((guint16*)xdata)[i];
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
((guint32*)data)[i] = ((guint32*)xdata)[i];
|
((guint32*)data)[i] = ((gulong*)xdata)[i];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached(); /* unhandled size */
|
g_assert_not_reached(); /* unhandled size */
|
||||||
|
@ -225,7 +225,7 @@ static gboolean get_all(Window win, Atom prop, Atom type, int size,
|
||||||
((guint16*)*data)[i] = ((guint16*)xdata)[i];
|
((guint16*)*data)[i] = ((guint16*)xdata)[i];
|
||||||
break;
|
break;
|
||||||
case 32:
|
case 32:
|
||||||
((guint32*)*data)[i] = ((guint32*)xdata)[i];
|
((guint32*)*data)[i] = ((gulong*)xdata)[i];
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached(); /* unhandled size */
|
g_assert_not_reached(); /* unhandled size */
|
||||||
|
|
Loading…
Reference in a new issue