diff options
author | Dan McGee <dan@archlinux.org> | 2011-09-07 20:33:23 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-09-07 20:51:35 -0500 |
commit | 6317db84295430c2d2d164f81ff723b379b33035 (patch) | |
tree | 174715bb9f0674806b679131406b843245ac7aba | |
parent | 3e08614fda144393ab1ca23dcf08f2cd2f604cf9 (diff) | |
download | pacman-6317db84295430c2d2d164f81ff723b379b33035.tar.xz |
Remove unnecessary cast
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | src/pacman/package.c | 2 |
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; |