py: Change all uint to mp_uint_t in obj.h.
Part of code cleanup, working towards resolving issue #50.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user