From ffb54aba32fa96c261258b24fbf055e90954c2ce Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sat, 2 Apr 2005 20:24:24 +0000 Subject: [PATCH] fixed a compilation warning --- src/pacman/query.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } }