[dia] [warningectomy] format specifies type 'void *' but ...
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia] [warningectomy] format specifies type 'void *' but ...
- Date: Wed, 1 Oct 2014 22:35:18 +0000 (UTC)
commit 0ba63f2344a0a24b37d8fbb8b74fe46e24948513
Author: Hans Breuer <hans breuer org>
Date: Thu Oct 2 00:01:27 2014 +0200
[warningectomy] format specifies type 'void *' but ...
pdf-import.cpp:328:7: warning: format specifies type 'void *' but the argument has type 'gint' (aka
'int') [-Wformat]
GPOINTER_TO_INT (f), family, state->getTransformedFontSize(), scale);
^~~~~~~~~~~~~~~~~~~
^
plug-ins/pdf/pdf-import.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/pdf/pdf-import.cpp b/plug-ins/pdf/pdf-import.cpp
index 4d1eaeb..8e784d1 100644
--- a/plug-ins/pdf/pdf-import.cpp
+++ b/plug-ins/pdf/pdf-import.cpp
@@ -324,7 +324,7 @@ 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 %p: '%s' size=%g (* %g)\n",
+ g_print ("Font 0x%x: '%s' size=%g (* %g)\n",
GPOINTER_TO_INT (f), family, state->getTransformedFontSize(), scale);
// now try to make a fontname Dia/Pango can cope with
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]