summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2005-10-21 18:50:09 +0000
committerAdam Jackson <ajax@nwnk.net>2005-10-21 18:50:09 +0000
commit4a8072011895e6f472e429af7503fc07e0561144 (patch)
tree22613a8418ef48318aca180a08a3ba3ce9205063 /Xext
parent81e913d3106066de73792f59f3e50e2b5458c567 (diff)
Bug #4730: Byte-swap the pixmap ID correctly. (Neil Campbell)
Diffstat (limited to 'Xext')
-rw-r--r--Xext/shm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Xext/shm.c b/Xext/shm.c
index b30a36849..806008c60 100644
--- a/Xext/shm.c
+++ b/Xext/shm.c
@@ -1233,6 +1233,7 @@ SProcShmCreatePixmap(client)
REQUEST(xShmCreatePixmapReq);
swaps(&stuff->length, n);
REQUEST_SIZE_MATCH(xShmCreatePixmapReq);
+ swapl(&stuff->pid, n);
swapl(&stuff->drawable, n);
swaps(&stuff->width, n);
swaps(&stuff->height, n);