diff options
Diffstat (limited to 'src/Disconnect.c')
-rw-r--r-- | src/Disconnect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Disconnect.c b/src/Disconnect.c index 047cd69..69341d7 100644 --- a/src/Disconnect.c +++ b/src/Disconnect.c @@ -61,7 +61,7 @@ XFixesSetClientDisconnectMode(Display *dpy, int disconnect_mode) LockDisplay(dpy); GetReq(XFixesSetClientDisconnectMode, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSetClientDisconnectMode; req->disconnect_mode = disconnect_mode; UnlockDisplay(dpy); @@ -82,7 +82,7 @@ XFixesGetClientDisconnectMode(Display *dpy) LockDisplay(dpy); GetReq(XFixesGetClientDisconnectMode, req); - req->reqType = info->codes->major_opcode; + req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesGetClientDisconnectMode; if (!_XReply(dpy, (xReply *) &rep, 0, xFalse)) |