From 7f3f67aba0778e9b28ffe9300aaee970b15e8ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89milie=20Feral?= Date: Mon, 18 May 2020 10:22:46 +0200 Subject: [PATCH] [python] Clean type confusion --- python/port/port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/port/port.cpp b/python/port/port.cpp index 198110fb0..bac7595ca 100644 --- a/python/port/port.cpp +++ b/python/port/port.cpp @@ -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