You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by sa...@apache.org on 2005/12/29 05:15:43 UTC
svn commit: r359709 - in /webservices/axis2/trunk/c/modules/core:
description/src/svc.c transport/http/src/axis2_http_response_writer.c
Author: samisa
Date: Wed Dec 28 20:15:35 2005
New Revision: 359709
URL: http://svn.apache.org/viewcvs?rev=359709&view=rev
Log:
Fixed compiler warnings
Modified:
webservices/axis2/trunk/c/modules/core/description/src/svc.c
webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_response_writer.c
Modified: webservices/axis2/trunk/c/modules/core/description/src/svc.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/description/src/svc.c?rev=359709&r1=359708&r2=359709&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/description/src/svc.c (original)
+++ webservices/axis2/trunk/c/modules/core/description/src/svc.c Wed Dec 28 20:15:35 2005
@@ -1223,7 +1223,7 @@
axis2_hash_t *binding_ops = NULL;
int count = 0;
axis2_hash_index_t *index_i = NULL;
- void *k = NULL;
+ const void *k = NULL;
struct axis2_wsdl_binding_op *binding_op = NULL;
struct axis2_wsdl_soap_op *element = NULL;
struct axis2_op *op = NULL;
Modified: webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_response_writer.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_response_writer.c?rev=359709&r1=359708&r2=359709&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_response_writer.c (original)
+++ webservices/axis2/trunk/c/modules/core/transport/http/src/axis2_http_response_writer.c Wed Dec 28 20:15:35 2005
@@ -249,7 +249,7 @@
axis2_env_t **env, int i)
{
AXIS2_FUNC_PARAM_CHECK(response_writer, env, AXIS2_FAILURE);
- axis2_char_t *int_str[10];
+ axis2_char_t int_str[10];
sprintf(int_str, "%10d", i);
return axis2_http_response_writer_print_str(response_writer, env, int_str);
}