aboutsummaryrefslogtreecommitdiff
path: root/pan
diff options
context:
space:
mode:
Diffstat (limited to 'pan')
-rw-r--r--pan/splitstr.c2
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)