diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-09-09 01:16:37 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2011-09-09 01:16:37 +0000 |
commit | 4e347ced58ba2809d0631b34db81e001c577c360 (patch) | |
tree | 532e1e1d495ab6744da0c594b4c5a6320bfa4550 /x11/9box/files/patch-src__utils.c | |
parent | - Limit emacs vulnerability to > 21.* and <= 22.2 instead of just <= 22.2 (diff) |
Fix build with clang.
Diffstat (limited to 'x11/9box/files/patch-src__utils.c')
-rw-r--r-- | x11/9box/files/patch-src__utils.c | 13 |
1 files changed, 13 insertions, 0 deletions
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; |