IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 2112


Ignore:
Timestamp:
Oct 13, 2004, 5:02:30 PM (22 years ago)
Author:
desonia
Message:

fixed non-portable casting problem.

Location:
trunk/psLib/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/astro/psTime.c

    r2075 r2112  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-10-13 19:04:42 $
     13 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-10-14 03:02:30 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10401040    outTime->type = tai1->type;
    10411041    outTime->sec = tai1->sec - tai2->sec;
    1042     deltaUsec = tai1->usec - tai2->usec;
     1042    deltaUsec = (long)tai1->usec - (long)tai2->usec;
    10431043
    10441044    // Adjust time in case of microsecond underflow after subtraction
  • trunk/psLib/src/astronomy/psTime.c

    r2075 r2112  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2004-10-13 19:04:42 $
     13 *  @version $Revision: 1.33 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2004-10-14 03:02:30 $
    1515 *
    1616 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    10401040    outTime->type = tai1->type;
    10411041    outTime->sec = tai1->sec - tai2->sec;
    1042     deltaUsec = tai1->usec - tai2->usec;
     1042    deltaUsec = (long)tai1->usec - (long)tai2->usec;
    10431043
    10441044    // Adjust time in case of microsecond underflow after subtraction
Note: See TracChangeset for help on using the changeset viewer.