summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-19 02:27:56 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-19 02:35:05 -0400
commit52ab3d508ad900cc435aa6529cd4a333db43af78 (patch)
tree882658e665e9e4ca7dd3339b0ee9b93a9665c83d
parent1a36b77ee5030c099eff8a6ac7f0081a4a46d69d (diff)
downloadpango-52ab3d508ad900cc435aa6529cd4a333db43af78.tar.gz
[HB] Fix debug build
-rw-r--r--pango/opentype/hb-open-type-private.hh2
-rw-r--r--pango/opentype/hb-ot-layout-gsubgpos-private.hh2
2 files changed, 2 insertions, 2 deletions
diff --git a/pango/opentype/hb-open-type-private.hh b/pango/opentype/hb-open-type-private.hh
index 06324ee3..77c5dfe4 100644
--- a/pango/opentype/hb-open-type-private.hh
+++ b/pango/opentype/hb-open-type-private.hh
@@ -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
diff --git a/pango/opentype/hb-ot-layout-gsubgpos-private.hh b/pango/opentype/hb-ot-layout-gsubgpos-private.hh
index 0e15cf60..13e74759 100644
--- a/pango/opentype/hb-ot-layout-gsubgpos-private.hh
+++ b/pango/opentype/hb-ot-layout-gsubgpos-private.hh
@@ -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