We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3ef808 commit 380f147Copy full SHA for 380f147
py/modgc.c
@@ -42,7 +42,7 @@ extern uint gc_collected;
42
STATIC mp_obj_t py_gc_collect(void) {
43
gc_collect();
44
#if MICROPY_PY_GC_COLLECT_RETVAL
45
- return MP_OBJ_NEW_SMALL_INT((uint)gc_collected);
+ return MP_OBJ_NEW_SMALL_INT((machine_uint_t)gc_collected);
46
#else
47
return mp_const_none;
48
#endif
0 commit comments