summaryrefslogtreecommitdiff
path: root/Xi/xiqueryversion.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xiqueryversion.c')
-rw-r--r--Xi/xiqueryversion.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/xiqueryversion.c b/Xi/xiqueryversion.c
index 6081c413d..0d4962f10 100644
--- a/Xi/xiqueryversion.c
+++ b/Xi/xiqueryversion.c
@@ -126,5 +126,5 @@ SRepXIQueryVersion(ClientPtr client, int size, xXIQueryVersionReply * rep)
swapl(&rep->length);
swaps(&rep->major_version);
swaps(&rep->minor_version);
- WriteToClient(client, size, (char *) rep);
+ WriteToClient(client, size, rep);
}