You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by sa...@apache.org on 2005/10/13 02:56:02 UTC

svn commit: r320595 - /webservices/axis2/trunk/c/modules/common/src/axis2_allocator.c

Author: samisa
Date: Wed Oct 12 17:55:58 2005
New Revision: 320595

URL: http://svn.apache.org/viewcvs?rev=320595&view=rev
Log:
Fixed the cast problems

Modified:
    webservices/axis2/trunk/c/modules/common/src/axis2_allocator.c

Modified: webservices/axis2/trunk/c/modules/common/src/axis2_allocator.c
URL: http://svn.apache.org/viewcvs/webservices/axis2/trunk/c/modules/common/src/axis2_allocator.c?rev=320595&r1=320594&r2=320595&view=diff
==============================================================================
--- webservices/axis2/trunk/c/modules/common/src/axis2_allocator.c (original)
+++ webservices/axis2/trunk/c/modules/common/src/axis2_allocator.c Wed Oct 12 17:55:58 2005
@@ -23,7 +23,7 @@
 void* axis2_allocator_strdup(const void* ptr)
 {
     if (ptr)
-        return strdup(ptr);
+        return (void*)strdup(ptr);
     else
         return NULL;
 }