modgc: 64-bit cleanness.

This commit is contained in:
Paul Sokolovsky 2014-06-06 02:34:17 +03:00
parent 755a55f507
commit a3ef8087e8
1 changed files with 1 additions and 1 deletions

View File

@ -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