summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpprint.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/mpprint.c')
-rw-r--r--py/mpprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpprint.c b/py/mpprint.c
index 6b1f8b9134..54b0e47d15 100644
--- a/py/mpprint.c
+++ b/py/mpprint.c
@@ -472,7 +472,7 @@ int mp_vprintf(const mp_print_t *print, const char *fmt, va_list args) {
case 'q':
{
qstr qst = va_arg(args, qstr);
- mp_uint_t len;
+ size_t len;
const char *str = (const char*)qstr_data(qst, &len);
if (prec < 0) {
prec = len;