diff options
author | okan <okan> | 2014-01-24 15:08:06 +0000 |
---|---|---|
committer | okan <okan> | 2014-01-24 15:08:06 +0000 |
commit | c7e2ee5dd567888f30028250a7cdbadecdad4d73 (patch) | |
tree | e7aee15edc50d4b8eb70570b9366dcb9d52974cb | |
parent | 53e77acafcc0f419d4020ad63c030f6b577be34b (diff) | |
download | cwm-c7e2ee5dd567888f30028250a7cdbadecdad4d73.tar.gz cwm-c7e2ee5dd567888f30028250a7cdbadecdad4d73.tar.xz cwm-c7e2ee5dd567888f30028250a7cdbadecdad4d73.zip |
correct arguments and drop the cast.
sanity check by oga@nicotinebsd
-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 |