IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 17, 2010, 9:58:05 AM (16 years ago)
Author:
eugene
Message:

ongoing upgrade to largefile support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/largefiles.20100314/Ohana/src/opihi/dvo/detrend.c

    r27295 r27305  
    77 
    88  FILE *f;
    9   int i, Nimage, status, N, TimeSelect;
     9  off_t i, Nimage, status;
     10  int N, TimeSelect;
    1011  char DataBase[256];
    1112  time_t tzero, tend;
     
    136137
    137138  /* load existing data from database */
    138   gfits_scan (&header, "NIMAGES", "%d", 1, &Nimage);
     139  gfits_scan (&header, "NIMAGES", "%lld", 1, &Nimage);
    139140  ALLOCATE (pimage, RegImage, Nimage);
    140141  status = fread (pimage, sizeof(RegImage), Nimage, f);
Note: See TracChangeset for help on using the changeset viewer.