diff --git a/lib/plist.c b/lib/plist.c index ff5b4b3c..9f2127b2 100644 --- a/lib/plist.c +++ b/lib/plist.c @@ -323,7 +323,7 @@ xbps_remove_string_from_array(prop_array_t array, const char *str) { prop_object_t obj; prop_object_iterator_t iter; - size_t idx = 0; + unsigned int idx = 0; bool found = false; assert(array != NULL); @@ -359,7 +359,7 @@ xbps_remove_pkg_from_dict(prop_dictionary_t dict, const char *key, prop_object_t obj; prop_object_iterator_t iter; const char *curpkgname; - size_t i = 0; + unsigned int i = 0; bool found = false; assert(dict != NULL); diff --git a/lib/requiredby.c b/lib/requiredby.c index 6e9acc3c..c674e38e 100644 --- a/lib/requiredby.c +++ b/lib/requiredby.c @@ -85,7 +85,7 @@ remove_pkg_from_reqby(prop_object_t obj, void *arg, bool *loop_done) prop_object_iterator_t iter; const char *pkgname = arg; char *curpkgname; - size_t idx = 0; + unsigned int idx = 0; bool found = false; (void)loop_done;