summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-03-22 17:49:50 -0600
committerKarl Williamson <public@khwilliamson.com>2011-03-22 17:58:55 -0600
commit0169d36e2d78b8b697b0db7c9a8a7319787152bd (patch)
treed2576f46acadce59c4bace43bafef5ab5b9369c1 /regcomp.c
parentb5833d3322a6be8f0d239cc95d13ee4b6a4b0336 (diff)
downloadperl-0169d36e2d78b8b697b0db7c9a8a7319787152bd.tar.gz
regcomp.c: Silence smoke win32 compiler warnig
Diffstat (limited to 'regcomp.c')
-rw-r--r--regcomp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regcomp.c b/regcomp.c
index 05f10beaa9..560696e823 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8849,8 +8849,8 @@ tryagain:
*d = '\0';
RExC_end = (char *) d;
}
- else {
- tmpbuf[0] = ender;
+ else { /* ender above 255 already excluded */
+ tmpbuf[0] = (U8) ender;
tmpbuf[1] = '\0';
RExC_end = RExC_parse + 1;
}