Module Name:    xsrc
Committed By:   mrg
Date:           Fri Jul  5 06:01:37 UTC 2024

Modified Files:
        xsrc/external/mit/xf86-video-nv/dist/src: nv_driver.c

Log Message:
apply some ugly (char *) cast when calling vgaHWSetMmioFuncs().


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 \
    xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c
diff -u xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1.15 xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1.16
--- xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c:1.15	Thu Jul  4 06:47:13 2024
+++ xsrc/external/mit/xf86-video-nv/dist/src/nv_driver.c	Fri Jul  5 06:01:37 2024
@@ -1554,7 +1554,7 @@ NVPreInit(ScrnInfoPtr pScrn, int flags)
 	return FALSE;
     }
 #ifdef __powerpc__ /* XXX probably MI */
-    vgaHWSetMmioFuncs(VGAHWPTR(pScrn), pNv->IOAddress, 0);
+    vgaHWSetMmioFuncs(VGAHWPTR(pScrn), (char *)pNv->IOAddress, 0);
 #else
     vgaHWSetStdFuncs(VGAHWPTR(pScrn));
 #endif

Reply via email to