Skip to content
Snippets Groups Projects
Commit 836e4697 authored by Damien George's avatar Damien George
Browse files

py: In pfenv_vprintf, adjust type from mp_uint_t to unsigned int.

parent f256cfef
Branches
No related tags found
No related merge requests found
...@@ -148,7 +148,7 @@ int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args) { ...@@ -148,7 +148,7 @@ int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args) {
break; break;
case 'p': case 'p':
case 'P': // don't bother to handle upcase for 'P' case 'P': // don't bother to handle upcase for 'P'
chrs += pfenv_print_int(pfenv, va_arg(args, mp_uint_t), 0, 16, 'a', flags, fill, width); chrs += pfenv_print_int(pfenv, va_arg(args, unsigned int), 0, 16, 'a', flags, fill, width);
break; break;
#if MICROPY_PY_BUILTINS_FLOAT #if MICROPY_PY_BUILTINS_FLOAT
case 'e': case 'e':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment