henningw left a comment (kamailio/kamailio#4250)

This seems to have introduced a new warning:

CC (gcc) [M tm.so] uac.o
In file included from ../../core/mem/shm.h:43,
from ../../core/mem/shm_mem.h:32,
from uac.c:31:
uac.c: In function ‘local_ack_rb’:
../../core/mem/../dprint.h:360:22: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 11 has type ‘long unsigned int’ [-Wformat=]
360 | fprintf(stderr, "%2d(%d) %s: %.*s%s%s%s" fmt, process_no,
| ^~~~~~~~~~~~~~~~~~~~~~~~
../../core/mem/../dprint.h:388:2: note: in expansion of macro ‘LOG_FX’
388 | LOG_FX(facility, level, lname, prefix, FUNC_NAME, fmt, ##args)
| ^~~~~~
../../core/mem/../dprint.h:394:2: note: in expansion of macro ‘LOG_FL’
394 | LOG_FL(facility, level, NULL, prefix, fmt, ##args)
| ^~~~~~
../../core/mem/../dprint.h:397:2: note: in expansion of macro ‘LOG_FP’
397 | LOG_FP(DEFAULT_FACILITY, (level), LOC_INFO, fmt, ##args)
| ^~~~~~
../../core/mem/../dprint.h:450:27: note: in expansion of macro ‘LOG’
450 | #define ERR(fmt, args...) LOG(L_ERR, fmt, ##args)
| ^~~
../../core/mem/../dprint.h:499:16: note: in expansion of macro ‘ERR’
499 | #define LM_ERR ERR
| ^~~
../../core/mem/shm.h:142:2: note: in expansion of macro ‘LM_ERR’
142 | LM_ERR("could not allocate shared memory from shm pool - " fmt, ##args)
| ^~~~~~
uac.c:909:3: note: in expansion of macro ‘SHM_MEM_ERROR_FMT’
909 | SHM_MEM_ERROR_FMT("required (%u)\n", sizeof(dlg_t));
| ^~~~~~~~~~~~~~~~~


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/pull/4250/c2959001740@github.com>