mirror of
https://github.com/X11Libre/xf86-video-xgi.git
synced 2026-03-24 01:24:35 +00:00
Fix some serious compiler warnings.
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
This commit is contained in:
committed by
Jeremy Huddleston
parent
b9db7661e6
commit
3b24a2eef9
@@ -945,6 +945,7 @@ Volari_AccelInit(ScreenPtr pScreen)
|
||||
return TRUE;
|
||||
}
|
||||
#endif /* EXA */
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -285,7 +285,7 @@ Bool XGIDRIScreenInit(ScreenPtr pScreen)
|
||||
pDRIInfo->ddxDriverMajorVersion = PACKAGE_VERSION_MAJOR;
|
||||
pDRIInfo->ddxDriverMinorVersion = PACKAGE_VERSION_MINOR;
|
||||
pDRIInfo->ddxDriverPatchVersion = PACKAGE_VERSION_PATCHLEVEL;
|
||||
pDRIInfo->frameBufferPhysicalAddress = pXGI->FbAddress;
|
||||
pDRIInfo->frameBufferPhysicalAddress = (pointer) pXGI->FbAddress;
|
||||
pDRIInfo->frameBufferSize = pXGI->FbMapSize;
|
||||
|
||||
/* ?? */
|
||||
|
||||
@@ -3050,7 +3050,7 @@ XGIPreInit(ScrnInfoPtr pScrn, int flags)
|
||||
);
|
||||
#endif
|
||||
|
||||
pXGI->xgi_HwDevExt.pjIOAddress = (XGIIOADDRESS) (pXGI->RelIO + 0x30);
|
||||
pXGI->xgi_HwDevExt.pjIOAddress = (pointer)((XGIIOADDRESS) (pXGI->RelIO + 0x30));
|
||||
xf86DrvMsg(pScrn->scrnIndex, from, "Relocated IO registers at 0x%lX\n",
|
||||
(unsigned long) pXGI->RelIO);
|
||||
ErrorF("xgi_driver.c-pXGI->xgi_HwDevExt.pjIOAddress=0x%x...\n", pXGI->xgi_HwDevExt.pjIOAddress);
|
||||
|
||||
@@ -587,7 +587,7 @@ XGI_InitHwDevInfo(ScrnInfoPtr pScrn)
|
||||
PDEBUG(ErrorF("pXGI->FbBase = 0x%08lx\n",(ULONG)(pXGI->FbBase))) ;
|
||||
PDEBUG(ErrorF("pHwDevInfo->pjVideoMemoryAddress = 0x%08lx\n",(ULONG)(pHwDevInfo->pjVideoMemoryAddress))) ;
|
||||
pHwDevInfo->ulVideoMemorySize = pXGI->FbMapSize ;
|
||||
pHwDevInfo->pjIOAddress = pXGI->RelIO + 0x30 ;
|
||||
pHwDevInfo->pjIOAddress = (pointer)(pXGI->RelIO + 0x30);
|
||||
|
||||
switch (pXGI->Chipset) {
|
||||
case PCI_CHIP_XGIXG40:
|
||||
|
||||
Reference in New Issue
Block a user