summaryrefslogtreecommitdiffstats
path: root/bin/pax/sel_subs.c
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pax/sel_subs.c')
-rw-r--r--bin/pax/sel_subs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/pax/sel_subs.c b/bin/pax/sel_subs.c
index e279404..87fba2f 100644
--- a/bin/pax/sel_subs.c
+++ b/bin/pax/sel_subs.c
@@ -412,7 +412,7 @@ trng_add(char *str)
*/
if (str_sec(str, &(pt->low_time)) < 0) {
paxwarn(1, "Illegal lower time range %s", str);
- free((char *)pt);
+ free(pt);
goto out;
}
pt->flgs |= HASLOW;
@@ -424,7 +424,7 @@ trng_add(char *str)
*/
if (str_sec(up_pt, &(pt->high_time)) < 0) {
paxwarn(1, "Illegal upper time range %s", up_pt);
- free((char *)pt);
+ free(pt);
goto out;
}
pt->flgs |= HASHIGH;
@@ -436,7 +436,7 @@ trng_add(char *str)
if (pt->low_time > pt->high_time) {
paxwarn(1, "Upper %s and lower %s time overlap",
up_pt, str);
- free((char *)pt);
+ free(pt);
return(-1);
}
}
OpenPOWER on IntegriCloud