1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-11-15 05:45:03 -05:00

fixed a compilation warning

This commit is contained in:
Aurelien Foret 2005-04-02 20:24:24 +00:00
parent 4d21e4f721
commit ffb54aba32

View File

@ -206,7 +206,7 @@ int pacman_query(list_t *targets)
}
if(pmo_q_orphans) {
if(alpm_pkg_getinfo(info, PM_PKG_REQUIREDBY) == NULL
&& alpm_pkg_getinfo(info, PM_PKG_REASON) == PM_PKG_REASON_EXPLICIT) {
&& (int)alpm_pkg_getinfo(info, PM_PKG_REASON) == PM_PKG_REASON_EXPLICIT) {
MSG(NL, "%s %s\n", pkgname, pkgver);
}
}