summaryrefslogtreecommitdiff
path: root/py/gc.h
diff options
context:
space:
mode:
Diffstat (limited to 'py/gc.h')
-rw-r--r--py/gc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/py/gc.h b/py/gc.h
index b7c2889d5..ddbaeb40a 100644
--- a/py/gc.h
+++ b/py/gc.h
@@ -37,9 +37,9 @@
// ptr should be of type void*
#define VERIFY_PTR(ptr) ( \
- ((uintptr_t)(ptr) & (BYTES_PER_BLOCK - 1)) == 0 /* must be aligned on a block */ \
- && ptr >= (void*)MP_STATE_MEM(gc_pool_start) /* must be above start of pool */ \
- && ptr < (void*)MP_STATE_MEM(gc_pool_end) /* must be below end of pool */ \
+ ((uintptr_t)(ptr) & (BYTES_PER_BLOCK - 1)) == 0 /* must be aligned on a block */ \
+ && ptr >= (void *)MP_STATE_MEM(gc_pool_start) /* must be above start of pool */ \
+ && ptr < (void *)MP_STATE_MEM(gc_pool_end) /* must be below end of pool */ \
)
void gc_init(void *start, void *end);