Skip to content
Snippets Groups Projects
Commit 3e53ab0b authored by Andre Sailer's avatar Andre Sailer
Browse files

DDTest: Change type, caused warning for signed/unsigned comparison

parent 7e8d779f
No related branches found
No related tags found
No related merge requests found
......@@ -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" );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment