IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5005


Ignore:
Timestamp:
Sep 12, 2005, 12:26:30 PM (21 years ago)
Author:
desonia
Message:

cast printf values to specific values. (can't assume time is the native
'long' definition).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/test/xml/tst_psXML.c

    r5000 r5005  
    1515*  @author  Dave Robbins, MHPCC
    1616*
    17 *  @version $Revision: 1.4 $  $Name: not supported by cvs2svn $
    18 *  @date  $Date: 2005-09-12 21:36:54 $
     17*  @version $Revision: 1.5 $  $Name: not supported by cvs2svn $
     18*  @date  $Date: 2005-09-12 22:26:30 $
    1919*
    2020*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    140140    } else if ( !strncmp(metadataItem->name, "psLib.TIME.Magazine", 256) ) {
    141141        printf("Key Value:   ");
    142         printf("%ld, ", ((psTime*)(metadataItem->data.V))->sec );
     142        printf("%ld, ", (long)((psTime*)(metadataItem->data.V))->sec );
    143143        printf("%u, ", ((psTime*)(metadataItem->data.V))->nsec );
    144144        if( ((psTime*)(metadataItem->data.V))->leapsecond )
Note: See TracChangeset for help on using the changeset viewer.