diff options
author | Steve Hay <SteveHay@planit.com> | 2007-10-08 08:46:36 +0000 |
---|---|---|
committer | Steve Hay <SteveHay@planit.com> | 2007-10-08 08:46:36 +0000 |
commit | 6bdeddd23b939aa3cc0ba14b253df11198918e70 (patch) | |
tree | 4b521f1cbb1d7d5e96c2aa98ce3548469d6bf2af /regcomp.c | |
parent | 646ca9b2c4b7cf8e6d2771a171c1deb0b8a7852c (diff) | |
download | perl-6bdeddd23b939aa3cc0ba14b253df11198918e70.tar.gz |
Silence compiler warnings on Win32 (VC6)
p4raw-id: //depot/perl@32064
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1172,7 +1172,7 @@ is the recommended Unicode-aware way of saying SvUTF8_on(zlopp); \ av_push(revcharmap, zlopp); \ } else { \ - char ooooff = uvc; \ + char ooooff = (char)uvc; \ av_push(revcharmap, newSVpvn(&ooooff, 1)); \ } \ } STMT_END @@ -6504,7 +6504,7 @@ S_reg_namedseq(pTHX_ RExC_state_t *pRExC_state, UV *valuep) *valuep = cp; return NULL; } - string = cp; + string = (char)cp; sv_str= newSVpvn(&string, 1); } else { /* fetch the charnames handler for this scope */ |