fixed a compilation warning
This commit is contained in:
parent
4d21e4f721
commit
ffb54aba32
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue