Changeset 19006


Ignore:
Timestamp:
04/27/18 20:15:47 (7 years ago)
Author:
tbretz
Message:
Explicizt reinterpret cast to avoid clang warning.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mraw/MRawFitsRead.cc

    r18574 r19006  
    238238    }
    239239
    240     if (!fin.SetPtrAddress("Data", (int16_t*)(*data)->GetArray(), (*data)->GetSize()/2))
     240    if (!fin.SetPtrAddress("Data", reinterpret_cast<int16_t*>((*data)->GetArray()),
     241                           (*data)->GetSize()/2))
    241242        return kFALSE;
    242243
Note: See TracChangeset for help on using the changeset viewer.