From 4e347ced58ba2809d0631b34db81e001c577c360 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Fri, 9 Sep 2011 01:16:37 +0000 Subject: Fix build with clang. --- x11/9box/files/patch-src__utils.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 x11/9box/files/patch-src__utils.c (limited to 'x11/9box/files/patch-src__utils.c') diff --git a/x11/9box/files/patch-src__utils.c b/x11/9box/files/patch-src__utils.c new file mode 100644 index 000000000000..83ca5fb0ae55 --- /dev/null +++ b/x11/9box/files/patch-src__utils.c @@ -0,0 +1,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; -- cgit v1.2.3