summaryrefslogtreecommitdiff
path: root/src/Selection.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-19 11:18:11 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-11-19 12:00:21 -0800
commit26cd44cc3d2b5db5caa42d9203a866f12c039980 (patch)
tree64a1a7d009f890c3c0d334ca0c06545277efcd0a /src/Selection.c
parent2047abb224051d578a6a320b776a7e8a969a980c (diff)
Handle 63 of 63 -Wshorten-64-to-32 warnings from clang
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/Selection.c')
-rw-r--r--src/Selection.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Selection.c b/src/Selection.c
index 7f4769c..357870b 100644
--- a/src/Selection.c
+++ b/src/Selection.c
@@ -41,9 +41,9 @@ XFixesSelectSelectionInput (Display *dpy,
GetReq (XFixesSelectSelectionInput, req);
req->reqType = info->codes->major_opcode;
req->xfixesReqType = X_XFixesSelectSelectionInput;
- req->window = win;
- req->selection = selection;
- req->eventMask = eventMask;
+ req->window = (CARD32) win;
+ req->selection = (CARD32) selection;
+ req->eventMask = (CARD32) eventMask;
UnlockDisplay (dpy);
SyncHandle ();
}