Changeset 18988
- Timestamp:
- 04/06/18 16:59:41 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r18897 r18988 18 18 #include "EventBuilderWrapper.h" 19 19 20 #include " ../externals/zofits.h"20 #include "zofits.h" 21 21 22 22 namespace ba = boost::asio; … … 31 31 class ConnectionFAD : public Connection 32 32 { 33 uint16_t fSlot;34 // tcp::endpoint fEndpoint;35 36 33 vector<uint16_t> fBuffer; 37 34 … … 217 214 } 218 215 219 fChannelHeader[i] = vector<uint16_t>((uint16_t*)ptr, (uint16_t*)ptr+sizeof(FAD::ChannelHeader)/2); 216 fChannelHeader[i] = vector<uint16_t>(reinterpret_cast<uint16_t*>(ptr), 217 reinterpret_cast<uint16_t*>(ptr)+sizeof(FAD::ChannelHeader)/2); 220 218 ptr += sizeof(FAD::ChannelHeader); 221 219 … … 356 354 public: 357 355 ConnectionFAD(ba::io_service& ioservice, MessageImp &imp, uint16_t slot) : 358 Connection(ioservice, imp()), fSlot(slot),356 Connection(ioservice, imp()), 359 357 fIsVerbose(false), fIsHexOutput(false), fIsDataOutput(false), 360 358 fBlockTransmission(false), fCounter(0),
Note:
See TracChangeset
for help on using the changeset viewer.