- Timestamp:
- May 3, 2010, 8:41:49 AM (16 years ago)
- Location:
- branches/tap_branches
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/tap_branches
- Property svn:mergeinfo changed
-
branches/tap_branches/Ohana
-
Property svn:mergeinfo
set to (toggle deleted branches)
/trunk/Ohana merged eligible /branches/eam_branches/Ohana.20100407 27635-27772 /branches/pap_delete/Ohana 27530-27595
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
branches/tap_branches/Ohana/src/libfits/matrix/F_load_M.c
r16139 r27838 13 13 int gfits_load_matrix (FILE *f, Matrix *matrix, Header *header) { 14 14 15 int i, nbytes, Nbytes; 15 16 off_t i, nbytes, Nbytes; 16 17 17 18 matrix[0].bitpix = header[0].bitpix; … … 25 26 Nbytes = gfits_data_size (header); 26 27 ALLOCATE (matrix[0].buffer, char, Nbytes); 27 matrix[0]. size = Nbytes;28 matrix[0].datasize = Nbytes; 28 29 29 30 nbytes = fread (matrix[0].buffer, sizeof(char), Nbytes, f); … … 94 95 } 95 96 if (nbytes != Nbytes) { /* this is a FITS error, but often the image is OK */ 96 fprintf (stderr, "incomplete block in FITS file: (% d, %d)\n", nbytes,Nbytes);97 fprintf (stderr, "incomplete block in FITS file: (%lld, %lld)\n", (long long) nbytes, (long long) Nbytes); 97 98 return (TRUE); 98 99 }
Note:
See TracChangeset
for help on using the changeset viewer.
