Changeset 12890


Ignore:
Timestamp:
02/14/12 12:55:57 (13 years ago)
Author:
tbretz
Message:
Added a missing parenthesis and a missing cast
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/datalogger.cc

    r12889 r12890  
    21122112        for (vector<string>::const_iterator jt=it->second.begin(); jt != it->second.end(); jt++, i++)
    21132113        {
    2114             memset(startOfLocation, 0, 2*maxCharLength+1+8;
     2114            memset(startOfLocation, 0, 2*maxCharLength+1+8);
    21152115
    21162116            strcpy(startOfLocation, it->first.c_str());
     
    21252125
    21262126            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);
    21282129            if (status)
    21292130            {
Note: See TracChangeset for help on using the changeset viewer.