Fix bug #447944: xbps build failure (gcc 4.4.1)

unsigned int and size_t do not match in size in x86_64, so use
unsigned int in functions expecting this type.

--HG--
extra : convert_revision : xtraeme%40gmail.com-20091010141337-vfoiay5nx8edl0ux
This commit is contained in:
Juan RP
2009-10-10 16:13:37 +02:00
parent c0959e503f
commit dd2baebdec
2 changed files with 3 additions and 3 deletions

View File

@ -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;