removed the gcc4.3 warnings
[u/mrichter/AliRoot.git] / STEER / AliGlobalQADataMaker.cxx
index 0b5f25350c1e48e40a1c76bb4c744e3e0d0a1f44..bf6457b699c835c9ab5d01e6739d41400d2ae77c 100644 (file)
@@ -192,7 +192,10 @@ void AliGlobalQADataMaker::MakeESDs(AliESDEvent * event) {
     if (track->IsOn(AliESDtrack::kTPCrefit)) {
       Int_t n =track->GetTPCNcls();
       Int_t nf=track->GetTPCNclsF();      // number of crossed TPC pad rows
-      if (nf>0) GetESDsData(kClr1)->Fill(Float_t(n)/nf);
+      if (nf>0) {
+        Double_t val = n*1.0/nf; 
+        GetESDsData(kClr1)->Fill(val); 
+      }
     }
 
     if (track->IsOn(AliESDtrack::kTRDrefit)) {