wmii

git clone git://oldgit.suckless.org/wmii/
Log | Files | Refs | README | LICENSE

commit cbf89cfd933e6855f84d3d9bcd35f9ff9d03034a
parent 79b5dac75484b6fda9f4e941e0a30648cc37720a
Author: Kris Maglione <jg@suckless.org>
Date:   Sun, 17 Jun 2007 20:16:30 -0400

Quiet GCC strict aliasing warnings.

Diffstat:
cmd/wmii/client.c | 2+-
cmd/wmii/x11.c | 2+-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmd/wmii/client.c b/cmd/wmii/client.c @@ -533,7 +533,7 @@ updatemwm(Client *c) { int n; n = getproperty(&c->w, "_MOTIF_WM_HINTS", "_MOTIF_WM_HINTS", &real, - 2L, (uchar**)&ret, 1L); + 2L, (void*)&ret, 1L); if(n == 0) { c->borderless = 0; diff --git a/cmd/wmii/x11.c b/cmd/wmii/x11.c @@ -274,7 +274,7 @@ winprotocols(Window *w) { Atom actual, delete; int i, n, protos; - n = getproperty(w, "WM_PROTOCOLS", "ATOM", &actual, 0L, (uchar**)&protocols, 20L); + n = getproperty(w, "WM_PROTOCOLS", "ATOM", &actual, 0L, (void*)&protocols, 20L); if(n == 0) return 0;