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 wh...@apache.org on 2005/08/08 16:47:17 UTC
cvs commit: ws-axis/c/src/cbindings/client StubC.cpp
whitlock 2005/08/08 07:47:17
Modified: c/src/cbindings/client StubC.cpp
Log:
Fix compile errors on Solaris
Revision Changes Path
1.10 +2 -2 ws-axis/c/src/cbindings/client/StubC.cpp
Index: StubC.cpp
===================================================================
RCS file: /home/cvs/ws-axis/c/src/cbindings/client/StubC.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- StubC.cpp 14 Jul 2005 15:30:48 -0000 1.9
+++ StubC.cpp 8 Aug 2005 14:47:17 -0000 1.10
@@ -38,7 +38,7 @@
AXISC_STORAGE_CLASS_INFO AXISCHANDLE axiscCreateStub(const char * pcEndPointURI,
AXISC_PROTOCOL_TYPE eProtocol) {
- StubC *stub = new StubC(pcEndPointURI, static_cast<AXIS_PROTOCOL_TYPE>(eProtocol));
+ StubC *stub = new StubC(pcEndPointURI, (AXIS_PROTOCOL_TYPE)eProtocol);
return (AXISCHANDLE)stub;
}
@@ -155,7 +155,7 @@
AXISC_STORAGE_CLASS_INFO void axiscSetTransportProtocol(AXISCHANDLE stub, AXISC_PROTOCOL_TYPE eProtocol) {
Stub *s = (Stub*)stub;
- s->setTransportProtocol(static_cast<AXIS_PROTOCOL_TYPE>(eProtocol));
+ s->setTransportProtocol((AXIS_PROTOCOL_TYPE)eProtocol);
}
AXISC_STORAGE_CLASS_INFO AXISC_PROTOCOL_TYPE axiscGetTransportProtocol(AXISCHANDLE stub) {