Changeset 10827 for trunk/FACT++/src
- Timestamp:
- 05/26/11 08:51:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/simpleFitsDumper.cc
r10763 r10827 37 37 break; 38 38 case CCfits::Tushort: 39 targetFile << *reinterpret_cast<const unsigned short*>(charSrc); 39 reverse_copy(charSrc, charSrc+sizeof(unsigned short), copyBuffer); 40 targetFile << *reinterpret_cast<const unsigned short*>(copyBuffer); 40 41 charSrc += sizeof(char); 41 42 break; 42 43 case CCfits::Tshort: 43 targetFile << *reinterpret_cast<const short*>(charSrc); 44 reverse_copy(charSrc, charSrc+sizeof(short), copyBuffer); 45 targetFile << *reinterpret_cast<const short*>(copyBuffer); 44 46 charSrc += sizeof(char); 45 47 break;
Note:
See TracChangeset
for help on using the changeset viewer.