Fixes warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type
Signed-off-by: Thomas Klausner <[email protected]> --- src/xgi_setup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xgi_setup.c b/src/xgi_setup.c index 2817966..310ea83 100755 --- a/src/xgi_setup.c +++ b/src/xgi_setup.c @@ -65,7 +65,7 @@ extern int FbDevExist; static Bool bAccessVGAPCIInfo(PXGI_HW_DEVICE_INFO pHwDevInfo, ULONG ulOffset, - ULONG ulSet, ULONG *pulValue); + ULONG ulSet, CARD32 *pulValue); static Bool bAccessNBridgePCIInfo(PXGI_HW_DEVICE_INFO pHwDevInfo, ULONG ulOffset, ULONG ulSet, ULONG *pulValue); static Bool XGI_IsXG21(ScrnInfoPtr pScrn); @@ -659,7 +659,7 @@ XGI_InitHwDevInfo(ScrnInfoPtr pScrn) } Bool -bAccessVGAPCIInfo(PXGI_HW_DEVICE_INFO pHwDevInfo, ULONG ulOffset, ULONG ulSet, ULONG *pulValue) +bAccessVGAPCIInfo(PXGI_HW_DEVICE_INFO pHwDevInfo, ULONG ulOffset, ULONG ulSet, CARD32 *pulValue) { XGIPtr pXGI ; #ifdef XSERVER_LIBPCIACCESS -- 2.5.0 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
