[OpenSIPS-Devel] compilation warning with stable 1.6 release

Juha Heinanen jh at tutpro.com
Sun Dec 5 12:20:46 CET 2010


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