diff --git a/PWGJE/Tasks/emcClusterMonitor.cxx b/PWGJE/Tasks/emcClusterMonitor.cxx index bbf29d344e7..9db525fe409 100644 --- a/PWGJE/Tasks/emcClusterMonitor.cxx +++ b/PWGJE/Tasks/emcClusterMonitor.cxx @@ -255,8 +255,8 @@ struct ClusterMonitor { mCellTime.push_back(cell.calo().time()); } // end of loop over cells mHistManager.fill(HIST("clusterCellTimeMean"), std::accumulate(mCellTime.begin(), mCellTime.end(), 0.0f) / mCellTime.size()); - for (int iCell1 = 0; iCell1 < mCellTime.size() - 1; iCell1++) { - for (int iCell2 = iCell1 + 1; iCell2 < mCellTime.size(); iCell2++) { + for (std::size_t iCell1 = 0; iCell1 < mCellTime.size() - 1; iCell1++) { + for (std::size_t iCell2 = iCell1 + 1; iCell2 < mCellTime.size(); iCell2++) { mHistManager.fill(HIST("clusterCellTimeDiff"), mCellTime[iCell1] - mCellTime[iCell2]); } } diff --git a/PWGJE/Tasks/jetChargedV2.cxx b/PWGJE/Tasks/jetChargedV2.cxx index a05c1d80524..dc62692a2b4 100644 --- a/PWGJE/Tasks/jetChargedV2.cxx +++ b/PWGJE/Tasks/jetChargedV2.cxx @@ -334,7 +334,7 @@ struct Jetchargedv2Task { void processInOutJetV2(soa::Filtered>::iterator const& collision, soa::Join const& jets, - aod::JetTracks const& tracks) + aod::JetTracks const&) { if (!jetderiveddatautilities::selectCollision(collision, eventSelection)) { return;