Build code with -Wconversion.
--HG-- extra : convert_revision : ac2ea951cae1e739335e428e0fc4d0f90045b77d
This commit is contained in:
parent
bd3484fa6b
commit
504e123044
3 changed files with 6 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue