modgc: Real 64-bit cleanness.

This commit is contained in:
Paul Sokolovsky 2014-06-06 03:01:39 +03:00
parent a3ef8087e8
commit 380f147d2e
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((uint)gc_collected);
return MP_OBJ_NEW_SMALL_INT((machine_uint_t)gc_collected);
#else
return mp_const_none;
#endif