IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 13, 2005, 10:48:59 AM (22 years ago)
Author:
desonia
Message:

fixed some small bugs in psMetadataLookup and psMetadataItemPrint.

File:
1 edited

Legend:

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

    r2885 r2973  
    99*  @author Ross Harman, MHPCC
    1010*
    11 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    12 *  @date $Date: 2005-01-04 18:33:55 $
     11*  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     12*  @date $Date: 2005-01-13 20:48:59 $
    1313*
    1414*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    308308    psMetadataType type;
    309309    psElemType pType;
    310     psBool success = false;
     310    psBool success = true;
    311311
    312312    PS_PTR_CHECK_NULL(fd, success);
     
    338338        break;
    339339    case PS_META_STR:
    340         fprintf(fd,format, metadataItem->data.V);
     340        fprintf(fd,format, (char*)metadataItem->data.V);
    341341        break;
    342342    default:
     
    344344        success = false;
    345345    }
    346 
    347     success = true;
    348346
    349347    return success;
Note: See TracChangeset for help on using the changeset viewer.