Fix compiler warnings with -pedantic
[framework/uifw/harfbuzz.git] / src / hb-object-private.hh
index 90f227c..247f493 100644 (file)
@@ -193,7 +193,7 @@ struct _hb_object_header_t {
   inline void trace (const char *function) const {
     (void) (HB_DEBUG_OBJECT &&
            fprintf (stderr, "OBJECT(%p) refcount=%d %s\n",
-                    this,
+                    (void *) this,
                     this ? ref_count.get () : 0,
                     function));
   }