summaryrefslogtreecommitdiff
path: root/src/Selection.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/Selection.c')
-rw-r--r--src/Selection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Selection.c b/src/Selection.c
index 357870b..996460c 100644
--- a/src/Selection.c
+++ b/src/Selection.c
@@ -39,7 +39,7 @@ XFixesSelectSelectionInput (Display *dpy,
LockDisplay (dpy);
GetReq (XFixesSelectSelectionInput, req);
- req->reqType = info->codes->major_opcode;
+ req->reqType = (CARD8) info->codes->major_opcode;
req->xfixesReqType = X_XFixesSelectSelectionInput;
req->window = (CARD32) win;
req->selection = (CARD32) selection;