From: laphecet Date: Thu, 13 Nov 2008 18:57:34 +0000 (+0000) Subject: Fixing compiler warnings X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=2129750f8c0a1df7587cac044c69465127fcd2ea;p=u%2Fmrichter%2FAliRoot.git Fixing compiler warnings --- diff --git a/MUON/AliMUONGlobalCrateConfig.cxx b/MUON/AliMUONGlobalCrateConfig.cxx index 835a6840971..b0d884b0444 100644 --- a/MUON/AliMUONGlobalCrateConfig.cxx +++ b/MUON/AliMUONGlobalCrateConfig.cxx @@ -121,7 +121,7 @@ Int_t AliMUONGlobalCrateConfig::ReadData(const TString& fileName) // enable in.getline(line, 255); tmp = AliMpHelper::Normalize(line); - UChar_t en = 0; + UInt_t en = 0; sscanf(tmp.Data(), "%x", &en); SetGlobalCrateEnable(en); diff --git a/MUON/AliMUONGlobalCrateConfig.h b/MUON/AliMUONGlobalCrateConfig.h index 8132eba7560..c5fa8f6d68d 100644 --- a/MUON/AliMUONGlobalCrateConfig.h +++ b/MUON/AliMUONGlobalCrateConfig.h @@ -26,9 +26,9 @@ class AliMUONGlobalCrateConfig : public TNamed { // global crate enable /// set global crate enbale - void SetGlobalCrateEnable(UChar_t enable) {fGlobalCrateEnable = enable;} + void SetGlobalCrateEnable(UInt_t enable) {fGlobalCrateEnable = enable;} /// Get global crate enbale - UChar_t GetGlobalCrateEnable() {return fGlobalCrateEnable;} + UInt_t GetGlobalCrateEnable() {return fGlobalCrateEnable;} // Jtag /// Get Jtag board VME address @@ -197,7 +197,7 @@ class AliMUONGlobalCrateConfig : public TNamed { AliMUONGlobalCrateConfig& operator=(const AliMUONGlobalCrateConfig& rhs); // data members - UChar_t fGlobalCrateEnable; ///< Global Crate Enable + UInt_t fGlobalCrateEnable; ///< Global Crate Enable ULong_t fJtagVmeAddr; ///< JTag VME address UInt_t fJtagClockDiv; ///< Clock Divider number for JTag UInt_t fJtagRxPhase; ///< Rx phase number for JTag diff --git a/MUON/AliMUONTriggerGUIboard.cxx b/MUON/AliMUONTriggerGUIboard.cxx index 1902233387c..7d4bfb36383 100644 --- a/MUON/AliMUONTriggerGUIboard.cxx +++ b/MUON/AliMUONTriggerGUIboard.cxx @@ -200,7 +200,7 @@ void AliMUONTriggerGUIboard::MakeGeometry() // position index for common y-strip boards for (Int_t ich = 0; ich < kNMT; ich++) { if (fNPadsY[ich]) { - AliMpPad *pad = (AliMpPad*)fPadsY[ich]->At(0); + pad = (AliMpPad*)fPadsY[ich]->At(0); fYOver = pad->GetNofLocations(); break; }