Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 1f18e8ac2b9f5666fc7d4559e2191ae5322032d5
      
https://github.com/Perl/perl5/commit/1f18e8ac2b9f5666fc7d4559e2191ae5322032d5
  Author: TAKAI Kousuke <[email protected]>
  Date:   2026-10-06 (Tue, 06 Oct 2026)

  Changed paths:
    M regcomp_trie.c

  Log Message:
  -----------
  regcomp_trie.c: Use U32Xf etc. to print U32 values in debug logs

I think that using U32[Xxu]f is more straightforward way to print
U32 values than using UV[Xxu]f and casting its argument to UV.

This change will also silence build-time warnings in 32-bit
debugging build, such as:

    regcomp_trie.c:161:23: warning: format ‘%X’ expects argument of type 
‘unsigned int’, but argument 2 has type ‘U32’ {aka ‘long unsigned int’} 
[-Wformat=]
      161 |             re_printf(" W%4X", trie->states[ state ].wordnum );
          |                       ^~~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
          |                                                     |
          |                                                     U32 {aka long 
unsigned int}



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to