Skip to content

Commit 3e25f6d

Browse files
committed
locale.c: Use %z modifier instead of cast
It's better to use a %z modifier than to cast the operand.
1 parent 80ed2dc commit 3e25f6d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

locale.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4282,8 +4282,8 @@ Perl__mem_collxfrm(pTHX_ const char *input_string,
42824282
if (DEBUG_Lv_TEST || debug_initialization) {
42834283
PerlIO_printf(Perl_debug_log,
42844284
"_mem_collxfrm required more space than previously calculated"
4285-
" for locale %s, trying again with new guess=%d+%zu\n",
4286-
PL_collation_name, (int) COLLXFRM_HDR_LEN,
4285+
" for locale %s, trying again with new guess=%zu+%zu\n",
4286+
PL_collation_name, COLLXFRM_HDR_LEN,
42874287
xAlloc - COLLXFRM_HDR_LEN);
42884288
}
42894289

0 commit comments

Comments
 (0)