diff options
Diffstat (limited to 'group.c')
-rw-r--r-- | group.c | 2 |
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 |