diff options
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 4 |
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; |