mirror of
https://github.com/leahneukirchen/cwm.git
synced 2023-08-10 21:13:12 +03:00
correct arguments and drop the cast.
sanity check by oga@nicotinebsd
This commit is contained in:
parent
53e77acafc
commit
c7e2ee5dd5
2
group.c
2
group.c
@ -105,7 +105,7 @@ group_show(struct screen_ctx *sc, struct group_ctx *gc)
|
|||||||
if (cc->stackingorder > gc->highstack)
|
if (cc->stackingorder > gc->highstack)
|
||||||
gc->highstack = cc->stackingorder;
|
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
|
* Invert the stacking order as XRestackWindows() expects them
|
||||||
|
Loading…
Reference in New Issue
Block a user