py: Change qstr_* functions to use size_t as the type for str len arg.

This commit is contained in:
Damien George
2015-11-27 12:23:18 +00:00
parent 4e7107a572
commit c3f64d9799
9 changed files with 25 additions and 25 deletions

View File

@@ -492,7 +492,7 @@ STATIC void mp_print_uint(mp_print_t *print, mp_uint_t n) {
}
STATIC void save_qstr(mp_print_t *print, qstr qst) {
mp_uint_t len;
size_t len;
const byte *str = qstr_data(qst, &len);
mp_print_uint(print, len);
mp_print_bytes(print, str, len);