]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Fixes for compilation warnings
authormasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Dec 2010 18:34:56 +0000 (18:34 +0000)
committermasera <masera@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 17 Dec 2010 18:34:56 +0000 (18:34 +0000)
ITS/AliITSCompressRawDataSDD.cxx
ITS/AliITSDDLRawData.cxx

index 10f4126f24572b1fa8ab51570fd7ee0d290af0a0..e46f6aaed87aa82634595f8faec92bbb67eab197 100644 (file)
@@ -101,7 +101,7 @@ UInt_t AliITSCompressRawDataSDD::CompressEvent(UChar_t* inputPtr){
   Int_t mask4=0x000000FF;
   while(s.Next()){
     if(s.IsCompletedModule()==kTRUE){
-      word=15<<28;
+      word=UInt_t(15)<<28;
       word+=s.GetCarlosId();
       if(siz+4<fSizeInMemory){
        *(fPointerToData)=(word&mask4);
@@ -115,7 +115,7 @@ UInt_t AliITSCompressRawDataSDD::CompressEvent(UChar_t* inputPtr){
        siz+=4;
       }
     }else if(s.IsCompletedDDL()==kTRUE){
-      word=8<<28;
+      word=UInt_t(8)<<28;
       word+=s.GetJitter();
       if(siz+4<fSizeInMemory){
        *(fPointerToData)=(word&mask4);
index ecf8c729f211f9075e4d3cf136bc9e30889d51fb..c11cb38e43138925673551241bec23434e9c2bf7 100644 (file)
@@ -166,7 +166,7 @@ void AliITSDDLRawData::GetDigitsSDDCompressed(TClonesArray *ITSdigits, Int_t mod
       buf[fIndex]=dataWord;
     }
   }
-  UInt_t finalWord=15<<28;
+  UInt_t finalWord=UInt_t(15)<<28;
   finalWord+=mod;
   fIndex++;
   buf[fIndex]=finalWord;