diff options
author | Damien George <damien.p.george@gmail.com> | 2015-11-27 12:23:18 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-11-29 14:25:04 +0000 |
commit | c3f64d9799cdf8af88087eebe6628e83d658405c (patch) | |
tree | 66be85a413d652243c384e43e84a417e40284ff6 /py/mpprint.c | |
parent | 4e7107a572b55321f3f483f0293dd19b4f752c9b (diff) |
py: Change qstr_* functions to use size_t as the type for str len arg.
Diffstat (limited to 'py/mpprint.c')
-rw-r--r-- | py/mpprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mpprint.c b/py/mpprint.c index 6b1f8b913..54b0e47d1 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; |