Coverity fix
authorshahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 May 2013 14:10:14 +0000 (14:10 +0000)
committershahoian <shahoian@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 21 May 2013 14:10:14 +0000 (14:10 +0000)
ITS/UPGRADE/AliITSUTrackCond.cxx

index 5e2454a..6c2c5db 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;