Build code with -Wconversion.

--HG--
extra : convert_revision : ac2ea951cae1e739335e428e0fc4d0f90045b77d
This commit is contained in:
Juan RP 2009-04-11 16:15:06 +02:00
parent bd3484fa6b
commit 504e123044
3 changed files with 6 additions and 4 deletions

View file

@ -128,7 +128,7 @@ repoidx_addpkg(const char *file, const char *filename, const char *pkgdir)
continue;
}
propslen = archive_entry_size(entry);
propslen = (size_t)archive_entry_size(entry);
props = malloc(propslen);
if (props == NULL) {
rv = errno;