commit 6182ec6e314de95182742064f5bb2d80abf11c8c
parent 9c55c9b38fb53863c83f8d59ea6241682b2ea463
Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Sat, 24 May 2025 06:54:25 +0200
libc/vfprintf: Adjust variable types
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/libc/stdio/vfprintf.c b/src/libc/stdio/vfprintf.c
@@ -203,8 +203,9 @@ strout(char *s, size_t len, int width, int fill, FILE *restrict fp)
int
vfprintf(FILE *restrict fp, const char *restrict fmt, va_list va)
{
- int ch, n, flags, width, left, fill, prec;
- size_t inc, len, cnt;
+ int cnt, ch, n;
+ int flags, width, left, fill, prec;
+ size_t inc, len;
char *s;
wchar_t *ws;
struct conv conv;