From 4a8072011895e6f472e429af7503fc07e0561144 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 21 Oct 2005 18:50:09 +0000 Subject: Bug #4730: Byte-swap the pixmap ID correctly. (Neil Campbell) --- Xext/shm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Xext') 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); -- cgit v1.2.3