Remove unnecessary cast

Signed-off-by: Dan McGee <dan@archlinux.org>
This commit is contained in:
Dan McGee 2011-09-07 20:33:23 -05:00
parent 3e08614fda
commit 6317db8429

View file

@ -83,7 +83,7 @@ void dump_pkg_full(alpm_pkg_t *pkg, int extra)
strftime(idatestr, 50, "%c", localtime(&idate)); strftime(idatestr, 50, "%c", localtime(&idate));
} }
switch((long)alpm_pkg_get_reason(pkg)) { switch(alpm_pkg_get_reason(pkg)) {
case ALPM_PKG_REASON_EXPLICIT: case ALPM_PKG_REASON_EXPLICIT:
reason = _("Explicitly installed"); reason = _("Explicitly installed");
break; break;