IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2016, 10:23:42 PM (10 years ago)
Author:
eugene
Message:

modify to pass with extremely pedantic build; force consistency for signed vs unsigned and int sizes; various relastro updates

Location:
trunk/Ohana
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/delstar/src/gimages.c

    r27435 r39457  
    4646 
    4747  /* get other header info */
    48   haveNx = gfits_scan (&header, "NAXIS1",   "%hd", 1, &image[0].NX);
    49   haveNy = gfits_scan (&header, "NAXIS2",   "%hd", 1, &image[0].NY);
     48  haveNx = gfits_scan (&header, "NAXIS1",   "%hu", 1, &image[0].NX);
     49  haveNy = gfits_scan (&header, "NAXIS2",   "%hu", 1, &image[0].NY);
    5050  if (!haveNx && !haveNy) {
    51       haveNx = gfits_scan (&header, "IMNAXIS1",   "%hd", 1, &image[0].NX);
    52       haveNy = gfits_scan (&header, "IMNAXIS2",   "%hd", 1, &image[0].NY);
     51      haveNx = gfits_scan (&header, "IMNAXIS1",   "%hu", 1, &image[0].NX);
     52      haveNy = gfits_scan (&header, "IMNAXIS2",   "%hu", 1, &image[0].NY);
    5353  }     
    5454  if (!haveNx && !haveNy) {
    55       haveNx = gfits_scan (&header, "ZNAXIS1",   "%hd", 1, &image[0].NX);
    56       haveNy = gfits_scan (&header, "ZNAXIS2",   "%hd", 1, &image[0].NY);
     55      haveNx = gfits_scan (&header, "ZNAXIS1",   "%hu", 1, &image[0].NX);
     56      haveNy = gfits_scan (&header, "ZNAXIS2",   "%hu", 1, &image[0].NY);
    5757  }
    5858  if (!haveNx || !haveNy) {
Note: See TracChangeset for help on using the changeset viewer.