axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nand...@apache.org
Subject svn commit: r413808 - in /webservices/axis2/trunk/c/modules/core/transport/http: http_chunked_stream.c sender/rest_sender.c
Date Tue, 13 Jun 2006 05:02:58 GMT
Author: nandika
Date: Mon Jun 12 22:02:57 2006
New Revision: 413808

URL: http://svn.apache.org/viewvc?rev=413808&view=rev
Log:
warnings fixed

Modified:
    webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c
    webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c

Modified: webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c?rev=413808&r1=413807&r2=413808&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/http_chunked_stream.c Mon Jun 12
22:02:57 2006
@@ -200,7 +200,7 @@
                   , AXIS2_FAILURE);
       return -1;
    }
-   sprintf(tmp_buf, "%x%s", count, AXIS2_HTTP_CRLF);
+   sprintf(tmp_buf, "%x%s", (unsigned int)count, AXIS2_HTTP_CRLF);
    len = AXIS2_STREAM_WRITE(stream, env, tmp_buf, AXIS2_STRLEN(tmp_buf));
    len = AXIS2_STREAM_WRITE(stream, env, buffer, count);
    AXIS2_STREAM_WRITE(stream, env, AXIS2_HTTP_CRLF, 2);

Modified: webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c?rev=413808&r1=413807&r2=413808&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/sender/rest_sender.c Mon Jun 12
22:02:57 2006
@@ -251,7 +251,7 @@
    if(AXIS2_FALSE == sender_impl->chunked)
    {
       axis2_char_t tmp_buf[10];
-      sprintf(tmp_buf, "%d", strlen(buffer));
+      sprintf(tmp_buf, "%d", (int)strlen(buffer));
       http_header = axis2_http_header_create(env, 
                   AXIS2_HTTP_HEADER_CONTENT_LENGTH, tmp_buf);
       AXIS2_HTTP_SIMPLE_REQUEST_ADD_HEADER(request, env, http_header);



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message