]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Introduce type cast to avoid warning message.
authormarkus <markus@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Aug 2007 14:10:40 +0000 (14:10 +0000)
committermarkus <markus@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 14 Aug 2007 14:10:40 +0000 (14:10 +0000)
STEER/AliDetectorTag.cxx

index f81be1b679d8b006c5e5e779a08514e144898eb7..eb384e57c95f8b7c8bac947b0ce164d1a996a1b7 100644 (file)
@@ -132,7 +132,7 @@ UInt_t AliDetectorTag::GetIntDetectorMask() {
   // Returns the detector mask UInt_t
   UInt_t mask = 0;
   for(Int_t k = 0; k < 20; k++) 
-    if(fDetectors[k] == 1) mask += TMath::Power(2,k);
+    if(fDetectors[k] == 1) mask += (UInt_t)TMath::Power(2,k);
   
   return mask;
 }