summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toke.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toke.c b/toke.c
index fb834073f8..c992e8a251 100644
--- a/toke.c
+++ b/toke.c
@@ -6918,7 +6918,7 @@ S_pending_ident(pTHX)
char pit = PL_pending_ident;
const STRLEN tokenbuf_len = strlen(PL_tokenbuf);
/* All routes through this function want to know if there is a colon. */
- const char *const has_colon = memchr (PL_tokenbuf, ':', tokenbuf_len);
+ const char *const has_colon = (const char*) memchr (PL_tokenbuf, ':', tokenbuf_len);
PL_pending_ident = 0;
/* PL_realtokenstart = realtokenend = PL_bufptr - SvPVX(PL_linestr); */