Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
836e4697
Commit
836e4697
authored
Mar 14, 2015
by
Damien George
Browse files
py: In pfenv_vprintf, adjust type from mp_uint_t to unsigned int.
parent
f256cfef
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/pfenv_printf.c
View file @
836e4697
...
...
@@ -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
in
t
),
0
,
16
,
'a'
,
flags
,
fill
,
width
);
break
;
#if MICROPY_PY_BUILTINS_FLOAT
case
'e'
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment