From c0d9500eeefe57076f2f9a36afaa80186e9e30be Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 16 Feb 2017 16:26:48 +1100 Subject: py/objstr: Convert mp_uint_t to size_t (and use int) where appropriate. --- py/objstrunicode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objstrunicode.c') 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) { -- cgit v1.2.3