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; ...@@ -42,7 +42,7 @@ extern uint gc_collected;
STATIC mp_obj_t py_gc_collect(void) { STATIC mp_obj_t py_gc_collect(void) {
gc_collect(); gc_collect();
#if MICROPY_PY_GC_COLLECT_RETVAL #if MICROPY_PY_GC_COLLECT_RETVAL
return MP_OBJ_NEW_SMALL_INT(gc_collected); return MP_OBJ_NEW_SMALL_INT((uint)gc_collected);
#else #else
return mp_const_none; return mp_const_none;
#endif #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