summaryrefslogtreecommitdiffstatshomepage
path: root/py/objcomplex.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-30 14:19:41 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-30 14:19:41 +0100
commitd182b98a37bde34c06ae705624da03cf381eb4dc (patch)
tree0e7599a07d2c3ad17be2a3a708759c07e638a20d /py/objcomplex.c
parent9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55 (diff)
downloadmicropython-d182b98a37bde34c06ae705624da03cf381eb4dc.tar.gz
micropython-d182b98a37bde34c06ae705624da03cf381eb4dc.zip
py: Change all uint to mp_uint_t in obj.h.
Part of code cleanup, working towards resolving issue #50.
Diffstat (limited to 'py/objcomplex.c')
-rw-r--r--py/objcomplex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objcomplex.c b/py/objcomplex.c
index 7876068c07..8e0f638c3e 100644
--- a/py/objcomplex.c
+++ b/py/objcomplex.c
@@ -84,7 +84,7 @@ STATIC mp_obj_t complex_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n
case 1:
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, true, true);
} else if (MP_OBJ_IS_TYPE(args[0], &mp_type_complex)) {