modgc: 64-bit cleanness.
This commit is contained in:
parent
755a55f507
commit
a3ef8087e8
|
@ -42,7 +42,7 @@ extern uint gc_collected;
|
|||
STATIC mp_obj_t py_gc_collect(void) {
|
||||
gc_collect();
|
||||
#if MICROPY_PY_GC_COLLECT_RETVAL
|
||||
return MP_OBJ_NEW_SMALL_INT(gc_collected);
|
||||
return MP_OBJ_NEW_SMALL_INT((uint)gc_collected);
|
||||
#else
|
||||
return mp_const_none;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue