fixing warnings on printout format
authorkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Jul 2010 13:47:32 +0000 (13:47 +0000)
committerkleinb <kleinb@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 19 Jul 2010 13:47:32 +0000 (13:47 +0000)
PWG4/JetTasks/AliAnalysisTaskJetSpectrum2.cxx
PWG4/JetTasks/AliJetSpectrumUnfolding.cxx

index 20734d9..fccdfbb 100644 (file)
@@ -1207,7 +1207,7 @@ Int_t  AliAnalysisTaskJetSpectrum2::GetListOfTracks(TList *list,Int_t type){
       if(fDebug>0){
        if(tr->Pt()>20){
          Printf("High pT track found in Event %d with p_T, %E",(int)Entry(),tr->Pt());
-         Printf("%s read event, %ld",fInputHandler->GetTree()->GetCurrentFile()->GetName(),fInputHandler->GetTree()->GetReadEntry());
+         Printf("%s read event, %d",fInputHandler->GetTree()->GetCurrentFile()->GetName(),(Int_t)fInputHandler->GetTree()->GetReadEntry());
          tr->Print();
          //    tr->Dump();
          AliESDEvent *fESD = dynamic_cast<AliESDEvent*> (InputEvent());
index d4a82be..3646970 100644 (file)
@@ -263,7 +263,7 @@ void AliJetSpectrumUnfolding::SetupCurrentHists(Bool_t createBigBin)
   fCurrentCorrelation = (THnSparseF*)fCorrelation->Clone("fCurrentCorrelation");  
   fCurrentCorrelation->Sumw2();
 
-  Printf("Correlation Matrix has %ld filled bins", fCurrentCorrelation->GetNbins());
+  Printf("Correlation Matrix has %d filled bins", (Int_t)fCurrentCorrelation->GetNbins());
 
   if (createBigBin)
   {