From ebe1c2f2262b550f4664ba8f8a7c3e7e428fdfa1 Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Thu, 15 Feb 2018 21:42:51 +0100 Subject: Xi/getbmap.c: remove unnecessary cast Was forgotten in f6a1bda2dff0c70aa13f3cb763a9b08c4c037c53 --- nx-X11/programs/Xserver/Xi/getbmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nx-X11/programs') diff --git a/nx-X11/programs/Xserver/Xi/getbmap.c b/nx-X11/programs/Xserver/Xi/getbmap.c index 7055e9f92..696685b61 100644 --- a/nx-X11/programs/Xserver/Xi/getbmap.c +++ b/nx-X11/programs/Xserver/Xi/getbmap.c @@ -118,7 +118,7 @@ ProcXGetDeviceButtonMapping(register ClientPtr client) rep.nElts = b->numButtons; rep.length = (rep.nElts + (4 - 1)) / 4; WriteReplyToClient(client, sizeof(xGetDeviceButtonMappingReply), &rep); - WriteToClient(client, rep.nElts, (char *)&b->map[1]); + WriteToClient(client, rep.nElts, &b->map[1]); return Success; } -- cgit v1.2.3