Changeset 26652


Ignore:
Timestamp:
2013-01-10T15:32:18+13:00 (11 years ago)
Author:
davidb
Message:

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

File:
1 edited

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;
Note: See TracChangeset for help on using the changeset viewer.