diff options
Diffstat (limited to 'xutil.c')
-rw-r--r-- | xutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xutil.c b/xutil.c index c2c7834..5689e8b 100644 --- a/xutil.c +++ b/xutil.c @@ -311,7 +311,7 @@ xu_ewmh_get_net_wm_state(struct client_ctx *cc, int *n) return (NULL); state = xcalloc(*n, sizeof(Atom)); - memcpy(state, p, *n * sizeof(Atom)); + (void)memcpy(state, p, *n * sizeof(Atom)); XFree((char *)p); return (state); |