This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
locale.c: Silence compiler warning
authorKarl Williamson <khw@cpan.org>
Wed, 26 Oct 2016 18:20:29 +0000 (12:20 -0600)
committerKarl Williamson <khw@cpan.org>
Wed, 26 Oct 2016 18:21:01 +0000 (12:21 -0600)
from some compilers

locale.c

index 15cccd9..3f07154 100644 (file)
--- a/locale.c
+++ b/locale.c
@@ -1944,7 +1944,7 @@ S_print_collxfrm_input_and_return(pTHX_
 
     PERL_ARGS_ASSERT_PRINT_COLLXFRM_INPUT_AND_RETURN;
 
-    PerlIO_printf(Perl_debug_log, "_mem_collxfrm[%d]: returning ",
+    PerlIO_printf(Perl_debug_log, "_mem_collxfrm[%u]: returning ",
                                                             PL_collation_ix);
     if (xlen) {
         PerlIO_printf(Perl_debug_log, "%"UVuf"", (UV) *xlen);