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