IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 5003


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

needed to cast some values for printf's for cross compatibility (long is 32 or
64 bits? Depends on what system!)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/xml/psXML.c

    r5000 r5003  
    1010*  @author David Robbins, MHPCC
    1111*
    12 *  @version $Revision: 1.39 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-09-12 21:36:54 $
     12*  @version $Revision: 1.40 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-09-12 22:25:27 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    143143                return NULL;
    144144            }
    145             snprintf(content, MAXSTR, "%ld, ", ((psTime*)(item->data.V))->sec);
     145            snprintf(content, MAXSTR, "%ld, ", (long)((psTime*)(item->data.V))->sec);
    146146            strncpy(timeVal, content, MAXSTR);
    147147            snprintf(content, MAXSTR, "%u, ", ((psTime*)(item->data.V))->nsec);
Note: See TracChangeset for help on using the changeset viewer.