summaryrefslogtreecommitdiffstats
path: root/src/core/transport
diff options
context:
space:
mode:
authorGravatar shankar2010-04-08 03:53:57 +0000
committerGravatar shankar2010-04-08 03:53:57 +0000
commit23cb842e50aa23e13ed8031820452e4a58a2e3bd (patch)
treee2e541d59bb5111c3e9a8ba929c17dcbde8ae70e /src/core/transport
parentcdcd0eb9d6ed7ff996e644102fbbeb262bd9a4e6 (diff)
downloadaxis2c-23cb842e50aa23e13ed8031820452e4a58a2e3bd.tar.gz
axis2c-23cb842e50aa23e13ed8031820452e4a58a2e3bd.tar.bz2
Fixing 64bit compilation issue
git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931771 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/core/transport')
-rw-r--r--src/core/transport/http/server/CGI/axis2_cgi_main.c4
-rw-r--r--src/core/transport/http/server/CGI/axis2_cgi_stream.c6
2 files changed, 5 insertions, 5 deletions
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;