]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixing compiler warnings
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Nov 2008 18:57:34 +0000 (18:57 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Thu, 13 Nov 2008 18:57:34 +0000 (18:57 +0000)
MUON/AliMUONGlobalCrateConfig.cxx
MUON/AliMUONGlobalCrateConfig.h
MUON/AliMUONTriggerGUIboard.cxx

index 835a6840971d1781665d800170e504814e0a4d19..b0d884b04441ff7ae5d82ea438d329127528bf3d 100644 (file)
@@ -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);
 
index 8132eba75608fcb41c66c155ab399f4099b3107f..c5fa8f6d68d25ef8659b45206aea371dd8e9025b 100644 (file)
@@ -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 
index 1902233387c584eb46adf41dd682bd11223e686d..7d4bfb36383e9373c2158c132d527bd6f3510fba 100644 (file)
@@ -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;
     }