Module Name: xsrc
Committed By: joerg
Date: Tue Sep 27 19:12:54 UTC 2016
Modified Files:
xsrc/external/mit/xf86-video-sunffb/dist/src: ffb_exa.c
Log Message:
CARD32 might not be an int, so cast explicitly to uint32_t and print
that correctly.
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 \
xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_exa.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-sunffb/dist/src/ffb_exa.c
diff -u xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_exa.c:1.4 xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_exa.c:1.5
--- xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_exa.c:1.4 Mon Aug 22 08:28:32 2016
+++ xsrc/external/mit/xf86-video-sunffb/dist/src/ffb_exa.c Tue Sep 27 19:12:53 2016
@@ -1,4 +1,4 @@
-/* $NetBSD: ffb_exa.c,v 1.4 2016/08/22 08:28:32 mrg Exp $ */
+/* $NetBSD: ffb_exa.c,v 1.5 2016/09/27 19:12:53 joerg Exp $ */
/*
* Copyright (c) 2015 Michael Lorenz
* All rights reserved.
@@ -300,8 +300,8 @@ FFBPrepareComposite(int op, PicturePtr p
if (pSrcPicture->pSourcePict->type == SourcePictTypeSolidFill) {
pFfb->fillcolour =
pSrcPicture->pSourcePict->solidFill.color;
- DPRINTF(X_ERROR, "%s: solid src %08x\n",
- __func__, pFfb->fillcolour);
+ DPRINTF(X_ERROR, "%s: solid src %08"PRIx32"\n",
+ __func__, (uint32_t)pFfb->fillcolour);
pFfb->no_source_pixmap = TRUE;
pFfb->source_is_solid = TRUE;
}
@@ -311,8 +311,8 @@ FFBPrepareComposite(int op, PicturePtr p
SourcePictTypeSolidFill) {
pFfb->fillcolour =
pMaskPicture->pSourcePict->solidFill.color;
- xf86Msg(X_ERROR, "%s: solid mask %08x\n",
- __func__, pFfb->fillcolour);
+ xf86Msg(X_ERROR, "%s: solid mask %08"PRIx32"\n",
+ __func__, (uint32_t)pFfb->fillcolour);
}
}
if (pMaskPicture != NULL) {