aboutsummaryrefslogtreecommitdiff
path: root/py/objstrunicode.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-02-16 16:26:48 +1100
committerDamien George <damien.p.george@gmail.com>2017-02-16 16:51:16 +1100
commitc0d9500eeefe57076f2f9a36afaa80186e9e30be (patch)
tree3b04f8045dc3a770229c4c807c0679f5c682ab0a /py/objstrunicode.c
parent68cd3a93f0728b61b0d2407f4ae802806dddce4d (diff)
py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate.
Diffstat (limited to 'py/objstrunicode.c')
-rw-r--r--py/objstrunicode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/objstrunicode.c b/py/objstrunicode.c
index 8444a2689..0091edd72 100644
--- a/py/objstrunicode.c
+++ b/py/objstrunicode.c
@@ -284,7 +284,7 @@ typedef struct _mp_obj_str_it_t {
mp_obj_base_t base;
mp_fun_1_t iternext;
mp_obj_t str;
- mp_uint_t cur;
+ size_t cur;
} mp_obj_str_it_t;
STATIC mp_obj_t str_it_iternext(mp_obj_t self_in) {