You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by jb...@apache.org on 2003/05/21 05:34:52 UTC

cvs commit: xml-xerces/c/src/xercesc/util Janitor.c

jberry      2003/05/20 20:34:52

  Modified:    c/src/xercesc/util Janitor.c
  Log:
  Cast away CodeWarrior complaint of casting away const if we're holding a const obj
  
  Revision  Changes    Path
  1.4       +5 -2      xml-xerces/c/src/xercesc/util/Janitor.c
  
  Index: Janitor.c
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/Janitor.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- Janitor.c	15 May 2003 19:04:35 -0000	1.3
  +++ Janitor.c	21 May 2003 03:34:52 -0000	1.4
  @@ -56,6 +56,9 @@
   
   /**
    * $Log$
  + * Revision 1.4  2003/05/21 03:34:52  jberry
  + * Cast away CodeWarrior complaint of casting away const if we're holding a const obj
  + *
    * Revision 1.3  2003/05/15 19:04:35  knoaman
    * Partial implementation of the configurable memory manager.
    *
  @@ -228,7 +231,7 @@
   	if (fData) {
   
   		if (fMemoryManager)
  -            fMemoryManager->deallocate(fData);
  +            fMemoryManager->deallocate((void*)fData);
           else
               delete [] fData;
       }
  @@ -243,7 +246,7 @@
   	if (fData) {
   
   		if (fMemoryManager)
  -            fMemoryManager->deallocate(fData);
  +            fMemoryManager->deallocate((void*)fData);
           else
               delete [] fData;
       }
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org