fixed a warning
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Feb 2011 11:16:20 +0000 (11:16 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 27 Feb 2011 11:16:20 +0000 (11:16 +0000)
PWG2/FORWARD/analysis2/AliForwardFlowTaskQC.cxx

index aa5fc43..099c6fc 100644 (file)
@@ -686,7 +686,7 @@ void AliForwardFlowTaskQC::Terminate(Option_t */*option*/)
       } // End of eta loop
 
       // Number of events:
-      Int_t nEv = cumulantsHist->GetBinContent(0,0);
+      Int_t nEv = (Int_t)cumulantsHist->GetBinContent(0,0);
       cumulant2Hist->SetBinContent(cumulant2Hist->GetNbinsX() + 1, nEv);
       cumulant4Hist->SetBinContent(cumulant4Hist->GetNbinsX() + 1, nEv);
     } // End of harmonics loop