From 94fe6e523d42ecc342c1f6a9734ed2edf232ddbd Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 27 Nov 2015 13:07:48 +0000 Subject: py/gc: Move away from using mp_uint_t, instead use uintptr_t and size_t. The GC works with concrete pointers and so the types should reflect this. --- py/mpstate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'py/mpstate.h') diff --git a/py/mpstate.h b/py/mpstate.h index c1c1faef0..78f497e60 100644 --- a/py/mpstate.h +++ b/py/mpstate.h @@ -52,8 +52,8 @@ typedef struct _mp_state_mem_t { #if MICROPY_ENABLE_FINALISER byte *gc_finaliser_table_start; #endif - mp_uint_t *gc_pool_start; - mp_uint_t *gc_pool_end; + byte *gc_pool_start; + byte *gc_pool_end; int gc_stack_overflow; mp_uint_t gc_stack[MICROPY_ALLOC_GC_STACK_SIZE]; -- cgit v1.2.3