summaryrefslogtreecommitdiff
path: root/Xi/setdval.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/setdval.c')
-rw-r--r--Xi/setdval.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/Xi/setdval.c b/Xi/setdval.c
index b384f0d3c..ea17852f7 100644
--- a/Xi/setdval.c
+++ b/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);
}