Skip to content
Snippets Groups Projects
Commit b3e1d906 authored by Stephen A. Wood's avatar Stephen A. Wood Committed by Stephen Wood
Browse files

Fix operator precedence issue in TIBlobModule

parent f34d57d9
No related branches found
No related tags found
No related merge requests found
......@@ -81,7 +81,7 @@ namespace Decoder {
Int_t evlen = evbuffer.size();
if(evlen>0) {
// The first word might be a filler word
Int_t ifill = ((evbuffer[0]>>27)&0x1F == 0x1F) ? 1 : 0;
Int_t ifill = (((evbuffer[0]>>27)&0x1F) == 0x1F) ? 1 : 0;
if (evlen>=5+ifill) {// Need at least two headers and the trailer and 2 data words
UInt_t header1=evbuffer[ifill];
Int_t slot_blk_hdr=(header1 >> 22) & 0x1F; // Slot number (set by VME64x backplane), mask 5 bits
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment