From 1130977f00806b6ef0a0fa061ae98290455aa6ab Mon Sep 17 00:00:00 2001 From: ivana Date: Fri, 16 Jul 2010 09:33:10 +0000 Subject: [PATCH] Fixing compiler warnings from Form(), now properky checked with Root trunk. --- MUON/AliMUONCheck.cxx | 2 +- MUON/AliMUONCluster.cxx | 2 +- MUON/AliMUONDEPainter.cxx | 2 +- MUON/AliMUONDigitMaker.cxx | 2 +- MUON/AliMUONGainSubprocessor.cxx | 2 +- MUON/AliMUONGeometryMisAligner.cxx | 4 ++-- MUON/AliMUONGlobalCrateConfig.cxx | 10 +++++----- MUON/AliMUONLocalTrigger.cxx | 2 +- MUON/AliMUONOccupancySubprocessor.cxx | 2 +- MUON/AliMUONPainterMasterFrame.cxx | 4 ++-- MUON/AliMUONPainterMatrixFrame.cxx | 4 ++-- MUON/AliMUONPainterRegistry.cxx | 2 +- MUON/AliMUONPedestalSubprocessor.cxx | 2 +- MUON/AliMUONRawStreamTrackerHP.cxx | 4 ++-- MUON/AliMUONRawStreamTriggerHP.cxx | 2 +- MUON/AliMUONSurveyObj.cxx | 2 +- MUON/AliMUONTrackParam.cxx | 2 +- MUON/AliMUONTrackerData.cxx | 2 +- MUON/AliMUONTriggerIO.cxx | 10 +++++----- MUON/AliMUONTriggerSubprocessor.cxx | 4 ++-- MUON/AliMUONTriggerTrackToTrackerClusters.cxx | 2 +- MUON/mapping/AliMpConnection.cxx | 2 +- MUON/mapping/AliMpDEVisu.cxx | 4 ++-- MUON/mapping/AliMpPCBPadIterator.cxx | 2 +- 24 files changed, 38 insertions(+), 38 deletions(-) diff --git a/MUON/AliMUONCheck.cxx b/MUON/AliMUONCheck.cxx index a398fa0dc2d..fc47a06929d 100644 --- a/MUON/AliMUONCheck.cxx +++ b/MUON/AliMUONCheck.cxx @@ -156,7 +156,7 @@ AliMUONCheck::CheckESD(Bool_t pdc06TriggerResponse) if (!tree) { Error("CheckESD", "no ESD tree found"); - AliError(Form("CheckESD", "no ESD tree found")); + AliError(Form("no ESD tree found")); return ; } fESD->ReadFromTree(tree); diff --git a/MUON/AliMUONCluster.cxx b/MUON/AliMUONCluster.cxx index aef24030b03..a40d9fe005e 100644 --- a/MUON/AliMUONCluster.cxx +++ b/MUON/AliMUONCluster.cxx @@ -665,7 +665,7 @@ AliMUONCluster::DumpMe() const // cout << " " << Area() << endl; for (Int_t i = 0; i < fPads.GetSize(); ++i) { - cout << Form("fPads[%d]=%x",i,fPads.At(i)) << endl; + cout << Form("fPads[%d]=%p",i,fPads.At(i)) << endl; if ( fPads.At(i) ) fPads.At(i)->Print(); } } diff --git a/MUON/AliMUONDEPainter.cxx b/MUON/AliMUONDEPainter.cxx index c79b7d6bb15..0a586c58c67 100644 --- a/MUON/AliMUONDEPainter.cxx +++ b/MUON/AliMUONDEPainter.cxx @@ -361,7 +361,7 @@ AliMUONDEPainter::SetResponder(Int_t depth) AliMUONPainterGroup* group = static_cast(fPainterGroups->GetValue(str)); if ( str->String() == "BUSPATCH" ) { - AliDebug(1,Form("group %s is indeed buspatch, using as responder", + AliDebug(1,Form("group %s is indeed buspatch, using as responder %d", group->Type(),depth)); group->SetResponder(kTRUE); fResponderGroup = group; diff --git a/MUON/AliMUONDigitMaker.cxx b/MUON/AliMUONDigitMaker.cxx index 70cd1e89517..14c1f8ffa19 100644 --- a/MUON/AliMUONDigitMaker.cxx +++ b/MUON/AliMUONDigitMaker.cxx @@ -237,7 +237,7 @@ AliMUONDigitMaker::ReadTrackerDDL(AliRawReader* rawReader) if (!de) { - fLogger->Log(Form("DE %04d does not exist !")); + fLogger->Log(Form("DE %04d does not exist !", detElemId)); continue; } diff --git a/MUON/AliMUONGainSubprocessor.cxx b/MUON/AliMUONGainSubprocessor.cxx index ed95018c53e..13a8bf5d758 100644 --- a/MUON/AliMUONGainSubprocessor.cxx +++ b/MUON/AliMUONGainSubprocessor.cxx @@ -89,7 +89,7 @@ AliMUONGainSubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTime) delete fGains; fGains = new AliMUON2DMap(kTRUE); - Master()->Log(Form("Reading Gain files for Run %d startTime %ld endTime %ld", + Master()->Log(Form("Reading Gain files for Run %d startTime %u endTime %u", run,startTime,endTime)); TList* sources = Master()->GetFileSources(kSystem,kId); diff --git a/MUON/AliMUONGeometryMisAligner.cxx b/MUON/AliMUONGeometryMisAligner.cxx index b6f48eefcfa..5959fc92b7c 100644 --- a/MUON/AliMUONGeometryMisAligner.cxx +++ b/MUON/AliMUONGeometryMisAligner.cxx @@ -174,7 +174,7 @@ AliMUONGeometryMisAligner::SetXYAngMisAligFactor(Double_t factor) fDetElemMisAlig[4][1] = fDetElemMisAlig[5][1]*factor; // compatibility } else - AliError(Form("Invalid XY angular misalign factor, %d", factor)); + AliError(Form("Invalid XY angular misalign factor, %f", factor)); } //_________________________________________________________________________ @@ -187,7 +187,7 @@ void AliMUONGeometryMisAligner::SetZCartMisAligFactor(Double_t factor) fDetElemMisAlig[2][1] = fDetElemMisAlig[0][1]*factor; // keep backward compatibility } else - AliError(Form("Invalid Z cartesian misalign factor, %d", factor)); + AliError(Form("Invalid Z cartesian misalign factor, %f", factor)); } //_________________________________________________________________________ diff --git a/MUON/AliMUONGlobalCrateConfig.cxx b/MUON/AliMUONGlobalCrateConfig.cxx index a473fa278d3..70479a5e7f6 100644 --- a/MUON/AliMUONGlobalCrateConfig.cxx +++ b/MUON/AliMUONGlobalCrateConfig.cxx @@ -135,7 +135,7 @@ Int_t AliMUONGlobalCrateConfig::ReadData(const TString& fileName) ULong_t addr; sscanf(tmp.Data(), "%lx", &addr); SetJtagVmeAddr(addr); - AliDebug(1, Form("Jtag Vme Address: 0x%x", addr)); + AliDebug(1, Form("Jtag Vme Address: 0x%lx", addr)); // clk div, rx phase, read delay in.getline(line, 255); @@ -178,7 +178,7 @@ Int_t AliMUONGlobalCrateConfig::ReadData(const TString& fileName) sscanf(tmp.Data(), "%lx", &addr); if (addr) nDarc++; SetFirstDarcVmeAddr(addr); - AliDebug(1, Form("First Darc Vme Address: 0x%x", addr)); + AliDebug(1, Form("First Darc Vme Address: 0x%lx", addr)); // type in.getline(line, 255); @@ -234,7 +234,7 @@ Int_t AliMUONGlobalCrateConfig::ReadData(const TString& fileName) if (addr) nDarc++; sscanf(tmp.Data(), "%lx", &addr); SetSecondDarcVmeAddr(addr); - AliDebug(1, Form("Second Darc Vme Address: 0x%x", addr)); + AliDebug(1, Form("Second Darc Vme Address: 0x%lx", addr)); // type in.getline(line, 255); @@ -287,7 +287,7 @@ Int_t AliMUONGlobalCrateConfig::ReadData(const TString& fileName) ULong_t addr; sscanf(tmp.Data(), "%lx", &addr); SetGlobalVmeAddr(addr); - AliDebug(1, Form("Global Vme Address: 0x%x", addr)); + AliDebug(1, Form("Global Vme Address: 0x%lx", addr)); for (Int_t i = 0; i < GetGlobalNofRegisters(); ++i) { in.getline(line, 255); @@ -307,7 +307,7 @@ Int_t AliMUONGlobalCrateConfig::ReadData(const TString& fileName) ULong_t addr; sscanf(tmp.Data(), "%lx", &addr); SetFetVmeAddr(addr); - AliDebug(1, Form("Fet Vme Address: 0x%x", addr)); + AliDebug(1, Form("Fet Vme Address: 0x%lx", addr)); for (Int_t i = 0; i < GetFetNofRegisters(); ++i) { in.getline(line, 255); diff --git a/MUON/AliMUONLocalTrigger.cxx b/MUON/AliMUONLocalTrigger.cxx index 996561573a0..4e81712167c 100644 --- a/MUON/AliMUONLocalTrigger.cxx +++ b/MUON/AliMUONLocalTrigger.cxx @@ -281,7 +281,7 @@ void AliMUONLocalTrigger::Print(Option_t* opt) const cout << Form("Circuit %3d Decision %2d StripX %2d Dev %2d(%1d) StripY %2d Lpt %6s Hpt %6s", LoCircuit(), GetLoDecision(), LoStripX(), LoDev(), LoSdev(), LoStripY(), - AsString(LoLpt()),AsString(LoHpt()),IsNull()) << endl; + AsString(LoLpt()),AsString(LoHpt())) << endl; if ( sopt.Contains("FULL") ) { diff --git a/MUON/AliMUONOccupancySubprocessor.cxx b/MUON/AliMUONOccupancySubprocessor.cxx index cd4bc3a1d1f..e27f87a5373 100644 --- a/MUON/AliMUONOccupancySubprocessor.cxx +++ b/MUON/AliMUONOccupancySubprocessor.cxx @@ -69,7 +69,7 @@ AliMUONOccupancySubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t end delete fOccupancyMap; fOccupancyMap = new AliMUON2DMap(kTRUE); - Master()->Log(Form("Reading occupancy file for Run %d startTime %ld endTime %ld", + Master()->Log(Form("Reading occupancy file for Run %d startTime %u endTime %u", run,startTime,endTime)); TList* sources = Master()->GetFileSources(kSystem,kId); diff --git a/MUON/AliMUONPainterMasterFrame.cxx b/MUON/AliMUONPainterMasterFrame.cxx index f6dc5c3860c..3342fffcdfc 100644 --- a/MUON/AliMUONPainterMasterFrame.cxx +++ b/MUON/AliMUONPainterMasterFrame.cxx @@ -177,7 +177,7 @@ AliMUONPainterMasterFrame::AddPainterMatrix(AliMUONPainterMatrix* painterMatrix) { /// array is adopted (by the registry) - AliDebug(1,Form("matrix=%x %s",painterMatrix,painterMatrix->GetName())); + AliDebug(1,Form("matrix=%p %s",painterMatrix,painterMatrix->GetName())); Int_t i = AliMUONPainterRegistry::Instance()->Register(painterMatrix); @@ -191,7 +191,7 @@ AliMUONPainterMasterFrame::PainterMatrixWantToShow(AliMUONPainterMatrix* group) /// FIXME: should check whether we are the active window before /// responding to this message ? - AliDebug(1,Form("group=%x %s",group,group->GetName())); + AliDebug(1,Form("group=%p %s",group,group->GetName())); Int_t i = AliMUONPainterRegistry::Instance()->FindIndexOf(group); diff --git a/MUON/AliMUONPainterMatrixFrame.cxx b/MUON/AliMUONPainterMatrixFrame.cxx index 30263f3066f..597f1e32b5a 100644 --- a/MUON/AliMUONPainterMatrixFrame.cxx +++ b/MUON/AliMUONPainterMatrixFrame.cxx @@ -178,7 +178,7 @@ AliMUONPainterMatrixFrame::ChangeTitle(AliMUONVPainter* painter, AliMUONPainterGroup* group = master->PlotterGroup(); - AliDebug(1,Form("Painter is %s plotterGroup is %x %s", + AliDebug(1,Form("Painter is %s plotterGroup is %p %s", painter->PathName().Data(), group, ( group ? group->Type() : ""))); @@ -398,7 +398,7 @@ AliMUONPainterMatrixFrame::MouseEnter(AliMUONVPainter* painter) { /// Emit a signal to notify that mouse pointer is entering a given painter - AliDebug(1,Form("painter=%x %s",painter,painter->PathName().Data())); + AliDebug(1,Form("painter=%p %s",painter,painter->PathName().Data())); ChangeTitle(painter); diff --git a/MUON/AliMUONPainterRegistry.cxx b/MUON/AliMUONPainterRegistry.cxx index d2718dd034c..ee65c53346a 100644 --- a/MUON/AliMUONPainterRegistry.cxx +++ b/MUON/AliMUONPainterRegistry.cxx @@ -143,7 +143,7 @@ AliMUONPainterRegistry::AddToHistory(AliMUONPainterMatrix* group) "AliMUONPainterRegistry",this, "HistoryMenuActivated(Int_t)"); - AliDebug(1,Form("HistoryMenu create at %x",fHistoryMenu)); + AliDebug(1,Form("HistoryMenu create at %p",fHistoryMenu)); } if ( fHistoryMenu ) diff --git a/MUON/AliMUONPedestalSubprocessor.cxx b/MUON/AliMUONPedestalSubprocessor.cxx index 0b34b7c594c..4ac64a9d394 100644 --- a/MUON/AliMUONPedestalSubprocessor.cxx +++ b/MUON/AliMUONPedestalSubprocessor.cxx @@ -135,7 +135,7 @@ AliMUONPedestalSubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endT fTooFewEvents = kFALSE; - Master()->Log(Form("Reading pedestal files for Run %d startTime %ld endTime %ld", + Master()->Log(Form("Reading pedestal files for Run %d startTime %u endTime %u", run,startTime,endTime)); TList* sources = Master()->GetFileSources(kSystem,kId); diff --git a/MUON/AliMUONRawStreamTrackerHP.cxx b/MUON/AliMUONRawStreamTrackerHP.cxx index bd941f3fa70..aea24c770cd 100644 --- a/MUON/AliMUONRawStreamTrackerHP.cxx +++ b/MUON/AliMUONRawStreamTrackerHP.cxx @@ -713,7 +713,7 @@ void AliMUONRawStreamTrackerHP::AliDecoderEventHandler::OnError( // We subtract 1 from the current numbers of blocks, DSPs // and bus patches to get the iBlock, iDsp and iBus indices. detail = Form( - "At byte %d in DDL %d, event %d, iBlock %d, iDsp %d [DSP ID: %d (0x%X)]," + "At byte %lu in DDL %d, event %d, iBlock %d, iDsp %d [DSP ID: %d (0x%X)]," " iBus %d [bus patch ID: %d (0x%X)].", (unsigned long)location - (unsigned long)fBufferStart + sizeof(AliRawDataHeader), AliDAQ::DdlID("MUONTRK", fRawStream->GetDDL()), @@ -850,7 +850,7 @@ void AliMUONRawStreamTrackerHP::AliDecoderEventHandler::OnError( break; case kMediumErrorDetail: message = Form( - "%s (At byte %d)", + "%s (At byte %lu)", ErrorCodeToMessage(error), (unsigned long)location - (unsigned long)fBufferStart + sizeof(AliRawDataHeader) ); diff --git a/MUON/AliMUONRawStreamTriggerHP.cxx b/MUON/AliMUONRawStreamTriggerHP.cxx index 45cfbade943..aa9b12a2f46 100644 --- a/MUON/AliMUONRawStreamTriggerHP.cxx +++ b/MUON/AliMUONRawStreamTriggerHP.cxx @@ -726,7 +726,7 @@ void AliMUONRawStreamTriggerHP::AliDecoderEventHandler::OnError( default: message = Form( - "%s (At byte %d in DDL.)", + "%s (At byte %lu in DDL.)", ErrorCodeToMessage(error), (unsigned long)location - (unsigned long)fBufferStart + sizeof(AliRawDataHeader) ); diff --git a/MUON/AliMUONSurveyObj.cxx b/MUON/AliMUONSurveyObj.cxx index 225237d803c..353b9e75e5a 100644 --- a/MUON/AliMUONSurveyObj.cxx +++ b/MUON/AliMUONSurveyObj.cxx @@ -662,7 +662,7 @@ Double_t AliMUONSurveyObj::EvalFunction(const TF2 *lFunction, Int_t iP1, Int_t i } default: { - AliError(Form("Coordinate %c is not valid, options are X Y Z",lCoord)); + AliError(Form("Coordinate %s is not valid, options are X Y Z",lCoord)); return 0; } } diff --git a/MUON/AliMUONTrackParam.cxx b/MUON/AliMUONTrackParam.cxx index f17cc026093..02859bce758 100644 --- a/MUON/AliMUONTrackParam.cxx +++ b/MUON/AliMUONTrackParam.cxx @@ -424,7 +424,7 @@ Bool_t AliMUONTrackParam::CompatibleTrackParam(const AliMUONTrackParam &trackPar // check Z parameters if (fZ != trackParam.fZ) - AliWarning(Form("Parameters are given at different Z position (%le : %le): results are meaningless", fZ, trackParam.fZ)); + AliWarning(Form("Parameters are given at different Z position (%e : %e): results are meaningless", fZ, trackParam.fZ)); // compute the parameter residuals TMatrixD deltaParam(fParameters, TMatrixD::kMinus, trackParam.fParameters); diff --git a/MUON/AliMUONTrackerData.cxx b/MUON/AliMUONTrackerData.cxx index 385a834f76f..36e4769ffcb 100644 --- a/MUON/AliMUONTrackerData.cxx +++ b/MUON/AliMUONTrackerData.cxx @@ -316,7 +316,7 @@ AliMUONTrackerData::Add(const AliMUONTrackerData& data) if ( ( !fHistogramming && data.fHistogramming ) || ( fHistogramming && !data.fHistogramming ) || fXmin != data.fXmin || fXmax != data.fXmax ) { - AliError(Form("Incompatible histogramming (%x vs %x) (xmax = %e vs %e ; xmin = %e vs %e)", + AliError(Form("Incompatible histogramming (%p vs %p) (xmax = %e vs %e ; xmin = %e vs %e)", fHistogramming,data.fHistogramming,fXmax,data.fXmax,fXmin,data.fXmin)); return kFALSE; } diff --git a/MUON/AliMUONTriggerIO.cxx b/MUON/AliMUONTriggerIO.cxx index df9a8e5d4ce..ac6012c6dd1 100644 --- a/MUON/AliMUONTriggerIO.cxx +++ b/MUON/AliMUONTriggerIO.cxx @@ -530,7 +530,7 @@ AliMUONTriggerIO::WriteGlobalConfig(const char* globalFile, AliMUONGlobalCrateCo // Jtag out << globalConfig->GetJtagName() << endl; - out << Form("0x%08x", globalConfig->GetJtagVmeAddr()) << endl; + out << Form("0x%08lx", globalConfig->GetJtagVmeAddr()) << endl; out << Form("%d %d %d", globalConfig->GetJtagClockDiv(), globalConfig->GetJtagRxPhase(), globalConfig->GetJtagRdDelay()) << endl; @@ -548,7 +548,7 @@ AliMUONTriggerIO::WriteGlobalConfig(const char* globalFile, AliMUONGlobalCrateCo // first darc board out << globalConfig->GetFirstDarcName() << endl; - out << Form("0x%08x", globalConfig->GetFirstDarcVmeAddr()) << endl; + out << Form("0x%08lx", globalConfig->GetFirstDarcVmeAddr()) << endl; out << globalConfig->GetFirstDarcType() << endl; disable = globalConfig->GetFirstDarcDisable(); out << Form("0x%02x", disable) << endl; @@ -559,7 +559,7 @@ AliMUONTriggerIO::WriteGlobalConfig(const char* globalFile, AliMUONGlobalCrateCo // second darc board out << globalConfig->GetSecondDarcName() << endl; - out << Form("0x%08x", globalConfig->GetSecondDarcVmeAddr()) << endl; + out << Form("0x%08lx", globalConfig->GetSecondDarcVmeAddr()) << endl; out << globalConfig->GetSecondDarcType() << endl; disable = globalConfig->GetSecondDarcDisable(); out << Form("0x%02x", disable) << endl; @@ -570,13 +570,13 @@ AliMUONTriggerIO::WriteGlobalConfig(const char* globalFile, AliMUONGlobalCrateCo // global board out << globalConfig->GetGlobalName() << endl; - out << Form("0x%08x", globalConfig->GetGlobalVmeAddr()) << endl; + out << Form("0x%08lx", globalConfig->GetGlobalVmeAddr()) << endl; for (Int_t i = 0; i < globalConfig->GetGlobalNofRegisters(); ++i) out << Form("0x%x", globalConfig->GetGlobalRegister(i)) << endl; // Fet board out << globalConfig->GetFetName() << endl; - out << Form("0x%08x", globalConfig->GetFetVmeAddr()) << endl; + out << Form("0x%08lx", globalConfig->GetFetVmeAddr()) << endl; for (Int_t i = 0; i < globalConfig->GetFetNofRegisters(); ++i) out << Form("0x%x", globalConfig->GetFetRegister(i)) << endl; diff --git a/MUON/AliMUONTriggerSubprocessor.cxx b/MUON/AliMUONTriggerSubprocessor.cxx index a0e6e208b1b..3ea647f93a1 100644 --- a/MUON/AliMUONTriggerSubprocessor.cxx +++ b/MUON/AliMUONTriggerSubprocessor.cxx @@ -138,7 +138,7 @@ AliMUONTriggerSubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi delete fGlobalConfig; fGlobalConfig = 0x0; delete fLUT; fLUT = 0x0; - Master()->Log(Form("Reading trigger masks for Run %d startTime %ld endTime %ld", + Master()->Log(Form("Reading trigger masks for Run %d startTime %u endTime %u", run,startTime,endTime)); Int_t check = @@ -180,7 +180,7 @@ AliMUONTriggerSubprocessor::Initialize(Int_t run, UInt_t startTime, UInt_t endTi { fLUT = new AliMUONTriggerLut; - Master()->Log(Form("Reading trigger LUT for Run %d startTime %ld endTime %ld", + Master()->Log(Form("Reading trigger LUT for Run %d startTime %u endTime %u", run,startTime,endTime)); ok = tio.ReadLUT(GetFileName("LUT").Data(),*fLUT); diff --git a/MUON/AliMUONTriggerTrackToTrackerClusters.cxx b/MUON/AliMUONTriggerTrackToTrackerClusters.cxx index 5ecfbecd263..eca2a2023e8 100644 --- a/MUON/AliMUONTriggerTrackToTrackerClusters.cxx +++ b/MUON/AliMUONTriggerTrackToTrackerClusters.cxx @@ -222,7 +222,7 @@ AliMUONTriggerTrackToTrackerClusters::GenerateClusters(Int_t iChamber, } else { - AliWarning(Form("No DE found at xg=%e yg=%e",detElemId,x,y)); + AliWarning(Form("No DE found at xg=%e yg=%e",x,y)); } return nadded; diff --git a/MUON/mapping/AliMpConnection.cxx b/MUON/mapping/AliMpConnection.cxx index 38135542baf..541518df232 100755 --- a/MUON/mapping/AliMpConnection.cxx +++ b/MUON/mapping/AliMpConnection.cxx @@ -87,7 +87,7 @@ AliMpConnection::~AliMpConnection() { /// Destructor - AliDebug(1,Form("this=%p")); + AliDebug(1,Form("this=%p", this)); } //_____________________________________________________________________________ diff --git a/MUON/mapping/AliMpDEVisu.cxx b/MUON/mapping/AliMpDEVisu.cxx index defaca64acc..5b94cd4f8f9 100644 --- a/MUON/mapping/AliMpDEVisu.cxx +++ b/MUON/mapping/AliMpDEVisu.cxx @@ -831,7 +831,7 @@ void AliMpDEVisu::PopUpManuMotif(AliMpSlat* slat) Int_t w = Int_t(h*dimensionX/dimensionY); AliMpVPainter* painter = AliMpVPainter::CreatePainter(motifPosFound); - CreatePopupWindow(w,h,Form("Manu %d",fNumberEntry->GetIntNumber()), + CreatePopupWindow(w,h,Form("Manu %ld",fNumberEntry->GetIntNumber()), painter,"ZT"); } } @@ -889,7 +889,7 @@ void AliMpDEVisu::PopUpManuMotif(AliMpSector* sector) AliMpVPainter* painter = AliMpVPainter::CreatePainter(motifPosFound); - CreatePopupWindow(w,h,Form("Manu %d",fNumberEntry->GetIntNumber()), + CreatePopupWindow(w,h,Form("Manu %ld",fNumberEntry->GetIntNumber()), painter,"ZT"); } diff --git a/MUON/mapping/AliMpPCBPadIterator.cxx b/MUON/mapping/AliMpPCBPadIterator.cxx index 4cf9e3c0c20..b56e028f535 100644 --- a/MUON/mapping/AliMpPCBPadIterator.cxx +++ b/MUON/mapping/AliMpPCBPadIterator.cxx @@ -275,7 +275,7 @@ AliMpPCBPadIterator::Print(Option_t*) const AliMp::PairFirst(fMinIndices),AliMp::PairSecond(fMinIndices), AliMp::PairFirst(fMaxIndices),AliMp::PairSecond(fMaxIndices)) << endl << Form("currentOffset=(%d,%d) isdone=%d currentpad=", - AliMp::PairFirst(fOffset),AliMp::PairSecond(fOffset)) << endl; + AliMp::PairFirst(fOffset),AliMp::PairSecond(fOffset),fIsDone) << endl; fCurrentPad.Print(); } -- 2.39.3