From d182b98a37bde34c06ae705624da03cf381eb4dc Mon Sep 17 00:00:00 2001 From: Damien George Date: Sat, 30 Aug 2014 14:19:41 +0100 Subject: py: Change all uint to mp_uint_t in obj.h. Part of code cleanup, working towards resolving issue #50. --- py/objfloat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objfloat.c') diff --git a/py/objfloat.c b/py/objfloat.c index 1c55106fd..52d484135 100644 --- a/py/objfloat.c +++ b/py/objfloat.c @@ -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)) { -- cgit v1.2.3