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 20734d90f8c67476a08525aa687591fc02a5ddd3..fccdfbb99e66fd342be39d92686fa7812dd56109 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 d4a82be1be0b4fac4561d6d090db6a98f262f809..3646970198d5e2bbfddbcb176d933d669b5ae328 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)
   {