summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-07 20:33:23 -0500
committerDan McGee <dan@archlinux.org>2011-09-07 20:51:35 -0500
commit6317db84295430c2d2d164f81ff723b379b33035 (patch)
tree174715bb9f0674806b679131406b843245ac7aba
parent3e08614fda144393ab1ca23dcf08f2cd2f604cf9 (diff)
downloadpacman-6317db84295430c2d2d164f81ff723b379b33035.tar.xz
Remove unnecessary cast
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r--src/pacman/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/package.c b/src/pacman/package.c
index 5654944c..6a312f9a 100644
--- a/src/pacman/package.c
+++ b/src/pacman/package.c
@@ -83,7 +83,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra)
strftime(idatestr, 50, "%c", localtime(&idate));
}
- switch((long)alpm_pkg_get_reason(pkg)) {
+ switch(alpm_pkg_get_reason(pkg)) {
case ALPM_PKG_REASON_EXPLICIT:
reason = _("Explicitly installed");
break;