[Freeswitch-dev] Fixed bug

Ken Rice krice at freeswitch.org
Tue Aug 27 19:22:55 MSD 2013


Please open a ticket on jira and attach a git diff, this is the proper way
to report bugs and patches, this also allows us to route tickets to the
appropriate maintainer.


On 8/27/13 10:19 AM, "Oleg Khovayko" <khovayko at gmail.com> wrote:

> Hi,
> 
> I built fresh FreeSWITCH from git. OS FreeBSD 9.1.
> 
> Got compilation error:
> 
> 
> cc1: warnings being treated as errors
> tport_type_ws.c: In function 'tport_recv_stream_ws':
> tport_type_ws.c:231: warning: format '%ld' expects type 'long int', but
> argument 11 has type 'ssize_t'
> gmake[9]: *** [tport_type_ws.lo] Error 1
> gmake[8]: *** [all] Error 2
> gmake[7]: *** [all-recursive] Error 1
> gmake[6]: *** [all-recursive] Error 1
> gmake[5]: *** [all] Error 2
> gmake[4]: *** 
> [/usr/src/freeswitch-upstream/libs/sofia-sip/libsofia-sip-ua/libsofia-sip-ua.l
> a] 
> Error 2
> gmake[3]: *** [mod_sofia-install] Error 1
> gmake[2]: *** [install-recursive] Error 1
> gmake[1]: *** [install-recursive] Error 1
> gmake: *** [install] Error 2
> [root at olegh /usr/src/freeswitch-upstream]#
> 
> 
> Found and fixed wrong conversion in the file (see bold (long) below):
> 
> ./libs/sofia-sip/libsofia-sip-ua/tport/tport_type_ws.c
> 
> 231           SU_DEBUG_1(("%s(%p): su_getmsgsize(): %s (%d) N=%ld\n",
> __func__, (void *)self,
> 232                                   su_strerror(err), err, *(long)*N));
> 
> 
> Please, forward to appropriate maintainer.
> 
> Thanks,
> Oleg
> 
> 
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-dev mailing list
> FreeSWITCH-dev at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev
> http://www.freeswitch.org

-- 
Ken
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
irc.freenode.net #freeswitch





Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-dev mailing list