py: Change all uint to mp_uint_t in obj.h.

Part of code cleanup, working towards resolving issue #50.
This commit is contained in:
Damien George
2014-08-30 14:19:41 +01:00
parent 9c4cbe2ac0
commit d182b98a37
17 changed files with 71 additions and 96 deletions

View File

@@ -77,7 +77,7 @@ STATIC mp_obj_t float_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_k
default:
if (MP_OBJ_IS_STR(args[0])) {
// a string, parse it
uint l;
mp_uint_t l;
const char *s = mp_obj_str_get_data(args[0], &l);
return mp_parse_num_decimal(s, l, false, false);
} else if (MP_OBJ_IS_TYPE(args[0], &mp_type_float)) {