From: richterm Date: Wed, 21 Jul 2010 08:02:45 +0000 (+0000) Subject: correcting printf format specifiers X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=8cfd4eb4fba5ab78cc4caebf1058c199ce076c4e;hp=9678969fa1cbfc521b7cbfdbabdc3492fd8e8708 correcting printf format specifiers --- diff --git a/HLT/comp/AliHLTCOMPHuffmanAltroCalibComponent.cxx b/HLT/comp/AliHLTCOMPHuffmanAltroCalibComponent.cxx index 0f99a6517a4..0abdf7725cb 100644 --- a/HLT/comp/AliHLTCOMPHuffmanAltroCalibComponent.cxx +++ b/HLT/comp/AliHLTCOMPHuffmanAltroCalibComponent.cxx @@ -349,11 +349,11 @@ Int_t AliHLTCOMPHuffmanAltroCalibComponent::ShipDataToFXS( const AliHLTComponent if(fTablePath.IsNull() ) { // if there is no explicit table path, take current path - rootfilename.Form("huffmanData_%s_%08X_%08X.root", fOrigin.Data(), fRunNumber, fSpecification); + rootfilename.Form("huffmanData_%s_%08X_%08X.root", fOrigin.Data(), (unsigned)fRunNumber, (unsigned)fSpecification); } else { - rootfilename.Form("%shuffmanData_%s_%08X_%08X.root", fTablePath.Data(), fOrigin.Data(), fRunNumber, fSpecification); + rootfilename.Form("%shuffmanData_%s_%08X_%08X.root", fTablePath.Data(), fOrigin.Data(), (unsigned)fRunNumber, (unsigned)fSpecification); } TFile* huffmanrootfile = new TFile(rootfilename, "RECREATE"); diff --git a/HLT/comp/AliHLTCOMPHuffmanAltroComponent.cxx b/HLT/comp/AliHLTCOMPHuffmanAltroComponent.cxx index 857a8b9b811..0f5909168ce 100644 --- a/HLT/comp/AliHLTCOMPHuffmanAltroComponent.cxx +++ b/HLT/comp/AliHLTCOMPHuffmanAltroComponent.cxx @@ -288,11 +288,11 @@ int AliHLTCOMPHuffmanAltroComponent::DoInit( int argc, const char** argv ) if(fTablePath.IsNull()) { // if no table path is explicity set, take current path as table path - rootfilename.Form("huffmanData_%s_%08X_%08X.root", fOrigin.Data(), fRunNumber, fDataSpec); + rootfilename.Form("huffmanData_%s_%08X_%08X.root", fOrigin.Data(), (unsigned)fRunNumber, (unsigned)fDataSpec); } else { - rootfilename.Form("%shuffmanData_%s_%08X_%08X.root", fTablePath.Data(), fOrigin.Data(), fRunNumber, fDataSpec); + rootfilename.Form("%shuffmanData_%s_%08X_%08X.root", fTablePath.Data(), fOrigin.Data(), (unsigned)fRunNumber, (unsigned)fDataSpec); } TFile* huffmancodefile = new TFile(rootfilename, "READ");