stdio: increase number buffer size
This commit is contained in:
parent
0b3521e911
commit
c99880cd61
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ int printf(const char *restrict fmt, ...)
|
||||||
va_start(args, fmt);
|
va_start(args, fmt);
|
||||||
|
|
||||||
const char *convert = "0123456789ABCDEF";
|
const char *convert = "0123456789ABCDEF";
|
||||||
char buf[11] = { 0 };
|
char buf[16] = { 0 };
|
||||||
|
|
||||||
while ((c = *fmt++)) {
|
while ((c = *fmt++)) {
|
||||||
if (c == '%') {
|
if (c == '%') {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue