aboutsummaryrefslogtreecommitdiff
path: root/py/objint.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-16 16:41:43 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-16 16:51:17 +1100
commitda36f5232dcf02c448ee9933e358b711cfe03f30 (patch)
tree4c044d4158ffd76203b6532fc96fc56895b6398b /py/objint.c
parentfa5a591757569136a444715cce2248b63ad73512 (diff)
py/objint: Convert mp_uint_t to size_t where appropriate.
Diffstat (limited to 'py/objint.c')
-rw-r--r--py/objint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objint.c b/py/objint.c
index 222aa1de7..2a7e3f3fd 100644
--- a/py/objint.c
+++ b/py/objint.c
@@ -291,7 +291,7 @@ mp_obj_t mp_obj_int_binary_op(mp_uint_t op, mp_obj_t lhs_in, mp_obj_t rhs_in) {
}
// This is called only with strings whose value doesn't fit in SMALL_INT
-mp_obj_t mp_obj_new_int_from_str_len(const char **str, mp_uint_t len, bool neg, mp_uint_t base) {
+mp_obj_t mp_obj_new_int_from_str_len(const char **str, size_t len, bool neg, unsigned int base) {
mp_raise_msg(&mp_type_OverflowError, "long int not supported in this build");
return mp_const_none;
}