Fix warning about char* instead of const char*.

This commit is contained in:
Bill Hoffman 2012-04-26 08:30:13 -04:00
parent e6412e084e
commit dd07161c51
1 changed files with 1 additions and 1 deletions

View File

@ -351,7 +351,7 @@ bool cmParseGTMCoverage::ReadMCovFile(const char* file)
else
{
// try some alternate names
char* tryname[] = {"GUX", "GTM", "ONT", 0};
const char* tryname[] = {"GUX", "GTM", "ONT", 0};
for(int k=0; tryname[k] != 0; k++)
{
std::string routine2 = routine + tryname[k];