From 4b72b3a133ea87a1ef8b964508dc25c551ccf093 Mon Sep 17 00:00:00 2001 From: Damien George Date: Sun, 3 Jan 2016 14:21:40 +0000 Subject: py: Change type signature of builtin funs that take variable or kw args. With this patch the n_args parameter is changed type from mp_uint_t to size_t. --- py/objstringio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'py/objstringio.c') diff --git a/py/objstringio.c b/py/objstringio.c index d046cdd80..357320cd2 100644 --- a/py/objstringio.c +++ b/py/objstringio.c @@ -114,7 +114,7 @@ STATIC mp_obj_t stringio_close(mp_obj_t self_in) { } STATIC MP_DEFINE_CONST_FUN_OBJ_1(stringio_close_obj, stringio_close); -STATIC mp_obj_t stringio___exit__(mp_uint_t n_args, const mp_obj_t *args) { +STATIC mp_obj_t stringio___exit__(size_t n_args, const mp_obj_t *args) { (void)n_args; return stringio_close(args[0]); } -- cgit v1.2.3