Build code with -Wcast-qual, -Wcast-align and -Wsign-compare.
--HG-- extra : convert_revision : d489ad995bb69850cba5a352f3ac85b74a54b5cf
This commit is contained in:
parent
ae1fb7b50c
commit
bd3484fa6b
9 changed files with 16 additions and 10 deletions
|
@ -140,7 +140,7 @@ xbps_requiredby_pkg_remove(const char *pkgname)
|
|||
}
|
||||
|
||||
rv = xbps_callback_array_iter_in_dict(dict, "packages",
|
||||
remove_pkg_from_reqby, (void *)pkgname);
|
||||
remove_pkg_from_reqby, __UNCONST(pkgname));
|
||||
if (rv == 0) {
|
||||
if (!prop_dictionary_externalize_to_file(dict, plist))
|
||||
rv = errno;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue