diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-19 12:05:59 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-11-19 12:05:59 -0800 |
commit | 64fc7592fd27bbee300085773247dd1737a5af1b (patch) | |
tree | c51bf9dda401872ef3027cd36ad625c27256c225 /src/Cursor.c | |
parent | 80ea445ff6865f9a04c4522c6d8b6cf940b10397 (diff) |
Handle 6 of 9 -Wsign-conversion warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
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); |