diff options
author | okan | 2014-02-27 00:52:57 +0000 |
---|---|---|
committer | okan | 2014-02-27 00:52:57 +0000 |
commit | ff9c3bdb5409a7e35bb6b17d9786ef5aa3b0ae1a (patch) | |
tree | 3833b0720f251743f43f3a5be55c37d7b11712bb | |
parent | 79e432c4a8f3f3c7e1bc374e464d1b881b277f88 (diff) | |
download | cwm-ff9c3bdb5409a7e35bb6b17d9786ef5aa3b0ae1a.tar.gz |
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 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xutil.c,v 1.84 2014/02/07 21:59:56 okan Exp $ + * $OpenBSD: xutil.c,v 1.85 2014/02/27 00:52:57 okan Exp $ */ #include <sys/param.h> @@ -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); |