You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by au...@locus.apache.org on 2000/12/07 17:40:40 UTC
cvs commit: xml-xalan/c/src/XercesParserLiaison XercesDOM_NodeHack.hpp
auriemma 00/12/07 08:40:40
Modified: c/src/XercesParserLiaison XercesDOM_NodeHack.hpp
Log:
Added #ifdefs for casts.
Revision Changes Path
1.3 +8 -0 xml-xalan/c/src/XercesParserLiaison/XercesDOM_NodeHack.hpp
Index: XercesDOM_NodeHack.hpp
===================================================================
RCS file: /home/cvs/xml-xalan/c/src/XercesParserLiaison/XercesDOM_NodeHack.hpp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- XercesDOM_NodeHack.hpp 2000/11/02 01:46:43 1.2
+++ XercesDOM_NodeHack.hpp 2000/12/07 16:40:39 1.3
@@ -96,7 +96,11 @@
ElementImpl*
getImpl() const
{
+#if defined(XALAN_OLD_STYLE_CASTS)
return (ElementImpl*)fImpl;
+#else
+ return reinterpret_cast<ElementImpl*>(fImpl);
+#endif
}
static ElementImpl*
@@ -144,7 +148,11 @@
TextImpl*
getImpl() const
{
+#if defined(XALAN_OLD_STYLE_CASTS)
return (TextImpl*)fImpl;
+#else
+ return reinterpret_cast<TextImpl*>(fImpl);
+#endif
}
static TextImpl*