IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 27485 for trunk/Ohana


Ignore:
Timestamp:
Mar 26, 2010, 2:56:32 PM (16 years ago)
Author:
eugene
Message:

fix inconsistent types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/imregister/src/imphotmerge.c

    r27435 r27485  
    113113  }
    114114  Nimage += Nin;
    115   gfits_modify (&header, "NIMAGES", "%d", 1, Nimage);
     115  gfits_modify (&header, "NIMAGES", "%lld", 1, (long long) Nimage);
    116116
    117117  /* position to begining of file to write header */
     
    152152  /* check that file size makes sense */
    153153  Nimage = 0;
    154   gfits_scan (header, "NIMAGES", "%lld", 1, &Nimage);
     154  gfits_scan (header, "NIMAGES", "%lld", 1, &(long long *) Nimage);
    155155  if (fstat (fileno(f), &filestatus) == -1) {
    156156    fprintf (stderr, "ERROR: failed to get status of image catalog\n");
Note: See TracChangeset for help on using the changeset viewer.