diff options
-rw-r--r-- | pan/ltp-bump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pan/ltp-bump.c b/pan/ltp-bump.c index 5966c2e84..b6d676f42 100644 --- a/pan/ltp-bump.c +++ b/pan/ltp-bump.c @@ -53,7 +53,7 @@ int main(int argc, char **argv) while ((c = getopt(argc, argv, "a:s:12")) != -1) { switch (c) { case 'a': - active = (char *)malloc(strlen(optarg) + 1); + active = malloc(strlen(optarg) + 1); strcpy(active, optarg); break; case 's': |