summary refs log tree commit diff
path: root/group.c
diff options
context:
space:
mode:
authorokan <okan>2014-01-24 15:08:06 +0000
committerokan <okan>2014-01-24 15:08:06 +0000
commitc7e2ee5dd567888f30028250a7cdbadecdad4d73 (patch)
treee7aee15edc50d4b8eb70570b9366dcb9d52974cb /group.c
parent53e77acafcc0f419d4020ad63c030f6b577be34b (diff)
downloadcwm-c7e2ee5dd567888f30028250a7cdbadecdad4d73.tar.gz
cwm-c7e2ee5dd567888f30028250a7cdbadecdad4d73.tar.xz
cwm-c7e2ee5dd567888f30028250a7cdbadecdad4d73.zip
correct arguments and drop the cast.
sanity check by oga@nicotinebsd
Diffstat (limited to 'group.c')
-rw-r--r--group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/group.c b/group.c
index 929f9c2..70bd8b6 100644
--- a/group.c
+++ b/group.c
@@ -105,7 +105,7 @@ group_show(struct screen_ctx *sc, struct group_ctx *gc)
 		if (cc->stackingorder > gc->highstack)
 			gc->highstack = cc->stackingorder;
 	}
-	winlist = (Window *) xcalloc(sizeof(*winlist), (gc->highstack + 1));
+	winlist = xcalloc((gc->highstack + 1), sizeof(*winlist));
 
 	/*
 	 * Invert the stacking order as XRestackWindows() expects them