libc/vfprintf: Adjust variable types - scc - simple c99 compiler
(HTM) git clone git://git.simple-cc.org/scc
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 6182ec6e314de95182742064f5bb2d80abf11c8c
(DIR) parent 9c55c9b38fb53863c83f8d59ea6241682b2ea463
(HTM) Author: Roberto E. Vargas Caballero <k0ga@shike2.net>
Date: Sat, 24 May 2025 06:54:25 +0200
libc/vfprintf: Adjust variable types
Diffstat:
M src/libc/stdio/vfprintf.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
---
(DIR) 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;