summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-02 20:24:24 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-02 20:24:24 +0000
commitffb54aba32fa96c261258b24fbf055e90954c2ce (patch)
tree88eec882a082dd10b869b452100650a893447591 /src
parent4d21e4f721077387734c8f77017e0dba8a95a14b (diff)
downloadpacman-ffb54aba32fa96c261258b24fbf055e90954c2ce.tar.xz
fixed a compilation warning
Diffstat (limited to 'src')
-rw-r--r--src/pacman/query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/query.c b/src/pacman/query.c
index 22e16b84..6f4f7c4c 100644
--- a/src/pacman/query.c
+++ b/src/pacman/query.c
@@ -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);
}
}