diff options
author | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 09:36:29 +0300 |
---|---|---|
committer | Panu Matilainen <pmatilai@redhat.com> | 2010-10-22 09:36:29 +0300 |
commit | bcdb82d60e5e16993d1737ccbd41e64cf7dbc405 (patch) | |
tree | 60b0d148ee2c14fbe0a49937124884cb662f2aa3 | |
parent | 22eb568fdbc5c28bff00b1ea063493a508c079c0 (diff) | |
download | librpm-tizen-bcdb82d60e5e16993d1737ccbd41e64cf7dbc405.tar.gz librpm-tizen-bcdb82d60e5e16993d1737ccbd41e64cf7dbc405.tar.bz2 librpm-tizen-bcdb82d60e5e16993d1737ccbd41e64cf7dbc405.zip |
Eliminate silly cast
-rw-r--r-- | lib/rpmscript.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rpmscript.c b/lib/rpmscript.c index d90cdb773..0d79e85f2 100644 --- a/lib/rpmscript.c +++ b/lib/rpmscript.c @@ -328,7 +328,7 @@ static rpmTag getFlagTag(rpmTag scriptTag) static const char * tag2sln(rpmTag tag) { - switch ((rpm_tag_t) tag) { + switch (tag) { case RPMTAG_PRETRANS: return "%pretrans"; case RPMTAG_TRIGGERPREIN: return "%triggerprein"; case RPMTAG_PREIN: return "%pre"; |