Skip to content
Snippets Groups Projects
Commit aa8e42c7 authored by Felix Weiglhofer's avatar Felix Weiglhofer Committed by Florian Uhlig
Browse files

Update c-style cast.

parent 06786257
No related branches found
No related tags found
1 merge request!1561Warning fixes in the Sts hitfinder
Pipeline #26153 failed
......@@ -757,7 +757,7 @@ void sts::HitfinderChain::EnsureClustersSane(gsl::span<ClusterIdx> hClusterIdx,
for (int i = 0; i < nClusters; i++) {
auto& cidx = clusterIdx[i];
if ((int) cidx.fIdx < 0 || size_t(cidx.fIdx) >= fHitfinder.maxClustersPerModule) {
if (int(cidx.fIdx) < 0 || size_t(cidx.fIdx) >= fHitfinder.maxClustersPerModule) {
L_(fatal) << "Cluster " << i << " of module " << m << " has invalid index " << cidx.fIdx;
std::abort();
}
......
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