Module Name:    xsrc
Committed By:   apb
Date:           Fri Nov  9 07:00:22 UTC 2012

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

Log Message:
printf format fix: cast to (long) when printing with "%lX" format.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
    xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.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_accel.c
diff -u xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c:1.4 xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c:1.5
--- xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c:1.4	Fri Nov  2 07:47:19 2012
+++ xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c	Fri Nov  9 07:00:21 2012
@@ -1744,7 +1744,7 @@ void XGIDumpCMDQueue(ScrnInfoPtr pScrn)
     ErrorF("pXGI->cmdQueueBase=%p\n", pXGI->cmdQueueBase) ;
 	for( i = 0 ; i < SwWP ; i+=0x04 )
 	{
-		ErrorF("[%04X]: %08lX\n",i, *(CARD32 *)(pXGI->cmdQueueBase+i));
+		ErrorF("[%04X]: %08lX\n",i, (long)*(CARD32 *)(pXGI->cmdQueueBase+i));
 	}
 }
 

Reply via email to