diff options
Diffstat (limited to 'src/Cursor.c')
-rw-r--r-- | src/Cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cursor.c b/src/Cursor.c index 900efb3..2d97cdb 100644 --- a/src/Cursor.c +++ b/src/Cursor.c @@ -312,7 +312,7 @@ XFixesCreatePointerBarrier(Display *dpy, Window w, int x1, int y1, req->y1 = (INT16) y1; req->x2 = (INT16) x2; req->y2 = (INT16) y2; - req->directions = directions; + req->directions = (CARD32) directions; if ((req->num_devices = (CARD16) num_devices)) { int i; CARD16 *devs = (CARD16 *)(req + 1); |