diff options
Diffstat (limited to 'libc/stdio/vsnprintf.c')
-rw-r--r-- | libc/stdio/vsnprintf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/vsnprintf.c b/libc/stdio/vsnprintf.c index fbb84a0..38d5281 100644 --- a/libc/stdio/vsnprintf.c +++ b/libc/stdio/vsnprintf.c @@ -26,7 +26,7 @@ static int print_str_fill(char **buffer, size_t bufsize, char *sizec, const char *str, char c) { - int i, sizei, len; + size_t i, sizei, len; char *bstart = *buffer; sizei = strtoul(sizec, NULL, 10); @@ -46,7 +46,7 @@ static int print_str(char **buffer, size_t bufsize, const char *str) { char *bstart = *buffer; - int i; + size_t i; for (i = 0; (i < strlen(str)) && ((*buffer - bstart) < bufsize); i++) { **buffer = str[i]; |