From 48ed88a081bc26300eb7030af451bbe830f9a89f Mon Sep 17 00:00:00 2001 From: nadiramra Date: Sun, 30 May 2010 22:16:02 +0000 Subject: AXIS2C-1478 Changes due to port to IBM i (aka OS/400). git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@949629 13f79535-47bb-0310-9956-ffa450edef68 --- util/src/network_handler.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/src') diff --git a/util/src/network_handler.c b/util/src/network_handler.c index a8d154e..04e6ea6 100644 --- a/util/src/network_handler.c +++ b/util/src/network_handler.c @@ -435,7 +435,7 @@ axutil_network_handler_read_dgram( { struct sockaddr_in sender_address; int received = 0; - unsigned int sender_address_size = sizeof(sender_address); + int sender_address_size = sizeof(sender_address); received = recvfrom(sock, buffer, *buf_len, 0, (struct sockaddr *)&sender_address, &sender_address_size); @@ -481,7 +481,7 @@ axutil_network_handler_send_dgram( struct sockaddr_in recv_addr, source_addr; int send_bytes = 0; unsigned int recv_addr_size = 0; - unsigned int source_addr_size = sizeof(source_addr); + int source_addr_size = sizeof(source_addr); recv_addr_size = sizeof(recv_addr); memset(&recv_addr, 0, sizeof(recv_addr)); -- cgit v1.1-32-gdbae