Commit 5785da2c authored by Youness Alaoui's avatar Youness Alaoui Committed by Youness Alaoui

cast buf_len from size_t to int, as it might cause compilation issues with...

cast buf_len from size_t to int, as it might cause compilation issues with some versions of gcc, reported by dave_p_b from amsn's forums
parent 1b43bd79
...@@ -469,7 +469,7 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer) ...@@ -469,7 +469,7 @@ static gboolean priv_conn_keepalive_tick (gpointer pointer)
nice_udp_socket_send (p->local->sockptr, &p->remote->addr, buf_len, (gchar *)buf); nice_udp_socket_send (p->local->sockptr, &p->remote->addr, buf_len, (gchar *)buf);
g_debug ("Agent %p : stun_bind_keepalive for pair %p res %d.", g_debug ("Agent %p : stun_bind_keepalive for pair %p res %d.",
agent, p, buf_len); agent, p, (int) buf_len);
if (buf_len == 0) if (buf_len == 0)
++errors; ++errors;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment