]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - RAW/AliRawHLTManager.cxx
#86058: Fixes for RAW.
[u/mrichter/AliRoot.git] / RAW / AliRawHLTManager.cxx
index 7b67b3ee9ad8e90fbb20ac88b1a10ebee84835e6..ec37f579ebe72ea36fbcfa4c34dd248a7993bf34 100644 (file)
@@ -47,7 +47,7 @@ AliRawHLTManager::~AliRawHLTManager()
 }
 
 int AliRawHLTManager::fLibraryStatus=kUnloaded;
-void* AliRawHLTManager::fFctCreateRawReaderHLT=NULL;
+AliRawReaderHLTCreateInstance_t AliRawHLTManager::fFctCreateRawReaderHLT=NULL;
 void* AliRawHLTManager::fFctCreateRawStream=NULL;
 
 AliRawReader* AliRawHLTManager::CreateRawReaderHLT(AliRawReader* pParent, const char* detectors)
@@ -81,7 +81,7 @@ int AliRawHLTManager::LoadLibrary()
   // library has been loaded. If it was already loaded we get 0 
   int iTrials=0;
   do {
-    fFctCreateRawReaderHLT=gSystem->DynFindSymbol(ALIHLTREC_LIBRARY, ALIRAWREADERHLT_CREATE_INSTANCE);
+    fFctCreateRawReaderHLT=(AliRawReaderHLTCreateInstance_t)gSystem->DynFindSymbol(ALIHLTREC_LIBRARY, ALIRAWREADERHLT_CREATE_INSTANCE);
   } while (fFctCreateRawReaderHLT==NULL && gSystem->Load(ALIHLTREC_LIBRARY)==0 && iTrials++<1);
   if (fFctCreateRawReaderHLT) {
     iResult=kLoaded;