]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixed 0x%lx warning
authoragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 13:50:29 +0000 (13:50 +0000)
committeragheata <agheata@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 12 Jul 2010 13:50:29 +0000 (13:50 +0000)
ANALYSIS/AliAnalysisManager.cxx

index 693ff6c3512d5de8da54c85446fd62d1d697c8d1..01a0ae40424c2850f136ea7c6def02d5e31b32a8 100644 (file)
@@ -1800,8 +1800,8 @@ Bool_t AliAnalysisManager::GetFileFromWrapper(const char *filename, const TList
       Error("GetFileFromWrapper", "TProofOutputFile object not found in output list for file %s", filename);
       return kFALSE;
    }
-   gROOT->ProcessLine(Form("sprintf((char*)0x%lx, \"%%s\", ((TProofOutputFile*)0x%lx)->GetOutputFileName();)", fullPath, pof));
-   gROOT->ProcessLine(Form("sprintf((char*)0x%lx, \"%%s\", gProof->GetUrl();)", chUrl));
+   gROOT->ProcessLine(Form("sprintf((char*)0x%lx, \"%%s\", ((TProofOutputFile*)0x%lx)->GetOutputFileName();)", (ULong_t)fullPath, (ULong_t)pof));
+   gROOT->ProcessLine(Form("sprintf((char*)0x%lx, \"%%s\", gProof->GetUrl();)", (ULong_t)chUrl));
    TString clientUrl(chUrl);
    TString fullPath_str(fullPath);
    if (clientUrl.Contains("localhost")){