From 4e7107a572b55321f3f483f0293dd19b4f752c9b Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 27 Nov 2015 12:19:25 +0000 Subject: py: Change mp_print_strn_t func type to use size_t for the str length. --- lib/utils/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/utils/printf.c') diff --git a/lib/utils/printf.c b/lib/utils/printf.c index b868d974c2..34bf3eb0fc 100644 --- a/lib/utils/printf.c +++ b/lib/utils/printf.c @@ -92,7 +92,7 @@ typedef struct _strn_print_env_t { size_t remain; } strn_print_env_t; -STATIC void strn_print_strn(void *data, const char *str, mp_uint_t len) { +STATIC void strn_print_strn(void *data, const char *str, size_t len) { strn_print_env_t *strn_print_env = data; if (len > strn_print_env->remain) { len = strn_print_env->remain; -- cgit v1.2.3