diff options
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 56e1c5e83a..f9884da903 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); } } |