diff options
author | Damien George <damien.p.george@gmail.com> | 2015-11-27 12:23:18 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-29 14:25:04 +0000 |
commit | c3f64d9799cdf8af88087eebe6628e83d658405c (patch) | |
tree | 66be85a413d652243c384e43e84a417e40284ff6 /py/objstr.c | |
parent | 4e7107a572b55321f3f483f0293dd19b4f752c9b (diff) |
py: Change qstr_* functions to use size_t as the type for str len arg.
Diffstat (limited to 'py/objstr.c')
-rw-r--r-- | py/objstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstr.c b/py/objstr.c index 94a63c231..d1c56b022 100644 --- a/py/objstr.c +++ b/py/objstr.c @@ -2039,7 +2039,7 @@ const char *mp_obj_str_get_data(mp_obj_t self_in, mp_uint_t *len) { } #if MICROPY_OBJ_REPR == MICROPY_OBJ_REPR_C -const byte *mp_obj_str_get_data_no_check(mp_obj_t self_in, mp_uint_t *len) { +const byte *mp_obj_str_get_data_no_check(mp_obj_t self_in, size_t *len) { if (MP_OBJ_IS_QSTR(self_in)) { return qstr_data(MP_OBJ_QSTR_VALUE(self_in), len); } else { |