]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDtrapAlu.cxx
Removing warnings on gcc 4.3
[u/mrichter/AliRoot.git] / TRD / AliTRDtrapAlu.cxx
index fcdab3d106203b706e0af571edcb265124aa74bc..005cdca549c0283a40233d086eb56435f62a3616 100644 (file)
@@ -130,7 +130,7 @@ AliTRDtrapAlu& AliTRDtrapAlu::AssignInt(const Int_t& first){
     \r
     //setting fValue to maximum; first was to big\r
     fValue  = fuRestriction;\r
-    fValue  = fValue & LUT(exponent)-1;\r
+    fValue  = fValue & (LUT(exponent)-1);\r
     return *this;\r
   }\r
 \r
@@ -138,14 +138,14 @@ AliTRDtrapAlu& AliTRDtrapAlu::AssignInt(const Int_t& first){
     \r
     //setting fValue to minimum; first was to small\r
     fValue  = flRestriction;\r
-    fValue  = fValue & LUT(exponent)-1;\r
+    fValue  = fValue & (LUT(exponent)-1);\r
     return *this;\r
   }\r
 \r
   \r
   fValue  = first;\r
   fValue  = fValue<<fPostCom; \r
-  fValue  = fValue & LUT(exponent)-1;\r
+  fValue  = fValue & (LUT(exponent)-1);\r
  \r
   return *this;\r
     \r