IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26390


Ignore:
Timestamp:
Dec 11, 2009, 6:42:54 PM (16 years ago)
Author:
bills
Message:

more fixes for the !$#!%@#$% MacOS ;)

Location:
trunk/Ohana/src/addstar/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/addstar/src/LoadData.c

    r26389 r26390  
    6262        // This image is the parent of subsequent images
    6363        parentID = Nvalid;
    64         images[0][Nvalid].parentID = UINT_MAX;
     64        images[0][Nvalid].parentID = UINT32_MAX;
    6565      }
    6666      Nvalid++;
  • trunk/Ohana/src/addstar/src/UpdateImageIDs.c

    r26338 r26390  
    4040  for (i = 0; i < Nimages; i++) {
    4141    images[i].imageID += imageID;
    42     if (images[i].parentID == UINT_MAX) {
     42    if (images[i].parentID == UINT32_MAX) {
    4343        images[i].parentID = 0;
    4444    } else {
  • trunk/Ohana/src/addstar/src/psps_ids.c

    r26386 r26390  
    2727
    2828    uint64_t part1, part2, part3;
    29     part1 = (uint64_t)( izone  * 10000000000000) ;
     29    part1 = (uint64_t)( izone  * 10000000000000LL) ;
    3030    part2 = ((uint64_t)(ra * 1000000.)) * 10000 ; // 0 - 360*1e6 = 3.6e8 (< 29 bits)
    3131    part3 = (int) (zresid * 10000.0) ; // 0 - 10000 (1 bit == 30/10000 arcsec) (< 14 bits)
Note: See TracChangeset for help on using the changeset viewer.