You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-commits@axis.apache.org by sh...@apache.org on 2010/04/08 05:53:58 UTC
svn commit: r931771 - in
/axis/axis2/c/core/trunk/src/core/transport/http/server/CGI:
axis2_cgi_main.c axis2_cgi_stream.c
Author: shankar
Date: Thu Apr 8 03:53:57 2010
New Revision: 931771
URL: http://svn.apache.org/viewvc?rev=931771&view=rev
Log:
Fixing 64bit compilation issue
Modified:
axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_main.c
axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_stream.c
Modified: axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_main.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_main.c?rev=931771&r1=931770&r2=931771&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_main.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_main.c Thu Apr 8 03:53:57 2010
@@ -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)
{
Modified: axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_stream.c
URL: http://svn.apache.org/viewvc/axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_stream.c?rev=931771&r1=931770&r2=931771&view=diff
==============================================================================
--- axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_stream.c (original)
+++ axis/axis2/c/core/trunk/src/core/transport/http/server/CGI/axis2_cgi_stream.c Thu Apr 8 03:53:57 2010
@@ -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;