IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 26, 2005, 9:53:30 AM (21 years ago)
Author:
desonia
Message:

fixed small problems that made build using GCC 4.0 fail.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psMetadataIO.c

    r3671 r3769  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-04-06 01:12:58 $
     11*  @version $Revision: 1.25 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-04-26 19:53:30 $
    1313*
    1414*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    750750
    751751    // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
    752     psTagName = psStringCopy(tagName);
     752    psTagName = psStringCopy((const char*)tagName);
    753753
    754754    // Metadata containter for housing element attributes used by other SAX events
     
    774774
    775775                // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
    776                 psAttName = psStringCopy(attName);
    777                 psAttValue = psStringCopy(attValue);
     776                psAttName = psStringCopy((const char*)attName);
     777                psAttValue = psStringCopy((const char*)attValue);
    778778                psHashAdd(htAtts, psAttName, psAttValue);
    779779                psFree(psAttName);
     
    10821082
    10831083    // Copy XML strings to psStrings to avoid libxml2/psLib memory corruption problems
    1084     psEndTagName = psStringCopy(tagName);
     1084    psEndTagName = psStringCopy((const char*)tagName);
    10851085
    10861086    // Compare start and end tag names
Note: See TracChangeset for help on using the changeset viewer.