Changeset 12890
- Timestamp:
- 02/14/12 12:55:57 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r12889 r12890 2112 2112 for (vector<string>::const_iterator jt=it->second.begin(); jt != it->second.end(); jt++, i++) 2113 2113 { 2114 memset(startOfLocation, 0, 2*maxCharLength+1+8 ;2114 memset(startOfLocation, 0, 2*maxCharLength+1+8); 2115 2115 2116 2116 strcpy(startOfLocation, it->first.c_str()); … … 2125 2125 2126 2126 int status = 0; 2127 fits_write_tblbytes(groupFile->fitsPointer(), i, 1, 8+3+2*maxCharLength +8, realBuffer.data(), &status); 2127 fits_write_tblbytes(groupFile->fitsPointer(), i, 1, 8+3+2*maxCharLength +8, 2128 reinterpret_cast<unsigned char*>(realBuffer.data()), &status); 2128 2129 if (status) 2129 2130 {
Note:
See TracChangeset
for help on using the changeset viewer.