summaryrefslogtreecommitdiff
path: root/malloc.c
diff options
context:
space:
mode:
Diffstat (limited to 'malloc.c')
-rw-r--r--malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/malloc.c b/malloc.c
index 7714e5dd..65434f2d 100644
--- a/malloc.c
+++ b/malloc.c
@@ -389,7 +389,7 @@ GC_API GC_ATTR_MALLOC void * GC_CALL GC_generic_malloc_uncollectable(
if (op /* != NULL */) { /* CPPCHECK */
hdr * hhdr = HDR(op);
- GC_ASSERT(((word)op & (HBLKSIZE - 1)) == 0); /* large block */
+ GC_ASSERT(HBLKDISPL(op) == 0); /* large block */
/* We don't need the lock here, since we have an undisguised */
/* pointer. We do need to hold the lock while we adjust */
/* mark bits. */