hw/xwin: Fix numerous 64-bit format/type cast issues with debug printing of pointers
Numerous pieces of debug output cast a pointer to an int and then use a "%08x" printf format. Use "%p" format for 64-bit portability. Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Colin Harrison <colin.harrison@virgin.net>
This commit is contained in:
@@ -118,7 +118,7 @@ winFillSpansNativeGDI(DrawablePtr pDrawable,
|
||||
if (hbmpOrig == NULL)
|
||||
FatalError("winFillSpans - DRAWABLE_PIXMAP - "
|
||||
"SelectObject () failed on\n\tpPixmapPriv->hBitmap: "
|
||||
"%08x\n", (unsigned int) pPixmapPriv->hBitmap);
|
||||
"%p\n", pPixmapPriv->hBitmap);
|
||||
|
||||
/* Branch on the fill type */
|
||||
switch (pGC->fillStyle) {
|
||||
|
||||
Reference in New Issue
Block a user