• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

作図ソフト dia の改良版


Commit MetaInfo

Révision0ba63f2344a0a24b37d8fbb8b74fe46e24948513 (tree)
l'heure2014-10-02 07:01:27
AuteurHans Breuer <hans@breu...>
CommiterHans Breuer

Message de Log

[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);


Change Summary

Modification

--- a/plug-ins/pdf/pdf-import.cpp
+++ b/plug-ins/pdf/pdf-import.cpp
@@ -324,7 +324,7 @@ public :
324324 gchar *family = g_strdup (f->getFamily() ? f->getFamily()->getCString() : "sans");
325325
326326 // we are (not anymore) building the same font over and over again
327- g_print ("Font %p: '%s' size=%g (* %g)\n",
327+ g_print ("Font 0x%x: '%s' size=%g (* %g)\n",
328328 GPOINTER_TO_INT (f), family, state->getTransformedFontSize(), scale);
329329
330330 // now try to make a fontname Dia/Pango can cope with