Commit 987b4112 authored by Tom Hampson's avatar Tom Hampson
Browse files

Resolve compiler warning

parent 3d8033c2
......@@ -986,7 +986,7 @@ QString ComponentInfoController::displayDetectorInfo(size_t index) {
if (componentInfo.isDetector(detector)) {
const double pixelCounts = actor.getIntegratedCounts(detector);
if (pixelCounts != InstrumentActor::INVALID_VALUE) {
tubeCounts += pixelCounts;
tubeCounts += static_cast<int64_t>(pixelCounts);
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment