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 69341d7..172a69f 100644 --- a/src/Disconnect.c +++ b/src/Disconnect.c @@ -63,7 +63,7 @@ XFixesSetClientDisconnectMode(Display *dpy, int disconnect_mode) GetReq(XFixesSetClientDisconnectMode, req); req->reqType = (CARD8) info->codes->major_opcode; req->xfixesReqType = X_XFixesSetClientDisconnectMode; - req->disconnect_mode = disconnect_mode; + req->disconnect_mode = (CARD32) disconnect_mode; UnlockDisplay(dpy); SyncHandle(); } @@ -92,7 +92,7 @@ XFixesGetClientDisconnectMode(Display *dpy) return XFixesClientDisconnectFlagDefault; } - disconnect_mode = rep.disconnect_mode; + disconnect_mode = (int) rep.disconnect_mode; UnlockDisplay(dpy); SyncHandle(); |