diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-30 14:19:41 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-30 14:19:41 +0100 |
commit | d182b98a37bde34c06ae705624da03cf381eb4dc (patch) | |
tree | 0e7599a07d2c3ad17be2a3a708759c07e638a20d /unix/modtermios.c | |
parent | 9c4cbe2ac0ae4c51270f21ba9c974dd24f6b9d55 (diff) |
py: Change all uint to mp_uint_t in obj.h.
Part of code cleanup, working towards resolving issue #50.
Diffstat (limited to 'unix/modtermios.c')
-rw-r--r-- | unix/modtermios.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } } |