[OpenSIPS-Devel] compilation warning with stable 1.6 release

Anca Vamanu anca at opensips.org
Mon Dec 6 16:21:52 CET 2010


Hi Juha,

Thank you. I had it fixed in my version but seem to forgot to commit it 
and I didn't noticed it anymore.

Regards,
Anca

On 12/05/2010 01:20 PM, Juha Heinanen wrote:
> i compiled today latest 1.6 from svn and got this kind of compilation
> warning:
>
> make[2]: Entering directory `/usr/src/5.1-src/openxg-pres-serv/modules/presence_xcapdiff'
> Compiling presence_xcapdiff.c
> presence_xcapdiff.c: In function ‘mod_init’:
> presence_xcapdiff.c:106: warning: passing argument 4 of ‘pua.add_event’ from incompatible pointer type
> presence_xcapdiff.c:106: note: expected ‘int (*)(struct publ_info *, struct str **, int,  struct str *)’ but argument is of type ‘int (*)(struct publ_info_t *, struct str **, int,  struct str **)’
>
> it looks scary to me in a stable release.
>
> -- juha



More information about the Devel mailing list