dbertoni 01/09/28 09:36:32
Modified: c/src/XPathCAPI XPathCAPI.cpp
Log:
Better fix for aCC problem.
Revision Changes Path
1.4 +3 -2 xml-xalan/c/src/XPathCAPI/XPathCAPI.cpp
Index: XPathCAPI.cpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XPathCAPI/XPathCAPI.cpp,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- XPathCAPI.cpp 2001/09/28 16:34:02 1.3
+++ XPathCAPI.cpp 2001/09/28 16:36:32 1.4
@@ -74,6 +74,7 @@
#include <XPath/XObjectFactory.hpp>
+#include <XPath/XPath.hpp>
#include <XPath/XPathEvaluator.hpp>
#include <XPath/XPathExecutionContextDefault.hpp>
#include <XPath/XPathFactoryDefault.hpp>
@@ -229,7 +230,7 @@
#if defined(XALAN_OLD_STYLE_CASTS)
return (XPathEvaluator*)theHandle;
#else
- return reinterpret_cast<XPathEvaluator*>(theHandle);
+ return static_cast<XPathEvaluator*>(theHandle);
#endif
}
@@ -243,7 +244,7 @@
#if defined(XALAN_OLD_STYLE_CASTS)
return (XPath*)theHandle;
#else
- return reinterpret_cast<XPath*>(theHandle);
+ return static_cast<XPath*>(theHandle);
#endif
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]