summaryrefslogtreecommitdiff
path: root/locale.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-03-20 19:55:31 -0600
committerKarl Williamson <khw@cpan.org>2021-03-20 20:01:39 -0600
commit3e25f6d2dce9289bf3894d673f992195fb530d8e (patch)
tree595603eea8228dd15271981d5244548a681ce1cc /locale.c
parent80ed2dc7091d129c34841e58ae5189da28f14178 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/locale.c b/locale.c
index 7b20e8919f..428a40ada4 100644
--- a/locale.c
+++ b/locale.c
@@ -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);
}