diff options
author | Maninder Singh <maninder1.s@samsung.com> | 2015-06-15 13:23:27 +0000 |
---|---|---|
committer | Cyril Hrubis <chrubis@suse.cz> | 2015-06-16 21:59:53 +0200 |
commit | addffd62ef9406ceb03a16a199bdbf2532fdf12f (patch) | |
tree | bdbc0373e00b6443472acf874c264cfce44ded42 /pan | |
parent | 82e577fab462df7f04d9d22b33ae375b8dbf6803 (diff) |
pan/splitstr.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/splitstr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pan/splitstr.c b/pan/splitstr.c index fbcd69700..39b469856 100644 --- a/pan/splitstr.c +++ b/pan/splitstr.c @@ -88,7 +88,7 @@ const char **splitstr(const char *str, const char *separator, int *argcount) /* * set aside an initial char ** array for string array. */ - arg_array = (char **)malloc(sizeof(char *) * max_toks); + arg_array = malloc(sizeof(char *) * max_toks); if (arg_array == NULL) { if (argcount != NULL) |