Skip to content

Commit

Permalink
Merge pull request #42405 from smuzaffar/dbg-230728
Browse files Browse the repository at this point in the history
[DBG] Fix comparison of integer expressions of different signedness
  • Loading branch information
cmsbuild authored Aug 1, 2023
2 parents 8037e53 + 6315318 commit b658d3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ void SiPixelDigisClustersFromSoAT<TrackerTraits>::produce(edm::StreamID,
// fill clusters
#ifdef EDM_ML_DEBUG
assert(digis.clus(i) >= 0);
assert(digis.clus(i) < TrackerTraits::maxNumClustersPerModules);
assert(digis.clus(i) < static_cast<int32_t>(TrackerTraits::maxNumClustersPerModules));
#endif
nclus = std::max(digis.clus(i), nclus);
auto row = dig.row();
Expand Down

0 comments on commit b658d3f

Please sign in to comment.