CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
f9d38a235f23e9dfd19e3e6f323fbfbc837add5f
[ports/efikamx-arm.git] / xorg-xf86-video-imx / xorg-xf86-video-imx_misc.patch
1 --- src.orig/imx_ext.c 2012-10-01 02:18:44.005430995 +0200
2 +++ src/imx_ext.c 2012-10-01 02:19:33.575431373 +0200
3 @@ -90,10 +90,10 @@
4 /* Check if any reply values need byte swapping */
5 if (client->swapped)
6 {
7 - swaps(&rep.sequenceNumber, n);
8 - swapl(&rep.length, n);
9 - swapl(&rep.pixmapPhysAddr, n);
10 - swapl(&rep.pixmapPitch, n);
11 + swaps(&rep.sequenceNumber);
12 + swapl(&rep.length);
13 + swapl(&rep.pixmapPhysAddr);
14 + swapl(&rep.pixmapPitch);
15 }
16
17 /* Reply to client */
18 @@ -121,10 +121,10 @@
19
20 REQUEST(xIMX_EXT_GetPixmapPhysAddrReq);
21
22 - swaps(&stuff->length, n);
23 + swaps(&stuff->length);
24 REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq);
25
26 - swapl(&stuff->pixmap, n);
27 + swapl(&stuff->pixmap);
28 return Proc_IMX_EXT_GetPixmapPhysAddr(client);
29 }
30