Skip to content

Commit 91afbcb

Browse files
authored
Fix some warnings in TRD (#1955)
1 parent 182a1f1 commit 91afbcb

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/TRD/src/TrackletPerTriggerCheck.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@ Quality TrackletPerTriggerCheck::check(std::map<std::string, std::shared_ptr<Mon
9090
msg1->SetTextSize(10);
9191
int Entries = h->GetEntries();
9292
if (Entries > mStatThreshold) {
93-
msg1->AddText(TString::Format("Hist Can't be ignored. Stat is enough. Entries: %d > Threshold: %d", Entries, mStatThreshold));
93+
msg1->AddText(TString::Format("Hist Can't be ignored. Stat is enough. Entries: %d > Threshold: %ld", Entries, mStatThreshold));
9494
// msg1->SetTextColor(kGreen);
9595
} else if (Entries > 0) {
96-
msg1->AddText(TString::Format("Hist Can be ignored. Stat is low. Entries: %d < Threshold: %d", Entries, mStatThreshold));
96+
msg1->AddText(TString::Format("Hist Can be ignored. Stat is low. Entries: %d < Threshold: %ld", Entries, mStatThreshold));
9797
// msg1->SetTextColor(kYellow);
9898
} else if (Entries == 0) {
99-
msg1->AddText(TString::Format("Hist is empty. Entries: %d < Threshold: %d", Entries, mStatThreshold));
99+
msg1->AddText(TString::Format("Hist is empty. Entries: %d < Threshold: %ld", Entries, mStatThreshold));
100100
msg1->SetTextColor(kRed);
101101
}
102102

0 commit comments

Comments
 (0)