diff options
author | Damien George <damien.p.george@gmail.com> | 2017-02-16 16:41:43 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2017-02-16 16:51:17 +1100 |
commit | da36f5232dcf02c448ee9933e358b711cfe03f30 (patch) | |
tree | 4c044d4158ffd76203b6532fc96fc56895b6398b /py/obj.h | |
parent | fa5a591757569136a444715cce2248b63ad73512 (diff) | |
download | micropython-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |