use the same type to avoid overflow (could we even cause this?)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7987 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris committed 2008-03-31 16:05:32 +00:00
1 parent 299d2692a4
commit 2a98f0639b
3 files changed
+4 -4

No files matched your search

@@ -1067,7 +1067,7 @@ static void *SWITCH_THREAD_FUNC listener_run(switch_thread_t * thread, void *obj
switch_assert(listener != NULL);
if (prefs.acl_count && listener->sa && !switch_strlen_zero(listener->remote_ip)) {
int x = 0;
uint32_t x = 0;
for (x = 0 ; x < prefs.acl_count; x++) {
if (!switch_check_network_list_ip(listener->remote_ip, prefs.acl[x])) {
@@ -1298,7 +1298,7 @@ SWITCH_MODULE_RUNTIME_FUNCTION(mod_event_socket_runtime)
switch_sockaddr_t *sa;
switch_socket_t *inbound_socket = NULL;
listener_t *listener;
int x = 0;
uint32_t x = 0;
memset(&listen_list, 0, sizeof(listen_list));
config();