Fix debug build

This commit is contained in:
Behdad Esfahbod 2010-04-28 13:09:40 -04:00
parent c165f25410
commit a92f0fda7f
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ ASSERT_STATIC (sizeof (Type) + 1 <= sizeof (_Null##Type))
HB_STMT_START { \ HB_STMT_START { \
if (sanitize_depth < HB_DEBUG_SANITIZE) \ if (sanitize_depth < HB_DEBUG_SANITIZE) \
fprintf (stderr, "SANITIZE(%p) %-*d-> %s\n", \ fprintf (stderr, "SANITIZE(%p) %-*d-> %s\n", \
(CharP(this) == CharP(&NullPool)) ? 0 : this, \ (CharP(this) == CharP(&_NullPool)) ? 0 : this, \
sanitize_depth, sanitize_depth, \ sanitize_depth, sanitize_depth, \
__PRETTY_FUNCTION__); \ __PRETTY_FUNCTION__); \
} HB_STMT_END } HB_STMT_END
@ -170,7 +170,7 @@ _hb_sanitize_init (hb_sanitize_context_t *context,
#if HB_DEBUG_SANITIZE #if HB_DEBUG_SANITIZE
fprintf (stderr, "sanitize %p init [%p..%p] (%u bytes)\n", 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 #endif
} }

View File

@ -44,7 +44,7 @@
HB_STMT_START { \ HB_STMT_START { \
if (apply_depth < HB_DEBUG_APPLY) \ if (apply_depth < HB_DEBUG_APPLY) \
fprintf (stderr, "APPLY(%p) %-*d-> %s\n", \ fprintf (stderr, "APPLY(%p) %-*d-> %s\n", \
(CharP(this) == CharP(&NullPool)) ? 0 : this, \ (CharP(this) == CharP(&_NullPool)) ? 0 : this, \
apply_depth, apply_depth, \ apply_depth, apply_depth, \
__PRETTY_FUNCTION__); \ __PRETTY_FUNCTION__); \
} HB_STMT_END } HB_STMT_END