summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-08 03:33:23 +0200
committerDan McGee <dan@archlinux.org>2011-09-08 03:51:35 +0200
commit6317db84295430c2d2d164f81ff723b379b33035 (patch)
tree174715bb9f0674806b679131406b843245ac7aba /src
parent3e08614fda144393ab1ca23dcf08f2cd2f604cf9 (diff)
downloadpacman-6317db84295430c2d2d164f81ff723b379b33035.tar.gz
pacman-6317db84295430c2d2d164f81ff723b379b33035.tar.xz
Remove unnecessary cast
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-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;