Show
Ignore:
Timestamp:
10.01.2013 15:32:18 (7 years ago)
Author:
davidb
Message:

More careful typecase to (const char*) rather than (char*). Change motivated by mingw compiler

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/src/lib/display.cpp

    r24965 r26652  
    16571657 
    16581658      // and again in the collection specific package "Style" 
    1659       macrovalue = macro_find(collectionmacros,(char*)"Style",macroname); 
     1659      macrovalue = macro_find(collectionmacros,(const char*)"Style",macroname); 
    16601660      if (macrovalue != NULL) 
    16611661    break; 
     
    16671667 
    16681668      // and again in the package "Style" 
    1669       macrovalue = macro_find(defaultmacros,(char*)"Style",macroname); 
     1669      macrovalue = macro_find(defaultmacros,(const char*)"Style",macroname); 
    16701670      if (macrovalue != NULL) 
    16711671    break;