diff options
Diffstat (limited to 'py/mpprint.h')
-rw-r--r-- | py/mpprint.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/py/mpprint.h b/py/mpprint.h index 1770fcffe3..6e47409ecc 100644 --- a/py/mpprint.h +++ b/py/mpprint.h @@ -39,7 +39,7 @@ #define PF_FLAG_ADD_PERCENT (0x100) #define PF_FLAG_SHOW_OCTAL_LETTER (0x200) -typedef void (*mp_print_strn_t)(void *data, const char *str, mp_uint_t len); +typedef void (*mp_print_strn_t)(void *data, const char *str, size_t len); typedef struct _mp_print_t { void *data; @@ -55,7 +55,7 @@ extern const mp_print_t mp_sys_stdout_print; #endif int mp_print_str(const mp_print_t *print, const char *str); -int mp_print_strn(const mp_print_t *print, const char *str, mp_uint_t len, int flags, char fill, int width); +int mp_print_strn(const mp_print_t *print, const char *str, size_t len, int flags, char fill, int width); #if MICROPY_PY_BUILTINS_FLOAT int mp_print_float(const mp_print_t *print, mp_float_t f, char fmt, int flags, char fill, int width, int prec); #endif |