diff options
-rw-r--r-- | src/XISelEv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XISelEv.c b/src/XISelEv.c index a9c997a..3192b6b 100644 --- a/src/XISelEv.c +++ b/src/XISelEv.c @@ -83,7 +83,7 @@ XISelectEvents(Display* dpy, Window win, XIEventMask* masks, int num_masks) * and they need to be padded with 0 */ buff = calloc(1, mask.mask_len * 4); memcpy(buff, current->mask, current->mask_len); - Data32(dpy, &mask, sizeof(xXIEventMask)); + Data(dpy, (char*)&mask, sizeof(xXIEventMask)); Data(dpy, buff, mask.mask_len * 4); free(buff); } |