]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
correcting compilation error on gcc 4.4 due to changed return type of strstr
authorrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jun 2009 08:44:05 +0000 (08:44 +0000)
committerrichterm <richterm@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jun 2009 08:44:05 +0000 (08:44 +0000)
HLT/BASE/AliHLTComponentHandler.cxx

index 06e09830e513e5c14775802ab0643dcf0a1c8cfd..e9b6e5aa8141227ad071ed8a2ea2a7294cd47b54 100644 (file)
@@ -627,7 +627,7 @@ int AliHLTComponentHandler::ActivateAgents(const char* library, const char* blac
 
     // check if the current agent is in the black list
     if (blackList) {
-      char* found=strstr(blackList, pAgent->GetModuleId());
+      const char* found=strstr(blackList, pAgent->GetModuleId());
       if (found) {
        found+=strlen(pAgent->GetModuleId());
        // skip this agent as it is in the blacklist