Module Name:    xsrc
Committed By:   apb
Date:           Fri Oct 18 16:58:50 UTC 2013

Modified Files:
        xsrc/external/mit/xf86-video-wsfb/dist/src: wsfb_driver.c

Log Message:
CARD32 might be unsigned int or unsigned long, depending on platform,
so cast to unsigned int when printing.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 \
    xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_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-wsfb/dist/src/wsfb_driver.c
diff -u xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.19 xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.20
--- xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c:1.19	Wed Jun  5 02:11:44 2013
+++ xsrc/external/mit/xf86-video-wsfb/dist/src/wsfb_driver.c	Fri Oct 18 16:58:50 2013
@@ -575,8 +575,10 @@ WsfbPreInit(ScrnInfoPtr pScrn, int flags
 			msk = msk << fPtr->fbi.fbi_subtype.fbi_rgbmasks.blue_size;
 			msk = ~msk;
 			masks.blue = msk << fPtr->fbi.fbi_subtype.fbi_rgbmasks.blue_offset; 
-			xf86Msg(X_INFO, "masks generated: %08x %08x %08x\n",
-			    masks.red, masks.green, masks.blue);
+			xf86Msg(X_INFO, "masks generated: %08lx %08lx %08lx\n",
+			    (unsigned long)masks.red,
+			    (unsigned long)masks.green,
+			    (unsigned long)masks.blue);
 		} else {
 			masks.red = 0;
 			masks.green = 0;

Reply via email to