IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2010, 2:57:18 PM (16 years ago)
Author:
eugene
Message:

defined OFF_T_FMT to print / scan off_t values; change all examples of off_t printed with %lld and casted to (long long)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/Ohana.20100606/src/libfits/table/F_table_varlength.c

    r27473 r28237  
    6464
    6565  // heap_start must be long long so file may be very large
    66   if (!gfits_scan (ftable->header, "THEAP", "%lld", 1, (long long *) &def->heap_start)) {
     66  if (!gfits_scan (ftable->header, "THEAP", OFF_T_FMT, 1, &def->heap_start)) {
    6767    def->heap_start = ftable->header->Naxis[0]*ftable->header->Naxis[1];
    6868  }
Note: See TracChangeset for help on using the changeset viewer.