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:
d4c800c
)
locale.c: Silence HP-UX compiler warning
author
Karl Williamson
<khw@cpan.org>
Thu, 3 Mar 2016 16:14:13 +0000
(09:14 -0700)
committer
Karl Williamson
<khw@cpan.org>
Thu, 3 Mar 2016 16:44:39 +0000
(09:44 -0700)
Cast this flag value to a bool, which is what we want anyway here.
locale.c
patch
|
blob
|
blame
|
history
diff --git
a/locale.c
b/locale.c
index
6e7f3da
..
0a2669f
100644
(file)
--- a/
locale.c
+++ b/
locale.c
@@
-122,7
+122,7
@@
Perl_set_numeric_radix(pTHX)
? SvPVX(PL_numeric_radix_sv)
: "NULL",
(PL_numeric_radix_sv)
- ?
SvUTF8(PL_numeric_radix_sv
)
+ ?
cBOOL(SvUTF8(PL_numeric_radix_sv)
)
: 0));
# endif /* HAS_LOCALECONV */