summaryrefslogtreecommitdiffstatshomepage
path: root/lib/utils/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/utils/printf.c')
-rw-r--r--lib/utils/printf.c2
1 files changed, 1 insertions, 1 deletions
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;