Module Name: xsrc
Committed By: apb
Date: Fri Nov 9 09:28:52 UTC 2012
Modified Files:
xsrc/external/mit/xf86-video-xgi/dist/src: xgi_accel.c
Log Message:
Adjust previous: the cast should be to (unsigned long), not (long),
since the value is printed in hex and we don't want sign extension.
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 \
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.5 xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c:1.6
--- xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c:1.5 Fri Nov 9 07:00:21 2012
+++ xsrc/external/mit/xf86-video-xgi/dist/src/xgi_accel.c Fri Nov 9 09:28:52 2012
@@ -1744,7 +1744,8 @@ void XGIDumpCMDQueue(ScrnInfoPtr pScrn)
ErrorF("pXGI->cmdQueueBase=%p\n", pXGI->cmdQueueBase) ;
for( i = 0 ; i < SwWP ; i+=0x04 )
{
- ErrorF("[%04X]: %08lX\n",i, (long)*(CARD32 *)(pXGI->cmdQueueBase+i));
+ ErrorF("[%04X]: %08lX\n",i,
+ (unsigned long)*(CARD32 *)(pXGI->cmdQueueBase+i));
}
}