summaryrefslogtreecommitdiff
path: root/regexec.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2006-07-02 22:47:24 +0000
committerDave Mitchell <davem@fdisolutions.com>2006-07-02 22:47:24 +0000
commit466787eb2f756fc2ca8af7ea23633e8818806e45 (patch)
tree0a0a0e892c4bed00fb88433fefaa57c6664d0b69 /regexec.c
parent11206fddaf7ef0686e22e60221d236872f9d4063 (diff)
downloadperl-466787eb2f756fc2ca8af7ea23633e8818806e45.tar.gz
silence a compiler warning
p4raw-id: //depot/perl@28466
Diffstat (limited to 'regexec.c')
-rw-r--r--regexec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/regexec.c b/regexec.c
index 6b2270af29..9bb8317e7b 100644
--- a/regexec.c
+++ b/regexec.c
@@ -4489,7 +4489,7 @@ S_regmatch(pTHX_ const regmatch_info *reginfo, regnode *prog)
if (ST.c1 != CHRTEST_VOID)
c = do_utf8 ? utf8n_to_uvchr((U8*)PL_reginput,
UTF8_MAXBYTES, 0, uniflags)
- : UCHARAT(PL_reginput);
+ : (UV) UCHARAT(PL_reginput);
/* If it could work, try it. */
if (ST.c1 == CHRTEST_VOID || c == (UV)ST.c1 || c == (UV)ST.c2) {
CURLY_SETPAREN(ST.paren, ST.count);