[python] Clean type confusion

This commit is contained in:
Émilie Feral
2020-05-18 10:22:46 +02:00
committed by LeaNumworks
parent 4e1f7c1cb8
commit 7f3f67aba0

View File

@@ -123,7 +123,7 @@ void MicroPython::init(void * heapStart, void * heapEnd) {
mp_pystack_init(pystack, &pystack[MP_ARRAY_SIZE(pystack)]);
#endif
volatile uintptr_t stackTop;
volatile int stackTop;
void * stackTopAddress = (void *)(&stackTop);
/* We delimit the stack part that will be used by Python. The stackTop is the
* address of the first object that can be allocated on Python stack. This