]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/misc/AliL3DataHandler.cxx
New version of SPD raw-data reconstruction. The format now correponds to the actual...
[u/mrichter/AliRoot.git] / HLT / misc / AliL3DataHandler.cxx
index 6fab96b43bd30046a1eedaafce01b5dc083adc70..a8eef04cef3566e0eeea2c0831678536d9107362 100644 (file)
@@ -14,7 +14,7 @@
 #include "AliL3DataHandler.h"
 #include "AliL3DigitData.h"
 
-#if __GNUC__ == 3
+#if __GNUC__ >= 3
 using namespace std;
 #endif
 
@@ -84,13 +84,13 @@ void AliL3DataHandler::Convert10to8Bit()
   if(!fInBinary)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::Convert10to8Bit","File")
-       <<AliL3Log::kHex<<"Pointer to input file : "<<(Int_t)fInBinary<<ENDLOG;
+       <<AliL3Log::kHex<<"Pointer to input file : "<<(void*)fInBinary<<ENDLOG;
       return;
     }
   if(!fOutBinary)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::Convert10to8Bit","File")
-       <<AliL3Log::kHex<<"Pointer to output file : "<<(Int_t)fOutBinary<<ENDLOG;
+       <<AliL3Log::kHex<<"Pointer to output file : "<<(void*)fOutBinary<<ENDLOG;
       return;
     }
   
@@ -190,13 +190,13 @@ Bool_t AliL3DataHandler::Memory2CompMemory(UInt_t nrow,AliL3DigitRowData *data,B
   if(!data)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::Memory2CompMemory","Data")
-       <<AliL3Log::kHex<<" Pointer to data = "<<(Int_t)data<<ENDLOG;
+       <<AliL3Log::kHex<<" Pointer to data = "<<(void*)data<<ENDLOG;
       return 0;  
     }
   if(!comp)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::Memory2CompMemory","Data")
-       <<AliL3Log::kHex<<" Pointer to compressed data = "<<(Int_t)comp<<ENDLOG;
+       <<AliL3Log::kHex<<" Pointer to compressed data = "<<(void*)comp<<ENDLOG;
       return 0;  
     }
 
@@ -333,7 +333,7 @@ UInt_t AliL3DataHandler::GetCompMemorySize(UInt_t nrow,AliL3DigitRowData *data)
   if(!data)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::GetCompMemorySize","Data")
-       <<AliL3Log::kHex<<" Data pointer = "<<(Int_t)data<<ENDLOG;
+       <<AliL3Log::kHex<<" Data pointer = "<<(void*)data<<ENDLOG;
       return 0;
     }
   
@@ -441,13 +441,13 @@ UInt_t AliL3DataHandler::CompMemory2Memory(UInt_t nrow,AliL3DigitRowData *data,B
   if(!data)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::CompMemory2Memory","Array")
-       <<AliL3Log::kHex<<"Pointer to data: "<<(Int_t)data<<ENDLOG;
+       <<AliL3Log::kHex<<"Pointer to data: "<<(void*)data<<ENDLOG;
       return 0;
     }
   if(!comp)
     {
       LOG(AliL3Log::kError,"AliL3DataHandler::CompMemory2Memory","Array")
-       <<AliL3Log::kHex<<"Pointer to compressed data: "<<(Int_t)data<<ENDLOG;
+       <<AliL3Log::kHex<<"Pointer to compressed data: "<<(void*)comp<<ENDLOG;
       return 0;
     }