diff --git a/src/include/switch_apr.h b/src/include/switch_apr.h index 9a94480ce3..0bde6750aa 100644 --- a/src/include/switch_apr.h +++ b/src/include/switch_apr.h @@ -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); /** @} */ diff --git a/src/switch_apr.c b/src/switch_apr.c index b729872aa8..f622a1cb48 100644 --- a/src/switch_apr.c +++ b/src/switch_apr.c @@ -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); }