From dd07161c512e8d520da51f8bb82a65ec29aa57ba Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 26 Apr 2012 08:30:13 -0400 Subject: [PATCH] Fix warning about char* instead of const char*. --- Source/CTest/cmParseGTMCoverage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/CTest/cmParseGTMCoverage.cxx b/Source/CTest/cmParseGTMCoverage.cxx index 16e0f614b..130e40e78 100644 --- a/Source/CTest/cmParseGTMCoverage.cxx +++ b/Source/CTest/cmParseGTMCoverage.cxx @@ -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];