aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/chgptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/chgptr.c')
-rw-r--r--xorg-server/Xi/chgptr.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xorg-server/Xi/chgptr.c b/xorg-server/Xi/chgptr.c
index 6a4fbc342..ee04ab662 100644
--- a/xorg-server/Xi/chgptr.c
+++ b/xorg-server/Xi/chgptr.c
@@ -77,10 +77,8 @@ SOFTWARE.
int
SProcXChangePointerDevice(ClientPtr client)
{
- char n;
-
REQUEST(xChangePointerDeviceReq);
- swaps(&stuff->length, n);
+ swaps(&stuff->length);
REQUEST_SIZE_MATCH(xChangePointerDeviceReq);
return (ProcXChangePointerDevice(client));
}