aboutsummaryrefslogtreecommitdiff
path: root/src/create_pkg.c
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-06-26 01:52:35 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-06-26 01:52:35 +0000
commit13ba408ef3316958b7cf9d5c1cdd3c222b1425ad (patch)
treeb309d2beeceae33966eec9a559c4e1d2599c1220 /src/create_pkg.c
parentb41654d159192ed8b97af8ab3fa7426c9e6443b6 (diff)
fixed -Wall and -Wextra warnings
Diffstat (limited to 'src/create_pkg.c')
-rw-r--r--src/create_pkg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/create_pkg.c b/src/create_pkg.c
index b65b49c..0137dd7 100644
--- a/src/create_pkg.c
+++ b/src/create_pkg.c
@@ -70,7 +70,7 @@ Pkg create_pkg(const char *arg) {
char *verptr = strchr(new_arg, '@');
char *trgptr = strchr(new_arg, ',');
- for (int i = 0; i < cached_repos_count; i++) {
+ for (size_t i = 0; i < cached_repos_count; i++) {
if (strcmp(cached_repos[i].source_key, new_arg) != 0) continue;
pkg.ver = cached_repos[i].version;
}