ref: 4bdc9b0b956344c2c4f1b9a044d386b462f50aca
parent: 410cbd3227ac3b05a11f820d23bd30c39dde6af5
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Sat Dec 2 15:15:08 EST 2017
[lib/c] Fix type of parameter in numtostr()
--- a/lib/c/src/vfprintf.c
+++ b/lib/c/src/vfprintf.c
@@ -77,7 +77,7 @@
}
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;