]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
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 aa5fc43b7d974e1d5fc0c8793176789ffb0147c6..099c6fc24aa74890124e25f831f3d48d0eef561a 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