UInt_t currentFilePos = fFile->Tellp();
UInt_t size = currentFilePos-fDataHeaderPos;
- size -= sizeof(AliRawDataHeader);
+ size -= sizeof(AliRawDataHeaderV3);
if ((size % 5) != 0) {
AliFatal(Form("The current raw data payload is not a mutiple of 5 (%d) ! Can not write the RCU trailer !",size));
// FOr the moment the triler size is 2 32-bit words
UInt_t buffer = (2 & 0x7F);
buffer |= ((rcuId & 0x1FF) << 7);
- buffer |= 0xAAAA << 16;
+ buffer |= 0xAAAAU << 16;
fFile->WriteBuffer((char *)(&buffer),sizeof(UInt_t));
return 0;