diff options
Diffstat (limited to 'xorg-server/Xi/setdval.c')
-rw-r--r-- | xorg-server/Xi/setdval.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/xorg-server/Xi/setdval.c b/xorg-server/Xi/setdval.c index b384f0d3c..ea17852f7 100644 --- a/xorg-server/Xi/setdval.c +++ b/xorg-server/Xi/setdval.c @@ -71,10 +71,8 @@ SOFTWARE. int SProcXSetDeviceValuators(ClientPtr client) { - char n; - REQUEST(xSetDeviceValuatorsReq); - swaps(&stuff->length, n); + swaps(&stuff->length); return (ProcXSetDeviceValuators(client)); } @@ -138,9 +136,7 @@ void SRepXSetDeviceValuators(ClientPtr client, int size, xSetDeviceValuatorsReply * rep) { - char n; - - swaps(&rep->sequenceNumber, n); - swapl(&rep->length, n); + swaps(&rep->sequenceNumber); + swapl(&rep->length); WriteToClient(client, size, (char *)rep); } |