diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-22 20:05:25 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-22 20:05:25 +0000 |
| commit | 957ffe9c037f8fe005c93ddc4a7fd309e22c7fba (patch) | |
| tree | 74c616762c71693e94c08a4415dda10ae306dfba /openbox | |
| parent | 0ba670065529096f0e0f63c67db8e0a0c5580a9c (diff) | |
client side shit ISNT 32 bits on 64 bit platforms, its 64 bits. fuck X so hard.
Diffstat (limited to 'openbox')
| -rw-r--r-- | openbox/prop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/prop.c b/openbox/prop.c index e708b984..8677de07 100644 --- a/openbox/prop.c +++ b/openbox/prop.c @@ -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 */ |
