We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 755a55f commit a3ef808Copy full SHA for a3ef808
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(gc_collected);
+ return MP_OBJ_NEW_SMALL_INT((uint)gc_collected);
46
#else
47
return mp_const_none;
48
#endif
0 commit comments