diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/XIPassiveGrab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/XIPassiveGrab.c b/src/XIPassiveGrab.c index feef74b..34f1bf3 100644 --- a/src/XIPassiveGrab.c +++ b/src/XIPassiveGrab.c @@ -67,9 +67,9 @@ _XIPassiveGrabDevice(Display* dpy, int deviceid, int grabtype, int detail, buff = calloc(4, req->mask_len); memcpy(buff, mask->mask, mask->mask_len); - Data32(dpy, buff, req->mask_len * 4); + Data(dpy, buff, req->mask_len * 4); for (i = 0; i < num_modifiers; i++) - Data32(dpy, &modifiers_inout[i].modifiers, 4); + Data(dpy, (char*)&modifiers_inout[i].modifiers, 4); free(buff); |