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

+1 -1
View File
@@ -659,7 +659,7 @@ void sofia_reg_handle_sip_i_register(nua_t * nua, sofia_profile_t *profile, nua_
su_addrinfo_t *my_addrinfo = msg_addrinfo(nua_current_request(nua));
if (profile->reg_acl_count) {
int x = 0;
uint32_t x = 0;
get_addr(network_ip, sizeof(network_ip), &((struct sockaddr_in *) my_addrinfo->ai_addr)->sin_addr);