summaryrefslogtreecommitdiff
path: root/Xi/setmmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/setmmap.c')
-rw-r--r--Xi/setmmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/setmmap.c b/Xi/setmmap.c
index 36845d706..e70038ee3 100644
--- a/Xi/setmmap.c
+++ b/Xi/setmmap.c
@@ -140,5 +140,5 @@ SRepXSetDeviceModifierMapping(ClientPtr client, int size,
{
swaps(&rep->sequenceNumber);
swapl(&rep->length);
- WriteToClient(client, size, (char *) rep);
+ WriteToClient(client, size, rep);
}