diff options
author | okan <okan> | 2014-02-27 00:52:57 +0000 |
---|---|---|
committer | okan <okan> | 2014-02-27 00:52:57 +0000 |
commit | d46b0f88489ca0bdc6ec7825cd1a71f97d68cb28 (patch) | |
tree | ebc82308a49f5436702879433e97c514145eb823 | |
parent | 6798e3dde302febeef3aa641eadea55d394461ff (diff) | |
download | cwm-d46b0f88489ca0bdc6ec7825cd1a71f97d68cb28.tar.gz cwm-d46b0f88489ca0bdc6ec7825cd1a71f97d68cb28.tar.xz cwm-d46b0f88489ca0bdc6ec7825cd1a71f97d68cb28.zip |
Alignment fix; found the hard way on sparc64 by landry@ (and thanks too
for fast access to a box!) ok deraadt@, matthieu@
-rw-r--r-- | xutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c index b7df70f..8fdc3ad 100644 --- a/xutil.c +++ b/xutil.c @@ -291,7 +291,7 @@ xu_ewmh_net_desktop_names(struct screen_ctx *sc, char *data, int n) void xu_ewmh_net_wm_desktop(struct client_ctx *cc) { - int no = cc->group->shortcut; + long no = cc->group->shortcut; XChangeProperty(X_Dpy, cc->win, ewmh[_NET_WM_DESKTOP], XA_CARDINAL, 32, PropModeReplace, (unsigned char *)&no, 1); |