--- calo/flight/CaloNuclei/src/CaloNuclei.cpp 2008/12/18 09:43:46 1.17 +++ calo/flight/CaloNuclei/src/CaloNuclei.cpp 2008/12/18 10:31:00 1.18 @@ -501,7 +501,7 @@ Int_t uplim2 = interplane-1; // while ( l < uplim && ind < interplane ){ - qm = TMath::KOrdStat(interplane,qme,ind,work); + qm = TMath::KOrdStat((Long64_t)interplane,qme,(Long64_t)ind,work); if ( qm >= qmt ){ if ( l < 3 ){ qpremean += qm; @@ -518,7 +518,7 @@ l = 0; RN = 0; while ( l < uplim && ind < interplane ){ - qm2 = TMath::KOrdStat(interplane,qme2,ind,work); + qm2 = TMath::KOrdStat((Long64_t)interplane,qme2,(Long64_t)ind,work); if ( qm2 >= qmt ){ if ( l < N ){ qpremeanN += qm2; @@ -539,7 +539,7 @@ RN = 0; S2=0; while ( l < uplim2 && ind= qmt ){ if ( l < (interplane - 1 - S2)){ qNmin1_w += qm2;