diff --git a/DataFormats/common/include/CommonDataFormat/TFIDInfo.h b/DataFormats/common/include/CommonDataFormat/TFIDInfo.h index 9628b38b95fa3..3d4968d7235bb 100644 --- a/DataFormats/common/include/CommonDataFormat/TFIDInfo.h +++ b/DataFormats/common/include/CommonDataFormat/TFIDInfo.h @@ -39,7 +39,7 @@ struct TFIDInfo { // helper info to patch DataHeader runNumber = runNumber_; startTime = startTime_; creation = creation_; - discard = (firstTForbit < tfCounter) || firstTForbit == -1U || creation == -1; + discard = (firstTForbit < tfCounter) || firstTForbit == -1U || creation == -1UL; } ClassDefNV(TFIDInfo, 3);