commit 62ddccb77b673e8977a3d9f0dfb670217f4f1733
parent 8d5da02407e0ad96a326663984da8ad2a206eff5
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Sat, 2 Dec 2017 20:15:08 +0100
[lib/c] Fix type of parameter in numtostr()
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/c/src/vfprintf.c b/lib/c/src/vfprintf.c
@@ -77,7 +77,7 @@ getnum(va_list va, int flags, int *sign)
}
static char *
-numtostr(uintptr_t val, int flags, struct conv *conv, char *buf)
+numtostr(uintmax_t val, int flags, struct conv *conv, char *buf)
{
char *buf0 = buf;
int len, base = conv->base, prec = conv->prec;