From b1701adf75297747c52e0c3ed2c314cd10129907 Mon Sep 17 00:00:00 2001 From: "Anselm R. Garbe" Date: Wed, 12 Jul 2006 17:50:31 +0200 Subject: new stuff, fixed several issues --- wm.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'wm.c') diff --git a/wm.c b/wm.c index 02b9a68..ed40a8b 100644 --- a/wm.c +++ b/wm.c @@ -95,13 +95,12 @@ win_property(Window w, Atom a, Atom t, long l, unsigned char **prop) int win_proto(Window w) { - Atom *protocols; + unsigned char *protocols; long res; int protos = 0; int i; - res = win_property(w, wm_atom[WMProtocols], XA_ATOM, 20L, - ((unsigned char **) &protocols)); + res = win_property(w, wm_atom[WMProtocols], XA_ATOM, 20L, &protocols); if(res <= 0) { return protos; } -- cgit v1.2.3-54-g00ecf