[libnice] multithread g_main_loop_quit ad remove agent

Marcello Vezzelli m.vezzelli at gmail.com
Tue Jul 15 00:32:57 PDT 2014


On 14/07/2014 14:27, Philip Withnall wrote:
>
> We have changed fast_retval type (signed long) and now all seems work
> correctly.
> Where *exactly* in the code is this? Looking at my copy of
> stun/stunmessage.c, the logs show that fast_retval has always had type
> ssize_t (which is signed).

Looks like there's a problem in win32_common.h.

#ifndef HAVE_SIZE_T
typedef unsigned int size_t;
#endif
#ifndef HAVE_SSIZE_T
typedef unsigned long ssize_t;
#endif

ssize_t should be signed long.

regards
Marcello



More information about the nice mailing list