summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/XSelect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XSelect.c b/src/XSelect.c
index d8280e2..c0a8dc8 100644
--- a/src/XSelect.c
+++ b/src/XSelect.c
@@ -86,7 +86,7 @@ XSelectExtensionEvent (dpy, w, event_list, count)
statement */
count <<= 2;
- Data (dpy, (char *) event_list, count);
+ Data32 (dpy, (long *) event_list, count);
UnlockDisplay(dpy);
SyncHandle();