Build code with -Wcast-qual, -Wcast-align and -Wsign-compare.

--HG--
extra : convert_revision : d489ad995bb69850cba5a352f3ac85b74a54b5cf
This commit is contained in:
Juan RP 2009-04-11 15:52:32 +02:00
parent ae1fb7b50c
commit bd3484fa6b
9 changed files with 16 additions and 10 deletions

View file

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