From ff9c3bdb5409a7e35bb6b17d9786ef5aa3b0ae1a Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 27 Feb 2014 00:52:57 +0000 Subject: Alignment fix; found the hard way on sparc64 by landry@ (and thanks too for fast access to a box!) ok deraadt@, matthieu@ --- xutil.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xutil.c') diff --git a/xutil.c b/xutil.c index 9884148..2a535e5 100644 --- a/xutil.c +++ b/xutil.c @@ -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 @@ -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); -- cgit v1.2.3-2-gb3c3