]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Removed a warning from non-const char in declaration
authorhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Aug 2008 19:24:20 +0000 (19:24 +0000)
committerhdalsgaa <hdalsgaa@f7af4fe6-9843-0410-8265-dc069ae4e863>
Sun, 3 Aug 2008 19:24:20 +0000 (19:24 +0000)
FMD/FMDBaseda.cxx

index 5b211004b89143ee76be35b393229c0b9ee33967..3ef1065241a0fbc3c736cb2b3c00bd0e13ec1fc0 100644 (file)
@@ -39,10 +39,10 @@ int main(int argc, char **argv)
 #endif
   
   
-  Char_t* tableSOD[]  = {"ALL", "no", "SOD", "all", NULL, NULL};
+  const Char_t* tableSOD[]  = {"ALL", "no", "SOD", "all", NULL, NULL};
 
 
-  monitorDeclareTable(tableSOD);
+  monitorDeclareTable(const_cast<char**>(tableSOD));
 
   
   Char_t* fileName = argv[1];