Changeset 35162 for trunk/Ohana/src/libfits/matrix/F_matrix.c
- Timestamp:
- Feb 13, 2013, 11:06:10 AM (13 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libfits/matrix/F_matrix.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libfits/matrix/F_matrix.c
r27435 r35162 43 43 return (size); 44 44 } 45 46 off_t gfits_data_pad_size (off_t rawsize) { 47 48 off_t Nrec, size; 49 50 /* round up to next complete block */ 51 if (rawsize % FT_RECORD_SIZE) { 52 Nrec = 1 + (int) (rawsize / FT_RECORD_SIZE); 53 size = FT_RECORD_SIZE * Nrec; 54 } 55 56 return (size); 57 }
Note:
See TracChangeset
for help on using the changeset viewer.
