From 9e3352261aefeab079021a4c9ada9372e4e8297d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BiaoZhang=20=28=E5=BC=A0=E5=BD=AA=29?= <52267892+zhangbiao-phy@users.noreply.github.com> Date: Mon, 9 Dec 2024 17:59:59 +0100 Subject: [PATCH] Update taskLc.cxx --- PWGHF/D2H/Tasks/taskLc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PWGHF/D2H/Tasks/taskLc.cxx b/PWGHF/D2H/Tasks/taskLc.cxx index 4fdd4785f09..e844b07e7c2 100644 --- a/PWGHF/D2H/Tasks/taskLc.cxx +++ b/PWGHF/D2H/Tasks/taskLc.cxx @@ -536,7 +536,7 @@ struct HfTaskLc { auto ptGen = particle.pt(); auto originType = particle.originMcGen(); auto ptGenB = -1; - unsigned numPvContributors = 0; + unsigned int numPvContributors = 0; const auto& recoCollsPerMcColl = recoCollisions.sliceBy(colPerMcCollision, particle.mcCollision().globalIndex()); for (const auto& recCol : recoCollsPerMcColl) { numPvContributors = recCol.numContrib() > numPvContributors ? recCol.numContrib() : numPvContributors;