summaryrefslogtreecommitdiff
path: root/di/wire.c
diff options
context:
space:
mode:
Diffstat (limited to 'di/wire.c')
-rw-r--r--di/wire.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/di/wire.c b/di/wire.c
index fdc6989..c5ef6fe 100644
--- a/di/wire.c
+++ b/di/wire.c
@@ -1116,7 +1116,7 @@ ProxyWorkProc(ClientPtr unused_client, pointer index)
XServerPtr server;
xLbxAllowMotionReq req;
- if ((server = servers[(int)index]) == 0)
+ if ((server = servers[(long)index]) == 0)
return TRUE;
if (!server->initialized)
return TRUE;