From 86ed781908e60dff45fd3c2eafac2c88e343dcaf Mon Sep 17 00:00:00 2001 From: okan Date: Thu, 3 Oct 2013 13:51:57 +0000 Subject: unify type; no change --- xutil.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'xutil.c') diff --git a/xutil.c b/xutil.c index b568053..ef492c3 100644 --- a/xutil.c +++ b/xutil.c @@ -15,7 +15,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: xutil.c,v 1.74 2013/07/16 14:30:48 okan Exp $ + * $OpenBSD: xutil.c,v 1.75 2013/10/03 13:52:00 okan Exp $ */ #include @@ -106,7 +106,7 @@ xu_key_grab(Window win, u_int mask, KeySym keysym) } int -xu_getprop(Window win, Atom atm, Atom type, long len, u_char **p) +xu_getprop(Window win, Atom atm, Atom type, long len, unsigned char **p) { Atom realtype; u_long n, extra; @@ -160,7 +160,7 @@ xu_get_wm_state(Window win, int *state) long *p = NULL; if (xu_getprop(win, cwmh[WM_STATE], cwmh[WM_STATE], 2L, - (u_char **)&p) <= 0) + (unsigned char **)&p) <= 0) return (-1); *state = (int)*p; @@ -331,7 +331,7 @@ xu_ewmh_get_net_wm_state(struct client_ctx *cc, int *n) Atom *state, *p = NULL; if ((*n = xu_getprop(cc->win, ewmh[_NET_WM_STATE], XA_ATOM, 64L, - (u_char **)&p)) <= 0) + (unsigned char **)&p)) <= 0) return (NULL); state = xcalloc(*n, sizeof(Atom)); -- cgit v1.2.3-2-gb3c3