aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/Xi/getmmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/programs/Xserver/Xi/getmmap.c')
-rw-r--r--nx-X11/programs/Xserver/Xi/getmmap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/Xi/getmmap.c b/nx-X11/programs/Xserver/Xi/getmmap.c
index 773a65614..375f6f2e3 100644
--- a/nx-X11/programs/Xserver/Xi/getmmap.c
+++ b/nx-X11/programs/Xserver/Xi/getmmap.c
@@ -131,7 +131,7 @@ ProcXGetDeviceModifierMapping(client)
WriteReplyToClient(client, sizeof(xGetDeviceModifierMappingReply), &rep);
/* Reply with the (modified by DDX) map that SetModifierMapping passed in */
- WriteToClient(client, 8*maxkeys, (char *)kp->modifierKeyMap);
+ WriteToClient(client, 8*maxkeys, kp->modifierKeyMap);
return Success;
}
@@ -150,5 +150,5 @@ SRepXGetDeviceModifierMapping (client, size, rep)
{
swaps(&rep->sequenceNumber);
swapl(&rep->length);
- WriteToClient(client, size, (char *)rep);
+ WriteToClient(client, size, rep);
}