]> Dogcows Code - chaz/openbox/commitdiff
client side shit ISNT 32 bits on 64 bit platforms, its 64 bits. fuck X so hard.
authorDana Jansens <danakj@orodu.net>
Tue, 22 Apr 2003 20:05:25 +0000 (20:05 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 22 Apr 2003 20:05:25 +0000 (20:05 +0000)
openbox/prop.c

index e708b9843df4709d8c326526361dfd6fa847bea7..8677de07efa4fa873ffc4945b5cd9ded35e3b774 100644 (file)
@@ -186,7 +186,7 @@ static gboolean get_prealloc(Window win, Atom prop, Atom type, int size,
                    ((guint16*)data)[i] = ((guint16*)xdata)[i];
                    break;
                case 32:
-                   ((guint32*)data)[i] = ((guint32*)xdata)[i];
+                   ((guint32*)data)[i] = ((gulong*)xdata)[i];
                    break;
                default:
                    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];
                    break;
                case 32:
-                   ((guint32*)*data)[i] = ((guint32*)xdata)[i];
+                   ((guint32*)*data)[i] = ((gulong*)xdata)[i];
                    break;
                default:
                    g_assert_not_reached(); /* unhandled size */
This page took 0.026828 seconds and 4 git commands to generate.