]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/UPGRADE/AliITSUTrackCond.cxx
Coverity fix
[u/mrichter/AliRoot.git] / ITS / UPGRADE / AliITSUTrackCond.cxx
index 5e2454aa3afff025762df6de2dbfa6a03448205c..6c2c5db3dd87e43de390148bfb9dc861ab19052f 100644 (file)
@@ -200,7 +200,7 @@ Bool_t AliITSUTrackCond::CheckPattern(UShort_t patt) const
     for (int ig=arrAux[cntCond+kNGroups];ig--;) {
       UInt_t pattReq = arrGrp[grAddr++];
       UShort_t actLr = (pattReq&AliITSUAux::kMaxLrMask)&patt;  // patter of active layers satisfying to mask
-      if (!actLr || NumberOfBitsSet(actLr)<(pattReq>>kShiftNcl)) {ok = kFALSE; break;}
+      if (!actLr || NumberOfBitsSet(actLr)<int(pattReq>>kShiftNcl)) {ok = kFALSE; break;}
     }
     if (ok) return kTRUE;
     cntCond += kNAuxSz;