summaryrefslogtreecommitdiff
path: root/x11/9box/files/patch-src__utils.c
blob: 83ca5fb0ae55f57fcc97e05bd04c1a89f4df7ec9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- src/utils.c.orig	2002-10-30 19:30:09.000000000 +0800
+++ src/utils.c	2011-09-08 14:27:51.000000000 +0800
@@ -89,8 +89,8 @@ resize_box_for_client(Box * box, int cli
 
   XGetGeometry(box->dpy, box->boxed_windows[client]->client,
 	       &root_return, &x_return, &y_return, 
-	       &width_return, &height_return,
-	       &border_width_return, &depth_return);
+	       (unsigned int *)&width_return, (unsigned int*)&height_return,
+	       (unsigned int *)&border_width_return, (unsigned int *)&depth_return);
 
   XResizeWindow(box->dpy, box->win, width_return, height_return+button_height());
   box->box_width = width_return;