Commit a3ef8087 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

modgc: 64-bit cleanness.

parent 755a55f5
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment