summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-12-29 00:17:18 +0000
committerNicholas Clark <nick@ccl4.org>2006-12-29 00:17:18 +0000
commitcb742848c9b738246343b6914f882e40ad9b01b2 (patch)
tree32de8c66513990d7aada3d3e5664a8d4f2e6e74c /util.c
parent7e5d8ed22a9e0983529873e07602c1b147b8b5b8 (diff)
downloadperl-cb742848c9b738246343b6914f882e40ad9b01b2.tar.gz
In Perl_fbm_compile, really rarest should be U32 not I32, as it is
set from a U32, and used as an array index. p4raw-id: //depot/perl@29637
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 2eded6f012..2912092fd4 100644
--- a/util.c
+++ b/util.c
@@ -478,7 +478,7 @@ Perl_fbm_compile(pTHX_ SV *sv, U32 flags)
register const U8 *s;
register U32 i;
STRLEN len;
- I32 rarest = 0;
+ U32 rarest = 0;
U32 frequency = 256;
if (flags & FBMcf_TAIL) {