提交 8b6143fb authored 作者: Andrew Thompson's avatar Andrew Thompson

int32_t -> uint8_t


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13800 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 d195845e
......@@ -1205,7 +1205,7 @@ SWITCH_DECLARE(switch_status_t) switch_mcast_join(switch_socket_t *sock, switch_
* @remark If the TTL is 0, packets will only be seen by sockets on the local machine,
* and only when multicast loopback is enabled.
*/
SWITCH_DECLARE(switch_status_t) switch_mcast_hops(switch_socket_t *sock, int32_t ttl);
SWITCH_DECLARE(switch_status_t) switch_mcast_hops(switch_socket_t *sock, uint8_t ttl);
/** @} */
......
......@@ -737,7 +737,7 @@ SWITCH_DECLARE(switch_status_t) switch_mcast_join(switch_socket_t *sock, switch_
return apr_mcast_join(sock, join, iface, source);
}
SWITCH_DECLARE(switch_status_t) switch_mcast_hops(switch_socket_t *sock, int32_t ttl)
SWITCH_DECLARE(switch_status_t) switch_mcast_hops(switch_socket_t *sock, uint8_t ttl)
{
return apr_mcast_hops(sock, ttl);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论