[HB] Fix debug build
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 19 Apr 2010 06:27:56 +0000 (02:27 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 19 Apr 2010 06:35:05 +0000 (02:35 -0400)
pango/opentype/hb-open-type-private.hh
pango/opentype/hb-ot-layout-gsubgpos-private.hh

index 06324ee..77c5dfe 100644 (file)
@@ -124,7 +124,7 @@ struct Null <Type> \
        HB_STMT_START { \
            if (sanitize_depth < HB_DEBUG_SANITIZE) \
                fprintf (stderr, "SANITIZE(%p) %-*d-> %s\n", \
-                        (CONST_CHARP (this) == NullPool) ? 0 : this, \
+                        (CONST_CHARP (this) == CONST_CHARP (&NullPool)) ? 0 : this, \
                         sanitize_depth, sanitize_depth, \
                         __PRETTY_FUNCTION__); \
        } HB_STMT_END
index 0e15cf6..13e7475 100644 (file)
@@ -43,7 +43,7 @@
        HB_STMT_START { \
            if (apply_depth < HB_DEBUG_APPLY) \
                fprintf (stderr, "APPLY(%p) %-*d-> %s\n", \
-                        (CONST_CHARP (this) == NullPool) ? 0 : this, \
+                        (CONST_CHARP (this) == CONST_CHARP (&NullPool)) ? 0 : this, \
                         apply_depth, apply_depth, \
                         __PRETTY_FUNCTION__); \
        } HB_STMT_END