summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2006-12-12 17:49:51 +0000
committerSteve Hay <SteveHay@planit.com>2006-12-12 17:49:51 +0000
commit2fbd95182c64b8e753ad9c73dfca52cbf4473140 (patch)
tree494761276a14c3bd1098c932e68d55b0ddbbb046 /util.c
parent60777a0ddefff116b2ee80376468ae1812a47dcc (diff)
downloadperl-2fbd95182c64b8e753ad9c73dfca52cbf4473140.tar.gz
Silence VC warnings about possible operator precedence problems
and signed/unsigned mismatches p4raw-id: //depot/perl@29532
Diffstat (limited to 'util.c')
-rw-r--r--util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util.c b/util.c
index 9718c54516..3cd98c01bf 100644
--- a/util.c
+++ b/util.c
@@ -767,7 +767,7 @@ Perl_screaminstr(pTHX_ SV *bigstr, SV *littlestr, I32 start_shift, I32 end_shift
: (((pos = *old_posp), pos += PL_screamnext[pos]) == 0)) {
cant_find:
if ( BmRARE(littlestr) == '\n'
- && BmPREVIOUS(littlestr) == SvCUR(littlestr) - 1) {
+ && BmPREVIOUS(littlestr) == (U8)SvCUR(littlestr) - 1) {
little = (const unsigned char *)(SvPVX_const(littlestr));
littleend = little + SvCUR(littlestr);
first = *little++;