aboutsummaryrefslogtreecommitdiff
path: root/xorg-server/Xi/xiallowev.c
diff options
context:
space:
mode:
Diffstat (limited to 'xorg-server/Xi/xiallowev.c')
-rw-r--r--xorg-server/Xi/xiallowev.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/xorg-server/Xi/xiallowev.c b/xorg-server/Xi/xiallowev.c
index 3077e1a44..0d45b3654 100644
--- a/xorg-server/Xi/xiallowev.c
+++ b/xorg-server/Xi/xiallowev.c
@@ -44,13 +44,11 @@
int
SProcXIAllowEvents(ClientPtr client)
{
- char n;
-
REQUEST(xXIAllowEventsReq);
- swaps(&stuff->length, n);
- swaps(&stuff->deviceid, n);
- swapl(&stuff->time, n);
+ swaps(&stuff->length);
+ swaps(&stuff->deviceid);
+ swapl(&stuff->time);
return ProcXIAllowEvents(client);
}