From a89bc5808770783d20d03289dda1f157ed4e2662 Mon Sep 17 00:00:00 2001 From: Peter Weilbacher Date: Mon, 24 Nov 2008 20:18:15 +0100 Subject: [PATCH] [OS/2] Bug 465691: fix debug output to compile again (CLOSED TREE) --- gfx/thebes/src/gfxOS2Fonts.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gfx/thebes/src/gfxOS2Fonts.cpp b/gfx/thebes/src/gfxOS2Fonts.cpp index 54a5a9a4122d..c1547e2cffe3 100644 --- a/gfx/thebes/src/gfxOS2Fonts.cpp +++ b/gfx/thebes/src/gfxOS2Fonts.cpp @@ -61,8 +61,9 @@ gfxOS2Font::gfxOS2Font(gfxOS2FontEntry *aFontEntry, const gfxFontStyle *aFontSty mHinting(FC_HINT_MEDIUM), mAntialias(FcTrue) { #ifdef DEBUG_thebes_2 - printf("gfxOS2Font[%#x]::gfxOS2Font(\"%s\", aFontStyle)\n", - (unsigned)this, NS_LossyConvertUTF16toASCII(aName).get()); + printf("gfxOS2Font[%p]::gfxOS2Font(%p \"%s\", aFontStyle)\n", + (void *)this, (void *)aFontEntry, + NS_LossyConvertUTF16toASCII(aFontEntry->Name()).get()); #endif // try to get the preferences for hinting, antialias, and embolden options nsCOMPtr prefbranch = do_GetService(NS_PREFSERVICE_CONTRACTID);