Module Name:    xsrc
Committed By:   macallan
Date:           Fri Jul 20 01:35:41 UTC 2012

Modified Files:
        xsrc/external/mit/xf86-video-xgi/dist/src: xgi_setup.c

Log Message:
some more gcc appeasing
( now why did that fire a warning on i386 but not amd64? )


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    xsrc/external/mit/xf86-video-xgi/dist/src/xgi_setup.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-xgi/dist/src/xgi_setup.c
diff -u xsrc/external/mit/xf86-video-xgi/dist/src/xgi_setup.c:1.2 xsrc/external/mit/xf86-video-xgi/dist/src/xgi_setup.c:1.3
--- xsrc/external/mit/xf86-video-xgi/dist/src/xgi_setup.c:1.2	Thu Jul 19 19:18:20 2012
+++ xsrc/external/mit/xf86-video-xgi/dist/src/xgi_setup.c	Fri Jul 20 01:35:41 2012
@@ -679,7 +679,7 @@ bAccessVGAPCIInfo(PXGI_HW_DEVICE_INFO pH
 	err = pci_device_cfg_write_u32(pXGI->PciInfo, *pulValue,
 				       ulOffset & ~3);
     } else {
-	err = pci_device_cfg_read_u32(pXGI->PciInfo, pulValue,
+	err = pci_device_cfg_read_u32(pXGI->PciInfo, (uint32_t *)pulValue,
 				       ulOffset & ~3);
     }
 

Reply via email to