- Timestamp:
- Feb 26, 2016, 8:31:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ohana.20160226/src/libfits/table/F_uncompress_T.c
r39358 r39409 22 22 } 23 23 fprintf (stderr, "\n"); 24 # else 25 OHANA_UNUSED_PARAM(table); 26 OHANA_UNUSED_PARAM(message); 24 27 # endif 25 28 return TRUE; … … 44 47 } 45 48 fprintf (stderr, "\n"); 49 # else 50 OHANA_UNUSED_PARAM(table); 51 OHANA_UNUSED_PARAM(message); 46 52 # endif 47 53 return TRUE; … … 266 272 gettimeofday (&startTimer, (void *) NULL); 267 273 268 int Nrows = (row == Ntile - 1) ? ztilelast : ztilelen;269 int Nraw = Nrows*fields[i].Nvalues*fields[i].pixsize; // expected number of bytes274 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 270 276 if (!gfits_uncompress_data (zdata, Nzdata, fields[i].zctype, NULL, NULL, 0, raw, &Nraw, Nraw_alloc, fields[i].pixsize)) ESCAPE; 271 277 272 278 if (VERBOSE_DUMP) { 273 int k;279 unsigned long int k; 274 280 fprintf (stderr, "u2: "); 275 281 for (k = 0; k < Nraw*fields[i].pixsize; k++) { … … 299 305 300 306 if (VERBOSE_DUMP) { 301 int k;307 unsigned long int k; 302 308 fprintf (stderr, "u1: "); 303 309 for (k = 0; k < Nraw*fields[i].pixsize; k++) {
Note:
See TracChangeset
for help on using the changeset viewer.
