Skip to content

Commit 034c827

Browse files
committed
Fix error in util.c causing clang++ build-time failure
As suggested by Leon Timmermans in #19515. Same problem detected in hv.c. Pull request: #19516
1 parent ca7060f commit 034c827

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ STMT_START { \
7777
XORSHIFT_RAND_BITS(PL_hash_rand_bits); \
7878
if (DEBUG_HASH_RAND_BITS) { \
7979
PerlIO_printf( Perl_debug_log, \
80-
"PL_hash_rand_bits=%016"UVxf" @ %s:%-4d", \
80+
"PL_hash_rand_bits=%016" UVxf" @ %s:%-4d", \
8181
(UV)PL_hash_rand_bits, __FILE__, __LINE__ \
8282
); \
8383
if (DEBUG_v_TEST && key) { \
84-
PerlIO_printf( Perl_debug_log, " key:'%.*s' %"UVuf"\n", \
84+
PerlIO_printf( Perl_debug_log, " key:'%.*s' %" UVuf"\n", \
8585
(int)klen, \
8686
key ? key : "", /* silence warning */ \
8787
(UV)klen \

util.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5076,7 +5076,7 @@ Perl_debug_hash_seed(pTHX_ bool via_debug_h)
50765076
: "DETERMINISTIC");
50775077
if (DEBUG_h_TEST)
50785078
PerlIO_printf(Perl_debug_log,
5079-
" RAND_BITS=0x%"UVxf, PL_hash_rand_bits);
5079+
" RAND_BITS=0x%" UVxf, PL_hash_rand_bits);
50805080
#endif
50815081
PerlIO_printf(Perl_debug_log, "\n");
50825082
}

0 commit comments

Comments
 (0)