summaryrefslogtreecommitdiffstatshomepage
path: root/py/obj.h
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/obj.h
parentfa5a591757569136a444715cce2248b63ad73512 (diff)
downloadmicropython-da36f5232dcf02c448ee9933e358b711cfe03f30.tar.gz
micropython-da36f5232dcf02c448ee9933e358b711cfe03f30.zip
py/objint: Convert mp_uint_t to size_t where appropriate.
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/obj.h b/py/obj.h
index 1b926ce144..1169a9095e 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -607,7 +607,7 @@ static inline mp_obj_t mp_obj_new_bool(mp_int_t x) { return x ? mp_const_true :
mp_obj_t mp_obj_new_cell(mp_obj_t obj);
mp_obj_t mp_obj_new_int(mp_int_t value);
mp_obj_t mp_obj_new_int_from_uint(mp_uint_t value);
-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_obj_t mp_obj_new_int_from_ll(long long val); // this must return a multi-precision integer object (or raise an overflow exception)
mp_obj_t mp_obj_new_int_from_ull(unsigned long long val); // this must return a multi-precision integer object (or raise an overflow exception)
mp_obj_t mp_obj_new_str(const char* data, size_t len, bool make_qstr_if_not_already);