Skip to content

Commit 63b79b0

Browse files
Fix static_cast usage in process check
1 parent 56a7d9d commit 63b79b0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎PWGHF/HFC/Tasks/taskCharmHadronsCharmFemtoDream.cxx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ struct HfTaskCharmHadronsCharmFemtoDream {
162162

163163
void init(InitContext const&)
164164
{
165-
if (static_cast<int>(doprocessD0D0) + doprocessD0Dstar != 1) {
165+
if (static_cast<int>(doprocessD0D0) + static_cast<int>(doprocessD0Dstar) != 1) {
166166
LOGP(fatal, "Enable exactly one charm-charm analysis process");
167167
}
168168
if (mixSetting.mixingDepth < 0 || mixSetting.mixingBinPolicy < 0 || mixSetting.mixingBinPolicy > 2 || ptMinD0 < 0 || ptMinD0 >= ptMaxD0 ||

0 commit comments

Comments
 (0)