This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e5d8ed
)
In Perl_fbm_compile, really rarest should be U32 not I32, as it is
author
Nicholas Clark
<nick@ccl4.org>
Fri, 29 Dec 2006 00:17:18 +0000
(
00:17
+0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 29 Dec 2006 00:17:18 +0000
(
00:17
+0000)
set from a U32, and used as an array index.
p4raw-id: //depot/perl@29637
util.c
patch
|
blob
|
blame
|
history
diff --git
a/util.c
b/util.c
index
2eded6f
..
2912092
100644
(file)
--- 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;
-
I
32 rarest = 0;
+
U
32 rarest = 0;
U32 frequency = 256;
if (flags & FBMcf_TAIL) {