- Timestamp:
- Mar 19, 2010, 5:35:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/largefiles.20100314/Ohana/src/opihi/dvo/badimages.c
r27305 r27368 39 39 ptr = &image[entry].coords.crpix1; 40 40 for (i = 0; i < 22; i++) { 41 gprint (GP_LOG, "%2 d: %g\n",i, ptr[i]);41 gprint (GP_LOG, "%2lld: %g\n", (long long) i, ptr[i]); 42 42 } 43 43 value = image[entry].coords.pc1_1*image[entry].coords.pc2_2 + image[entry].coords.pc1_2*image[entry].coords.pc2_1; … … 58 58 value = image[i].coords.pc1_1*image[i].coords.pc2_2 + image[i].coords.pc1_2*image[i].coords.pc2_1; 59 59 if ((value > big) || (value < small)) { 60 gprint (GP_LOG, "%5 d %s: %d %g\n",i, image[i].name, image[i].tzero, value);60 gprint (GP_LOG, "%5lld %s: %d %g\n", (long long) i, image[i].name, image[i].tzero, value); 61 61 } 62 62 } … … 65 65 ptr = &image[i].coords.crpix1; 66 66 if ((ptr[entry] > big) || (ptr[entry] < small)) { 67 gprint (GP_LOG, "%5 d %s: %d %g\n",i, image[i].name, image[i].tzero, ptr[entry]);67 gprint (GP_LOG, "%5lld %s: %d %g\n", (long long) i, image[i].name, image[i].tzero, ptr[entry]); 68 68 } 69 69 }
Note:
See TracChangeset
for help on using the changeset viewer.
