IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28240


Ignore:
Timestamp:
Jun 6, 2010, 3:53:19 PM (16 years ago)
Author:
eugene
Message:

use PRId64 to print int64_t

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/Ohana.20100606/src/tools/src/ftable.c

    r28239 r28240  
    11# include <ohana.h>
    22# include <gfitsio.h>
     3# include "inttypes.h"
    34
    45char *print_table_row (char *row, Header *header);
     
    358359          if (!strcmp (type, "int64_t")) {
    359360            memcpy (line, &data[i*Nv*Nb + Nb*j], Nb);
    360             fprintf (stdout, "%lld ",  *(int64_t*)line);
     361            fprintf (stdout, "%" PRId64" ",  *(int64_t*)line);
    361362          }
    362363          if (!strcmp (type, "float")) {
Note: See TracChangeset for help on using the changeset viewer.