CC (gcc) [M ping_endpoint.so]		t_cancel.o
CC (gcc) [M ping_endpoint.so]		t_fifo.o
In file included from ../../core/ut.h:42,
                 from t_fifo.c:38:
t_fifo.c: In function 'append2buf':
../../core/dprint.h:321:73: warning: format '%i' expects argument of type 'int', but argument 11 has type 'long int' [-Wformat=]
  321 |                                                         fprintf(stderr, "%2d(%d) %s: %.*s%s%s%s" fmt, \
      |                                                                         ^~~~~~~~~~~~~~~~~~~~~~~~
../../core/dprint.h:345:25: note: in expansion of macro 'LOG_FX'
  345 |                         LOG_FX(facility, level, lname, prefix, _FUNC_NAME_, fmt, ## args)
      |                         ^~~~~~
../../core/dprint.h:351:25: note: in expansion of macro 'LOG_FL'
  351 |                         LOG_FL(facility, level, NULL, prefix, fmt, ## args)
      |                         ^~~~~~
../../core/dprint.h:354:25: note: in expansion of macro 'LOG_FP'
  354 |                         LOG_FP(DEFAULT_FACILITY, (level), LOC_INFO, fmt, ## args)
      |                         ^~~~~~
../../core/dprint.h:401:45: note: in expansion of macro 'LOG'
  401 | #               define DBG(fmt, args...)    LOG(L_DBG, fmt , ## args)
      |                                             ^~~
../../core/dprint.h:405:36: note: in expansion of macro 'DBG'
  405 | #       define DEBUG(fmt, args...) DBG(fmt , ## args)
      |                                    ^~~
../../core/dprint.h:422:16: note: in expansion of macro 'DEBUG'
  422 | #define LM_DBG DEBUG
      |                ^~~~~
t_fifo.c:576:33: note: in expansion of macro 'LM_DBG'
  576 |                                 LM_DBG("AVP <%i>: %p\n",avp_name.n,avp);
      |                                 ^~~~~~
CC (gcc) [M ping_endpoint.so]		t_funcs.o
CC (gcc) [M ping_endpoint.so]		t_fwd.o


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/issues/3637@github.com>