You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by ra...@locus.apache.org on 2000/01/25 00:35:19 UTC

cvs commit: xml-xerces/c/src/dom EntityReferenceImpl.cpp EntityReferenceImpl.hpp

rahulj      00/01/24 15:35:19

  Modified:    c/src/dom EntityReferenceImpl.cpp EntityReferenceImpl.hpp
  Log:
  Fixed the compiler warning generated under Solaris.
  Matched the api signature in the base class NodeImpl.hpp.
  
  Revision  Changes    Path
  1.4       +9 -1      xml-xerces/c/src/dom/EntityReferenceImpl.cpp
  
  Index: EntityReferenceImpl.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/dom/EntityReferenceImpl.cpp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EntityReferenceImpl.cpp	2000/01/08 00:09:28	1.3
  +++ EntityReferenceImpl.cpp	2000/01/24 23:35:18	1.4
  @@ -56,6 +56,10 @@
   
   /**
   * $Log: EntityReferenceImpl.cpp,v $
  +* Revision 1.4  2000/01/24 23:35:18  rahulj
  +* Fixed the compiler warning generated under Solaris.
  +* Matched the api signature in the base class NodeImpl.hpp.
  +*
   * Revision 1.3  2000/01/08 00:09:28  andyh
   * Correcf failures in DOMTest with entity references and read-only nodes.
   * Correct reference counting problem NamedNodeMap.
  @@ -276,7 +280,7 @@
   *
   * @return org.w3c.dom.NodeList
   */
  -NodeImpl *EntityReferenceImpl::item(int index) {
  +NodeImpl *EntityReferenceImpl::item(unsigned long  index) {
       synchronize();
       return NodeImpl::item(index);
   }
  
  
  
  1.3       +8 -1      xml-xerces/c/src/dom/EntityReferenceImpl.hpp
  
  Index: EntityReferenceImpl.hpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/dom/EntityReferenceImpl.hpp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- EntityReferenceImpl.hpp	1999/12/21 07:47:07	1.2
  +++ EntityReferenceImpl.hpp	2000/01/24 23:35:18	1.3
  @@ -59,6 +59,10 @@
   
   /**
    * $Log: EntityReferenceImpl.hpp,v $
  + * Revision 1.3  2000/01/24 23:35:18  rahulj
  + * Fixed the compiler warning generated under Solaris.
  + * Matched the api signature in the base class NodeImpl.hpp.
  + *
    * Revision 1.2  1999/12/21 07:47:07  robweir
    * Patches to support Xalan, where we need to create a
    * "special" DOM with subclassed Nodes.
  @@ -102,7 +106,7 @@
       virtual int getLength();
       virtual bool hasChildNodes();
       virtual bool isEntityReference();
  -    virtual NodeImpl *item(int index);
  +    virtual NodeImpl *item(unsigned long index);
       virtual void setNodeValue(const DOMString &);
       virtual void setReadOnly(bool readOnly,bool deep);
       virtual void synchronize();