summaryrefslogtreecommitdiff
path: root/regcomp.c
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2011-02-15 10:03:34 -0700
committerKarl Williamson <public@khwilliamson.com>2011-02-15 10:39:17 -0700
commitcd64649c2953941380258cc0142dc6202adfd4aa (patch)
tree1f134e1371b41fa14617472ff0309fd8b5c5016d /regcomp.c
parent9d8a3661cb9e691c8f2dd4220407a22da2569058 (diff)
downloadperl-cd64649c2953941380258cc0142dc6202adfd4aa.tar.gz
regcomp.c: Silence win32 compiler warnings
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 41c88e7438..31a0b35536 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -8717,7 +8717,7 @@ tryagain:
RExC_end = RExC_parse + 2;
}
else {
- tmpbuf[0] = ender;
+ tmpbuf[0] = (char) ender;
RExC_end = RExC_parse + 1;
}
@@ -8742,7 +8742,7 @@ tryagain:
/* Prime the casefolded buffer. */
if (isASCII(ender)) {
ender = toLOWER(ender);
- *tmpbuf = ender;
+ *tmpbuf = (U8) ender;
foldlen = 1;
}
else if (! MORE_ASCII_RESTRICTED) {