From 836e46976f27a6a0fbbbf0a28e50c27d4b3fc725 Mon Sep 17 00:00:00 2001
From: Damien George <damien.p.george@gmail.com>
Date: Sat, 14 Mar 2015 23:09:57 +0000
Subject: [PATCH] py: In pfenv_vprintf, adjust type from mp_uint_t to unsigned
 int.

---
 py/pfenv_printf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/py/pfenv_printf.c b/py/pfenv_printf.c
index d4c5fc9df..599700edc 100644
--- a/py/pfenv_printf.c
+++ b/py/pfenv_printf.c
@@ -148,7 +148,7 @@ int pfenv_vprintf(const pfenv_t *pfenv, const char *fmt, va_list args) {
                 break;
             case '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;
 #if MICROPY_PY_BUILTINS_FLOAT
             case 'e':
-- 
GitLab