X-Git-Url: https://jasonwoof.com/gitweb/?p=dwm.git;a=blobdiff_plain;f=wm.c;h=ed40a8b4ed1c1d3832c2f21aaac22fcdfad82d41;hp=02b9a68a9de652bc2c8236b540cbfb0e4789fa24;hb=b1701adf75297747c52e0c3ed2c314cd10129907;hpb=2e836ecce1ba0629a6088b739c1092d27fccd72b 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; }