[PATCH:xf86-video-xgi 05/19] Use correct variable type.
Thomas Klausner
wiz at NetBSD.org
Thu Aug 6 05:57:03 PDT 2015
Fixes
warning: passing argument 2 of 'pci_device_cfg_read_u32' from incompatible pointer type
Signed-off-by: Thomas Klausner <wiz at NetBSD.org>
---
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
More information about the xorg-devel
mailing list