]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TPC/AliTPCCalROC.cxx
coding convention for type (_t) and access of reference data from alien OCDB
[u/mrichter/AliRoot.git] / TPC / AliTPCCalROC.cxx
index e7b536737ab469aa661fcb70f4b72c16cd27d076..3e53c9563b15a4de82a58176f8788e1035b18bfb 100644 (file)
@@ -681,7 +681,7 @@ void AliTPCCalROC::GetNeighbourhood(TArrayI* &rowArray, TArrayI* &padArray, Int_
       pmax = pmax - pmin;
       pmin = 0;
     }
-    if (pmax >= GetNPads(r)) {
+    if (pmax >= (Int_t)GetNPads(r)) {
       pmin = pmin - (pmax - GetNPads(r)+1);
       pmax = GetNPads(r) - 1;
       if (pmin  < 0 ) pmin = 0; // if the window is bigger than the ROC