diff options
author | Karl Williamson <khw@cpan.org> | 2021-03-20 19:55:31 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2021-03-20 20:01:39 -0600 |
commit | 3e25f6d2dce9289bf3894d673f992195fb530d8e (patch) | |
tree | 595603eea8228dd15271981d5244548a681ce1cc /locale.c | |
parent | 80ed2dc7091d129c34841e58ae5189da28f14178 (diff) | |
download | perl-3e25f6d2dce9289bf3894d673f992195fb530d8e.tar.gz |
locale.c: Use %z modifier instead of cast
It's better to use a %z modifier than to cast the operand.
Diffstat (limited to 'locale.c')
-rw-r--r-- | locale.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4282,8 +4282,8 @@ Perl__mem_collxfrm(pTHX_ const char *input_string, if (DEBUG_Lv_TEST || debug_initialization) { PerlIO_printf(Perl_debug_log, "_mem_collxfrm required more space than previously calculated" - " for locale %s, trying again with new guess=%d+%zu\n", - PL_collation_name, (int) COLLXFRM_HDR_LEN, + " for locale %s, trying again with new guess=%zu+%zu\n", + PL_collation_name, COLLXFRM_HDR_LEN, xAlloc - COLLXFRM_HDR_LEN); } |