locale.c: Silence HP-UX compiler warning
authorKarl Williamson <khw@cpan.org>
Thu, 3 Mar 2016 16:14:13 +0000 (09:14 -0700)
committerKarl 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

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 */