Commit ebe1c2f2 authored by Ulrich Sibiller's avatar Ulrich Sibiller Committed by Mihai Moldovan

Xi/getbmap.c: remove unnecessary cast

Was forgotten in f6a1bda2
parent 8e188629
...@@ -118,7 +118,7 @@ ProcXGetDeviceButtonMapping(register ClientPtr client) ...@@ -118,7 +118,7 @@ ProcXGetDeviceButtonMapping(register ClientPtr client)
rep.nElts = b->numButtons; rep.nElts = b->numButtons;
rep.length = (rep.nElts + (4 - 1)) / 4; rep.length = (rep.nElts + (4 - 1)) / 4;
WriteReplyToClient(client, sizeof(xGetDeviceButtonMappingReply), &rep); WriteReplyToClient(client, sizeof(xGetDeviceButtonMappingReply), &rep);
WriteToClient(client, rep.nElts, (char *)&b->map[1]); WriteToClient(client, rep.nElts, &b->map[1]);
return Success; return Success;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment