summaryrefslogtreecommitdiff
path: root/src/SaveSet.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-19 11:28:19 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-19 12:00:29 -0800
commit80ea445ff6865f9a04c4522c6d8b6cf940b10397 (patch)
tree9d17282f275d1d668b963a4b49968a66157f00c0 /src/SaveSet.c
parent26cd44cc3d2b5db5caa42d9203a866f12c039980 (diff)
downloadxorg-lib-libXfixes-80ea445ff6865f9a04c4522c6d8b6cf940b10397.tar.gz
Handle 60 of 60 -Wimplicit-int-conversion warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/SaveSet.c')
-rw-r--r--src/SaveSet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/SaveSet.c b/src/SaveSet.c
index 74e4924..26115d7 100644
--- a/src/SaveSet.c
+++ b/src/SaveSet.c
@@ -36,11 +36,11 @@ XFixesChangeSaveSet (Display *dpy, Window win, int mode, int target, int map)
LockDisplay (dpy);
GetReq (XFixesChangeSaveSet, req);
- req->reqType = info->codes->major_opcode;
+ req->reqType = (CARD8) info->codes->major_opcode;
req->xfixesReqType = X_XFixesChangeSaveSet;
- req->mode = mode;
- req->target = target;
- req->map = map;
+ req->mode = (BYTE) mode;
+ req->target = (BYTE) target;
+ req->map = (BYTE) map;
req->window = (CARD32) win;
UnlockDisplay (dpy);
SyncHandle ();