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. --- unix/modtermios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'unix/modtermios.c') diff --git a/unix/modtermios.c b/unix/modtermios.c index 56e1c5e83..f9884da90 100644 --- a/unix/modtermios.c +++ b/unix/modtermios.c @@ -88,7 +88,7 @@ STATIC mp_obj_t mod_termios_tcsetattr(mp_obj_t fd_in, mp_obj_t when_in, mp_obj_t if (i == VMIN || i == VTIME) { term.c_cc[i] = mp_obj_get_int(cc->items[i]); } else { - uint len; + mp_uint_t len; term.c_cc[i] = *mp_obj_str_get_data(cc->items[i], &len); } } -- cgit v1.2.3