IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 26, 2016, 8:31:22 PM (10 years ago)
Author:
eugene
Message:

working on very pedantic gcc to track down memory corruption issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20160226/src/libfits/table/F_uncompress_T.c

    r39358 r39409  
    2222  }
    2323  fprintf (stderr, "\n");
     24# else
     25  OHANA_UNUSED_PARAM(table);
     26  OHANA_UNUSED_PARAM(message);
    2427# endif
    2528  return TRUE;
     
    4447  }
    4548  fprintf (stderr, "\n");
     49# else
     50  OHANA_UNUSED_PARAM(table);
     51  OHANA_UNUSED_PARAM(message);
    4652# endif
    4753  return TRUE;
     
    266272      gettimeofday (&startTimer, (void *) NULL);
    267273 
    268       int Nrows = (row == Ntile - 1) ? ztilelast : ztilelen;
    269       int Nraw = Nrows*fields[i].Nvalues*fields[i].pixsize; // expected number of bytes
     274      unsigned long int Nrows = (row == Ntile - 1) ? ztilelast : ztilelen;
     275      unsigned long int Nraw = Nrows*fields[i].Nvalues*fields[i].pixsize; // expected number of bytes
    270276      if (!gfits_uncompress_data (zdata, Nzdata, fields[i].zctype, NULL, NULL, 0, raw, &Nraw, Nraw_alloc, fields[i].pixsize)) ESCAPE;
    271277
    272278      if (VERBOSE_DUMP) {
    273         int k;
     279        unsigned long int k;
    274280        fprintf (stderr, "u2: ");
    275281        for (k = 0; k < Nraw*fields[i].pixsize; k++) {
     
    299305 
    300306      if (VERBOSE_DUMP) {
    301         int k;
     307        unsigned long int k;
    302308        fprintf (stderr, "u1: ");
    303309        for (k = 0; k < Nraw*fields[i].pixsize; k++) {
Note: See TracChangeset for help on using the changeset viewer.