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:
880c169
)
regcomp.c: Silence Win32 compiler warning
author
Karl Williamson
<khw@cpan.org>
Wed, 27 Aug 2014 23:21:59 +0000
(17:21 -0600)
committer
Karl Williamson
<khw@cpan.org>
Thu, 28 Aug 2014 02:49:37 +0000
(20:49 -0600)
This raised a signed/unsigned warning that is essentially spurious.
regcomp.c
patch
|
blob
|
blame
|
history
diff --git
a/regcomp.c
b/regcomp.c
index
db7b0da
..
2e9f89c
100644
(file)
--- a/
regcomp.c
+++ b/
regcomp.c
@@
-16716,7
+16716,7
@@
S_put_range(pTHX_ SV *sv, UV start, const UV end, const bool allow_literals)
* 'start' to 'end'. It assumes that only ASCII printables are displayable
* as-is (though some of these will be escaped by put_byte()). */
- const int min_range_count = 3;
+ const
unsigned
int min_range_count = 3;
assert(start <= end);