diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-30 14:59:21 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-30 14:59:21 +0100 |
commit | 4abff7500fb05430a2ce952a2430d4d0ba16047e (patch) | |
tree | b88ab89a41da9d9d71ad95157a4cf9bbaffb11e6 /py/objstrunicode.c | |
parent | 4d91723587b27c5a1da7e759e3f761a16b35d4bd (diff) |
py: Change uint to mp_uint_t in runtime.h, stackctrl.h, binary.h.
Part of code cleanup, working towards resolving issue #50.
Diffstat (limited to 'py/objstrunicode.c')
-rw-r--r-- | py/objstrunicode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c index 853e3dc39..8231eb9b1 100644 --- a/py/objstrunicode.c +++ b/py/objstrunicode.c @@ -154,7 +154,7 @@ STATIC mp_obj_t str_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, // Convert an index into a pointer to its lead byte. Out of bounds indexing will raise IndexError or // be capped to the first/last character of the string, depending on is_slice. -const byte *str_index_to_ptr(const mp_obj_type_t *type, const byte *self_data, uint self_len, +const byte *str_index_to_ptr(const mp_obj_type_t *type, const byte *self_data, mp_uint_t self_len, mp_obj_t index, bool is_slice) { mp_int_t i; // Copied from mp_get_index; I don't want bounds checking, just give me |