summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorSteve Hay <SteveHay@planit.com>2007-01-05 09:45:08 +0000
committerSteve Hay <SteveHay@planit.com>2007-01-05 09:45:08 +0000
commit85c508c327bae6947de518a0ae05de3f08986372 (patch)
tree1ec76315d5ad02feade8d6efe6b06b5f8877c09f /util.c
parenta951d81d1408c83245c2beba7e057583534f618e (diff)
downloadperl-85c508c327bae6947de518a0ae05de3f08986372.tar.gz
Silence various VC6 warnings
p4raw-id: //depot/perl@29692
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 360ec28ff4..69595228e5 100644
--- a/util.c
+++ b/util.c
@@ -769,7 +769,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) == (U8)SvCUR(littlestr) - 1) {
+ && BmPREVIOUS(littlestr) == SvCUR(littlestr) - 1) {
little = (const unsigned char *)(SvPVX_const(littlestr));
littleend = little + SvCUR(littlestr);
first = *little++;