From 23cb842e50aa23e13ed8031820452e4a58a2e3bd Mon Sep 17 00:00:00 2001 From: shankar Date: Thu, 8 Apr 2010 03:53:57 +0000 Subject: Fixing 64bit compilation issue git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931771 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/server/CGI/axis2_cgi_main.c | 4 ++-- src/core/transport/http/server/CGI/axis2_cgi_stream.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core/transport') diff --git a/src/core/transport/http/server/CGI/axis2_cgi_main.c b/src/core/transport/http/server/CGI/axis2_cgi_main.c index 6f9a59d..88eadd8 100644 --- a/src/core/transport/http/server/CGI/axis2_cgi_main.c +++ b/src/core/transport/http/server/CGI/axis2_cgi_main.c @@ -229,8 +229,8 @@ axis2_cgi_write_response( { if(buffer && length) { - unsigned int completed = 0; - unsigned int written = 0; + size_t completed = 0; + size_t written = 0; while(completed < length) { diff --git a/src/core/transport/http/server/CGI/axis2_cgi_stream.c b/src/core/transport/http/server/CGI/axis2_cgi_stream.c index 68ad19f..15b3340 100644 --- a/src/core/transport/http/server/CGI/axis2_cgi_stream.c +++ b/src/core/transport/http/server/CGI/axis2_cgi_stream.c @@ -45,7 +45,7 @@ int AXIS2_CALL cgi_stream_write( const void *buffer, size_t count); -int AXIS2_CALL cgi_stream_read( +size_t AXIS2_CALL cgi_stream_read( axutil_stream_t * stream, const axutil_env_t * env, void *buffer, @@ -85,7 +85,7 @@ axutil_stream_create_cgi( return &(stream_impl->stream); } -int AXIS2_CALL +size_t AXIS2_CALL cgi_stream_read( axutil_stream_t * stream, const axutil_env_t * env, @@ -94,7 +94,7 @@ cgi_stream_read( { /*void *temp_buff = NULL;*/ /*unsigned int data_to_read = 0;*/ - unsigned int read_bytes = 0; + size_t read_bytes = 0; /*axis2_bool_t ret_ok = AXIS2_TRUE;*/ cgi_stream_impl_t *stream_impl = NULL; -- cgit v1.1-32-gdbae