From 3e53ab0b780e5c94257752a6383e929b1f874fe4 Mon Sep 17 00:00:00 2001 From: Andre Sailer <andre.philippe.sailer@cern.ch> Date: Thu, 19 Mar 2015 13:32:01 +0000 Subject: [PATCH] DDTest: Change type, caused warning for signed/unsigned comparison --- DDTest/src/test_PolarGridRPhi2.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DDTest/src/test_PolarGridRPhi2.cc b/DDTest/src/test_PolarGridRPhi2.cc index 5addf67b5..dbf77a5d0 100644 --- a/DDTest/src/test_PolarGridRPhi2.cc +++ b/DDTest/src/test_PolarGridRPhi2.cc @@ -112,9 +112,9 @@ int main() { DD4hep::DDSegmentation::CellID cid = seg.cellID(locPos, globPos, volID); - const unsigned long long phiShifted(pB << phiBitOffset); - const unsigned long long rShifted (rB << rBitOffset); - const unsigned long long expectedID(rShifted + phiShifted); + const long long phiShifted(pB << phiBitOffset); + const long long rShifted (rB << rBitOffset); + const long long expectedID(rShifted + phiShifted); test( expectedID , cid , " Test get ID From Position" ); -- GitLab