diff options
author | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-07-02 21:21:12 +0000 |
---|---|---|
committer | Matthieu Herrb <matthieu@cvs.openbsd.org> | 2011-07-02 21:21:12 +0000 |
commit | 03ca6454c6f9e295aee37011c0fe60f13035f4a2 (patch) | |
tree | 030ed04dc2918de83a9f924114a9e5ce885f8c1a /lib/libXi/src/XIPassiveGrab.c | |
parent | cd1eee6d3c3faa5d024f0e10a0141cab9991cf66 (diff) |
Update to libXi 1.4.3.
This contains more doc fixes and a few more bug fixes.
Diffstat (limited to 'lib/libXi/src/XIPassiveGrab.c')
-rw-r--r-- | lib/libXi/src/XIPassiveGrab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libXi/src/XIPassiveGrab.c b/lib/libXi/src/XIPassiveGrab.c index feef74be1..34f1bf3ce 100644 --- a/lib/libXi/src/XIPassiveGrab.c +++ b/lib/libXi/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); |