From af99ae8bc38e960b31907e5d642c67d15a3ea8c9 Mon Sep 17 00:00:00 2001 From: shankar Date: Thu, 8 Apr 2010 05:39:46 +0000 Subject: Fixing 64bit compilation issue git-svn-id: http://svn.apache.org/repos/asf/axis/axis2/c/core/trunk@931785 13f79535-47bb-0310-9956-ffa450edef68 --- src/core/transport/http/server/CGI/axis2_cgi_stream.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core/transport/http/server') 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 15b3340..345b750 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); -size_t AXIS2_CALL cgi_stream_read( +int 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); } -size_t AXIS2_CALL +int AXIS2_CALL cgi_stream_read( axutil_stream_t * stream, const axutil_env_t * env, @@ -112,7 +112,7 @@ cgi_stream_read( read_bytes = fread(buffer, sizeof(char), stream_impl->content_length, stdin); } - return read_bytes; + return (int)read_bytes; } int AXIS2_CALL -- cgit v1.1-32-gdbae