mirror of
https://github.com/moparisthebest/pacman
synced 2024-11-15 13:55:09 -05:00
fixed a compilation warning
This commit is contained in:
parent
4d21e4f721
commit
ffb54aba32
@ -206,7 +206,7 @@ int pacman_query(list_t *targets)
|
|||||||
}
|
}
|
||||||
if(pmo_q_orphans) {
|
if(pmo_q_orphans) {
|
||||||
if(alpm_pkg_getinfo(info, PM_PKG_REQUIREDBY) == NULL
|
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);
|
MSG(NL, "%s %s\n", pkgname, pkgver);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user