From 6e6d43ea146ef943ab2c4e28d6bb1d96d0fdeb03 Mon Sep 17 00:00:00 2001 From: shahoian Date: Sun, 20 Sep 2026 00:02:21 +0200 Subject: [PATCH] fix int/uint comparison --- DataFormats/common/include/CommonDataFormat/TFIDInfo.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);