Fix debug build
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 28 Apr 2010 17:09:40 +0000 (13:09 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 28 Apr 2010 17:09:40 +0000 (13:09 -0400)
src/hb-open-type-private.hh
src/hb-ot-layout-gsubgpos-private.hh

index 258a462..f64526c 100644 (file)
@@ -133,7 +133,7 @@ ASSERT_STATIC (sizeof (Type) + 1 <= sizeof (_Null##Type))
        HB_STMT_START { \
            if (sanitize_depth < HB_DEBUG_SANITIZE) \
                fprintf (stderr, "SANITIZE(%p) %-*d-> %s\n", \
-                        (CharP(this) == CharP(&NullPool)) ? 0 : this, \
+                        (CharP(this) == CharP(&_NullPool)) ? 0 : this, \
                         sanitize_depth, sanitize_depth, \
                         __PRETTY_FUNCTION__); \
        } HB_STMT_END
@@ -170,7 +170,7 @@ _hb_sanitize_init (hb_sanitize_context_t *context,
 
 #if HB_DEBUG_SANITIZE
   fprintf (stderr, "sanitize %p init [%p..%p] (%u bytes)\n",
-          context->blob, context->start, context->end, context->end - context->start);
+          blob, context->start, context->end, context->end - context->start);
 #endif
 }
 
index 73e6283..425ec35 100644 (file)
@@ -44,7 +44,7 @@
        HB_STMT_START { \
            if (apply_depth < HB_DEBUG_APPLY) \
                fprintf (stderr, "APPLY(%p) %-*d-> %s\n", \
-                        (CharP(this) == CharP(&NullPool)) ? 0 : this, \
+                        (CharP(this) == CharP(&_NullPool)) ? 0 : this, \
                         apply_depth, apply_depth, \
                         __PRETTY_FUNCTION__); \
        } HB_STMT_END