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

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];