mirror of
https://github.com/micropython/micropython.git
synced 2025-08-27 13:00:36 +02:00
py: Change qstr_* functions to use size_t as the type for str len arg.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user