summaryrefslogtreecommitdiff
path: root/Xi/xichangecursor.c
diff options
context:
space:
mode:
Diffstat (limited to 'Xi/xichangecursor.c')
-rw-r--r--Xi/xichangecursor.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/Xi/xichangecursor.c b/Xi/xichangecursor.c
index 215339331..48f51f3b5 100644
--- a/Xi/xichangecursor.c
+++ b/Xi/xichangecursor.c
@@ -56,13 +56,11 @@
int
SProcXIChangeCursor(ClientPtr client)
{
- char n;
-
REQUEST(xXIChangeCursorReq);
- swaps(&stuff->length, n);
- swapl(&stuff->win, n);
- swapl(&stuff->cursor, n);
- swaps(&stuff->deviceid, n);
+ swaps(&stuff->length);
+ swapl(&stuff->win);
+ swapl(&stuff->cursor);
+ swaps(&stuff->deviceid);
REQUEST_SIZE_MATCH(xXIChangeCursorReq);
return (ProcXIChangeCursor(client));
}