fix: warnings fix (after -Wall -Wextra)

This commit is contained in:
samsonium
2026-10-19 18:39:40 +03:00
parent d09468cc6b
commit 04b367e7a0
12 changed files with 66 additions and 61 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ fzl_options_t *fzl_mkoptions(int argc, char **argv)
return opts;
}
size_t i;
int i;
for (i = 1; i < argc; i++)
{
if (argv[i][0] != '-')
@@ -108,7 +108,7 @@ fzl_options_t *fzl_mkoptions(int argc, char **argv)
{
printf("%sError%s: flags should go before source files list.\n", FZL_CERROR,
FZL_CRST);
printf("Remain %zu arguments are not handled.\n", argc - 1 - i);
printf("Remain %d arguments are not handled.\n", argc - 1 - i);
free(files);
free(opts);