Hello,
compiling the latest version of Kamailio results in a warning for
mohqueue module:
CC (gcc) [M mohqueue.so] mohq_funcs.o
mohq_funcs.c:225:23: warning: incompatible pointer types passing
'tm_cell_t *' (aka 'struct cell *') to parameter of type 'struct sip_msg *'
[-Wincompatible-pointer-types]
if (ptm->t_release (ptcell) < 0)
I noticed you pushed some changes recently, likely the warning was
introduced by them, not noticing it before. Anyhow, it seems something
that should be reviewed and fixed, otherwise may result in a crash by
passing incorrect structure pointer.
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev