summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2001-04-16 19:40:40 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2001-04-16 19:40:40 (GMT)
commit7155d1f68b5823d7b5eacdfbbb75eeca347bbfc1 (patch)
tree322a52250eb75f93750865876646b00abf6b9e1f /Source/cmSystemTools.cxx
parentf63e4a144c20ed04828e9a13e24f4d878a876576 (diff)
downloadCMake-7155d1f68b5823d7b5eacdfbbb75eeca347bbfc1.zip
CMake-7155d1f68b5823d7b5eacdfbbb75eeca347bbfc1.tar.gz
CMake-7155d1f68b5823d7b5eacdfbbb75eeca347bbfc1.tar.bz2
BUG: fix small compile issues on HP aCC
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index 957ee46..0087ca0 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -43,9 +43,9 @@ bool cmSystemTools::s_ErrorOccured = false;
void cmSystemTools::GetPath(std::vector<std::string>& path)
{
#if defined(_WIN32) && !defined(__CYGWIN__)
- char* pathSep = ";";
+ const char* pathSep = ";";
#else
- char* pathSep = ":";
+ const char* pathSep = ":";
#endif
std::string pathEnv = getenv("PATH");
std::string::size_type start =0;