[dia] Bug 736473 - pdf-import.cpp build issue on 64-bit systems



commit a0fd4785ebdef306971fe8d29ab3bb2be1695ab9
Author: Hans Breuer <hans breuer org>
Date:   Sun Sep 14 14:10:20 2014 +0200

    Bug 736473 - pdf-import.cpp build issue on 64-bit systems
    
    Not using %p because that would give a C run-time dependent prefix.

 plug-ins/pdf/pdf-import.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/pdf/pdf-import.cpp b/plug-ins/pdf/pdf-import.cpp
index fef9b24..4d1eaeb 100644
--- a/plug-ins/pdf/pdf-import.cpp
+++ b/plug-ins/pdf/pdf-import.cpp
@@ -324,8 +324,8 @@ public :
     gchar *family = g_strdup (f->getFamily() ? f->getFamily()->getCString() : "sans");
 
     // we are (not anymore) building the same font over and over again
-    g_print ("Font 0x%08x: '%s' size=%g (* %g)\n",
-            (int)f, family, state->getTransformedFontSize(), scale);
+    g_print ("Font %p: '%s' size=%g (* %g)\n",
+            GPOINTER_TO_INT (f), family, state->getTransformedFontSize(), scale);
 
     // now try to make a fontname Dia/Pango can cope with
     // strip style postfix - we already have extracted the style bits above


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]