Skip to content

Commit e93acc4

Browse files
authored
Fix static_cast syntax in logging statements
1 parent 9f4727e commit e93acc4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

PWGCF/TwoParticleCorrelations/Tasks/longrangecorrDerived.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,15 +331,15 @@ struct LongrangecorrDerived {
331331
if (hTrkEff == nullptr) {
332332
LOGF(fatal, "Could not load efficiency histogram for trigger particles from %s", cfgSel.cfgEffccdbPath.value.c_str());
333333
}
334-
LOGF(info, "Loaded efficiency histogram from %s (%p)", cfgSel.cfgEffccdbPath.value.c_str(), static_cast(hTrkEff));
334+
LOGF(info, "Loaded efficiency histogram from %s (%p)", cfgSel.cfgEffccdbPath.value.c_str(), static_cast<void*>(hTrkEff));
335335
}
336336

337337
if (cfgSel.cfgAccccdbPath.value.empty() == false) {
338338
hTrkAcc = ccdb->getForTimeStamp<TH3D>(cfgSel.cfgAccccdbPath, timestamp);
339339
if (hTrkAcc == nullptr) {
340340
LOGF(fatal, "Could not load NUA histogram for trigger particles from %s", cfgSel.cfgAccccdbPath.value.c_str());
341341
}
342-
LOGF(info, "Loaded efficiency histogram from %s (%p)", cfgSel.cfgAccccdbPath.value.c_str(), static_cast(hTrkAcc));
342+
LOGF(info, "Loaded efficiency histogram from %s (%p)", cfgSel.cfgAccccdbPath.value.c_str(), static_cast<void*>(hTrkAcc));
343343
}
344344

345345
fLoadTrkEffCorr = true;

0 commit comments

Comments
 (0)