diff options
Diffstat (limited to 'src/SaveSet.c')
-rw-r--r-- | src/SaveSet.c | 8 |
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 (); |