diff options
Diffstat (limited to 'Xext/bigreq.c')
-rw-r--r-- | Xext/bigreq.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Xext/bigreq.c b/Xext/bigreq.c index a540bcbcb..a939e1699 100644 --- a/Xext/bigreq.c +++ b/Xext/bigreq.c @@ -47,10 +47,9 @@ ProcBigReqDispatch (ClientPtr client) { REQUEST(xBigReqEnableReq); xBigReqEnableReply rep; - int n; if (client->swapped) { - swaps(&stuff->length, n); + swaps(&stuff->length); } if (stuff->brReqType != X_BigReqEnable) return BadRequest; @@ -62,8 +61,8 @@ ProcBigReqDispatch (ClientPtr client) rep.sequenceNumber = client->sequence; rep.max_request_size = maxBigRequestSize; if (client->swapped) { - swaps(&rep.sequenceNumber, n); - swapl(&rep.max_request_size, n); + swaps(&rep.sequenceNumber); + swapl(&rep.max_request_size); } WriteToClient(client, sizeof(xBigReqEnableReply), (char *)&rep); return Success; |