diff options
Diffstat (limited to 'Xi/getmmap.c')
-rw-r--r-- | Xi/getmmap.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Xi/getmmap.c b/Xi/getmmap.c index bd652e9d4..4eee00679 100644 --- a/Xi/getmmap.c +++ b/Xi/getmmap.c @@ -71,10 +71,8 @@ SOFTWARE. int SProcXGetDeviceModifierMapping(ClientPtr client) { - char n; - REQUEST(xGetDeviceModifierMappingReq); - swaps(&stuff->length, n); + swaps(&stuff->length); return (ProcXGetDeviceModifierMapping(client)); } @@ -129,9 +127,7 @@ void SRepXGetDeviceModifierMapping(ClientPtr client, int size, xGetDeviceModifierMappingReply * rep) { - char n; - - swaps(&rep->sequenceNumber, n); - swapl(&rep->length, n); + swaps(&rep->sequenceNumber); + swapl(&rep->length); WriteToClient(client, size, (char *)rep); } |