summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;