diff options
author | Maninder Singh <maninder1.s@samsung.com> | 2015-06-15 13:24:16 +0000 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2015-06-16 21:59:53 +0200 |
commit | e5c927664577900a9dee202c42fd792e5db562a3 (patch) | |
tree | 12576fc98396d8b48f15abc68d30f0fc8769a17c /pan | |
parent | 4ad5833caef77fb911da4f13bbd41187479228a5 (diff) |
pan/ltp-bump.c: remove unnecessary malloc type cast
Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Akhilesh Kumar <akhilesh.k@samsung.com>
Diffstat (limited to 'pan')
-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': |