From https://kamailio.sipwise.com/job/kamailiodev-nightly-binaries/architecture=amd64,distribution=bookworm/2381/consoleText

core/utils/tmrec.c: In function 'ac_print':
core/utils/tmrec.c:275:32: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  275 |         printf("\nSys time: %llu\nTime: %02d:%02d:%02d\n", (uint64_t)_atp->time,
      |                             ~~~^                           ~~~~~~~~~~~~~~~~~~~~
      |                                |                           |
      |                                long long unsigned int      long unsigned int
      |                             %lu
core/utils/tmrec.c: In function 'tr_print':
core/utils/tmrec.c:515:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  515 |         printf("Sys time: %llu\n", (uint64_t)_trp->dtstart);
      |                           ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~
      |                              |     |
      |                              |     long unsigned int
      |                              long long unsigned int
      |                           %lu
core/utils/tmrec.c:521:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  521 |         printf("End time: %llu\n", (uint64_t)_trp->dtend);
      |                           ~~~^     ~~~~~~~~~~~~~~~~~~~~~
      |                              |     |
      |                              |     long unsigned int
      |                              long long unsigned int
      |                           %lu
core/utils/tmrec.c:522:30: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  522 |         printf("Duration: %llu\n", (uint64_t)_trp->duration);
      |                           ~~~^     ~~~~~~~~~~~~~~~~~~~~~~~~
      |                              |     |
      |                              |     long unsigned int
      |                              long long unsigned int
      |                           %lu
core/utils/tmrec.c:523:27: warning: format '%llu' expects argument of type 'long long unsigned int', but argument 2 has type 'long unsigned int' [-Wformat=]
  523 |         printf("Until: %llu\n", (uint64_t)_trp->until);
      |                        ~~~^     ~~~~~~~~~~~~~~~~~~~~~
      |                           |     |
      |                           |     long unsigned int
      |                           long long unsigned int
      |                        %lu

@miconda it seems we need just %lu


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/commit/33b319353a097ba8fd80e45dc4f008c2e9dfe813/104359936@github.com>