dbertoni 01/09/28 09:34:02
Modified: c/src/XPathCAPI XPathCAPI.cpp
Log:
Make aCC happy.
Revision Changes Path
1.3 +3 -6 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.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XPathCAPI.cpp 2001/09/28 15:31:59 1.2
+++ XPathCAPI.cpp 2001/09/28 16:34:02 1.3
@@ -61,6 +61,7 @@
#include <util/PlatformUtils.hpp>
#include <framework/MemBufInputSource.hpp>
+#include <sax/SAXException.hpp>
@@ -85,10 +86,6 @@
-class SAXException;
-
-
-
static bool fInitialized = false;
static bool fTerminated = false;
@@ -232,7 +229,7 @@
#if defined(XALAN_OLD_STYLE_CASTS)
return (XPathEvaluator*)theHandle;
#else
- return static_cast<XPathEvaluator*>(theHandle);
+ return reinterpret_cast<XPathEvaluator*>(theHandle);
#endif
}
@@ -246,7 +243,7 @@
#if defined(XALAN_OLD_STYLE_CASTS)
return (XPath*)theHandle;
#else
- return static_cast<XPath*>(theHandle);
+ return reinterpret_cast<XPath*>(theHandle);
#endif
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]