summaryrefslogtreecommitdiff
path: root/regex/split.c
diff options
context:
space:
mode:
Diffstat (limited to 'regex/split.c')
-rw-r--r--regex/split.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regex/split.c b/regex/split.c
index 188bdb775b9..bd2a53c01e3 100644
--- a/regex/split.c
+++ b/regex/split.c
@@ -27,7 +27,7 @@ char *sep; /* "" white, "c" single char, "ab" [ab]+ */
continue;
p--;
trimtrail = 1;
- sep = " \t"; /* note, code below knows this is 2 long */
+ sep = (char*) " \t"; /* note, code below knows this is 2 long */
sepc = ' ';
} else
trimtrail = 0;