diff options
Diffstat (limited to 'xorg-server/Xi/getbmap.c')
-rw-r--r-- | xorg-server/Xi/getbmap.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/xorg-server/Xi/getbmap.c b/xorg-server/Xi/getbmap.c index e2d58972a..b7054f7d2 100644 --- a/xorg-server/Xi/getbmap.c +++ b/xorg-server/Xi/getbmap.c @@ -70,10 +70,8 @@ SOFTWARE. int SProcXGetDeviceButtonMapping(ClientPtr client) { - char n; - REQUEST(xGetDeviceButtonMappingReq); - swaps(&stuff->length, n); + swaps(&stuff->length); return (ProcXGetDeviceButtonMapping(client)); } @@ -126,9 +124,7 @@ void SRepXGetDeviceButtonMapping(ClientPtr client, int size, xGetDeviceButtonMappingReply * rep) { - char n; - - swaps(&rep->sequenceNumber, n); - swapl(&rep->length, n); + swaps(&rep->sequenceNumber); + swapl(&rep->length); WriteToClient(client, size, (char *)rep); } |