From: cvetan Date: Wed, 24 Jun 2009 08:22:42 +0000 (+0000) Subject: Fix for gcc 4.4 X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=12f048125cc3ba532662bfcdd61acc3bc3b2a1a2;p=u%2Fmrichter%2FAliRoot.git Fix for gcc 4.4 --- diff --git a/STEER/AliLog.cxx b/STEER/AliLog.cxx index 3835c8483ac..025852d202a 100644 --- a/STEER/AliLog.cxx +++ b/STEER/AliLog.cxx @@ -191,7 +191,7 @@ void AliLog::ReadEnvSettings() char* p = const_cast(levels.Data()); while (const char* module = strtok(p, " ")) { p = NULL; - char* pos = index(module, ':'); + char* pos = const_cast(index(module, ':')); if (!pos) continue; *(pos++) = '\0'; Int_t level = atoi(pos); @@ -206,7 +206,7 @@ void AliLog::ReadEnvSettings() char* p = const_cast(levels.Data()); while (const char* className = strtok(p, " ")) { p = NULL; - char* pos = index(className, ':'); + char* pos = const_cast(index(className, ':')); if (!pos) continue; *(pos++) = '\0'; Int_t level = atoi(pos);