summaryrefslogtreecommitdiff
path: root/toke.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-18 09:45:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-10-18 09:45:47 +0000
commitc099d646ae4693eeb591d4c8cd9b629962f6b7e4 (patch)
tree4969c9b101bfab30e2b56cd3d4221c462f800212 /toke.c
parent9bde8eb087a2c05d4c8b0394a59d28a09fe5f529 (diff)
downloadperl-c099d646ae4693eeb591d4c8cd9b629962f6b7e4.tar.gz
Silence a casting warning
p4raw-id: //depot/perl@32128
Diffstat (limited to 'toke.c')
-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); */