summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-12-31 12:03:01 -0700
committerKarl Williamson <khw@cpan.org>2018-01-01 12:37:50 -0700
commit9e5400ffe7b3d2414c1b3cc14ceb77e475b77f7c (patch)
treee9e40e655ec78d41493c624543385f765dfd4c16 /regexec.c
parentadf947baa54220c6fa60552055d89515464d7cf1 (diff)
downloadperl-9e5400ffe7b3d2414c1b3cc14ceb77e475b77f7c.tar.gz
regexec.c: Change declaration to U8
from char in the new script_run code. This makes it more convenient to run gdb on.
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regexec.c b/regexec.c
index 5c9d7b69ee..96d5f136af 100644
--- a/regexec.c
+++ b/regexec.c
@@ -7471,8 +7471,8 @@ S_regmatch(pTHX_ regmatch_info *reginfo, char *startpos, regnode *prog)
SCX_enum * intersection = NULL;
PERL_UINT_FAST8_T intersection_len = 0;
- const char * s = script_run_begin;
- const char * strend = locinput;
+ const U8 * s = (U8 *) script_run_begin;
+ const U8 * strend = (U8 *) locinput;
assert(s);