From 8b6143fb38d2c8ac19a47119ffc4456751b92698 Mon Sep 17 00:00:00 2001 From: Andrew Thompson Date: Wed, 17 Jun 2009 03:44:47 +0000 Subject: [PATCH] int32_t -> uint8_t git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13800 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/include/switch_apr.h | 2 +- src/switch_apr.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }