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:
33e5a35
)
locale.c: Silence compiler warning
author
Karl Williamson
<khw@cpan.org>
Sun, 25 Feb 2018 18:56:44 +0000
(11:56 -0700)
committer
Karl Williamson
<khw@cpan.org>
Sun, 25 Feb 2018 19:31:01 +0000
(12:31 -0700)
The Windows compiler no longer raises a warning if we change this UV to
a plain unsigned.
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
2b1701f
..
809b6b9
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-1466,7
+1466,7
@@
S_new_ctype(pTHX_ const char *newctype)
* POSIX::setlocale() */
dVAR;
-
UV
i;
+
unsigned int
i;
/* Don't check for problems if we are suppressing the warnings */
bool check_for_problems = ckWARN_d(WARN_LOCALE) || UNLIKELY(DEBUG_L_TEST);