summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmParseGTMCoverage.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2012-04-26 12:30:13 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2012-04-26 12:30:13 (GMT)
commitdd07161c512e8d520da51f8bb82a65ec29aa57ba (patch)
treed57c0a62a75fe03cf089b0aefc8f2273824b777a /Source/CTest/cmParseGTMCoverage.cxx
parente6412e084ed6ba77c17292e3e7c5b9d8e2450bab (diff)
downloadCMake-dd07161c512e8d520da51f8bb82a65ec29aa57ba.zip
CMake-dd07161c512e8d520da51f8bb82a65ec29aa57ba.tar.gz
CMake-dd07161c512e8d520da51f8bb82a65ec29aa57ba.tar.bz2
Fix warning about char* instead of const char*.
Diffstat (limited to 'Source/CTest/cmParseGTMCoverage.cxx')
-rw-r--r--Source/CTest/cmParseGTMCoverage.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/CTest/cmParseGTMCoverage.cxx b/Source/CTest/cmParseGTMCoverage.cxx
index 16e0f61..130e40e 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];