axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shan...@apache.org
Subject svn commit: r890654 - in /webservices/axis2/trunk/c/samples: mtom_caching_callback/mtom_caching_callback.c server/mtom/mtom.c
Date Tue, 15 Dec 2009 06:01:50 GMT
Author: shankar
Date: Tue Dec 15 06:01:50 2009
New Revision: 890654

URL: http://svn.apache.org/viewvc?rev=890654&view=rev
Log:
Fixing warnings for 64bit compilation

Modified:
    webservices/axis2/trunk/c/samples/mtom_caching_callback/mtom_caching_callback.c
    webservices/axis2/trunk/c/samples/server/mtom/mtom.c

Modified: webservices/axis2/trunk/c/samples/mtom_caching_callback/mtom_caching_callback.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/mtom_caching_callback/mtom_caching_callback.c?rev=890654&r1=890653&r2=890654&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/mtom_caching_callback/mtom_caching_callback.c (original)
+++ webservices/axis2/trunk/c/samples/mtom_caching_callback/mtom_caching_callback.c Tue Dec
15 06:01:50 2009
@@ -62,7 +62,7 @@
 
         if(encoded_key)
         {
-            encoded_key = axutil_url_encode(env, encoded_key, key, strlen(key));
+            encoded_key = axutil_url_encode(env, encoded_key, key, (int)strlen(key));
         }
 
         file_name = axutil_stracat(env, "/opt/tmp/", encoded_key);
@@ -108,7 +108,7 @@
             int buf_len,
             void* handler)
 {
-    int len = 0;
+    size_t len = 0;
     FILE *fp = (FILE *)(handler);
 
 

Modified: webservices/axis2/trunk/c/samples/server/mtom/mtom.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/samples/server/mtom/mtom.c?rev=890654&r1=890653&r2=890654&view=diff
==============================================================================
--- webservices/axis2/trunk/c/samples/server/mtom/mtom.c (original)
+++ webservices/axis2/trunk/c/samples/server/mtom/mtom.c Tue Dec 15 06:01:50 2009
@@ -105,7 +105,7 @@
                         axiom_data_handler_t *data_handler_res = NULL;
                         axis2_byte_t *input_buff = NULL;
                         axis2_byte_t *buff = NULL;
-                        int buff_len = 0;
+                        size_t buff_len = 0;
 
 
                         axiom_data_handler_set_file_name(data_handler, env,



Mime
View raw message