diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-25 23:14:01 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-25 23:14:01 (GMT) |
commit | 6ad590aad68434eb478ea4e0c0305fdde22bfc6b (patch) | |
tree | 6b887b8e5608372e031ab123ae115fe58d79d87f /Source/cmSystemTools.cxx | |
parent | b253a0644d6244b84e36c82f124e4a80dbdc55ee (diff) | |
download | CMake-6ad590aad68434eb478ea4e0c0305fdde22bfc6b.zip CMake-6ad590aad68434eb478ea4e0c0305fdde22bfc6b.tar.gz CMake-6ad590aad68434eb478ea4e0c0305fdde22bfc6b.tar.bz2 |
ENH: dot net almost working
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 4b2de1b..13d178b 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -179,9 +179,9 @@ void cmSystemTools::ReplaceString(std::string& source, const char* replace, const char* with) { - int lengthReplace = strlen(replace); + std::string::size_type lengthReplace = strlen(replace); std::string rest; - size_t start = source.find(replace); + std::string::size_type start = source.find(replace); while(start != std::string::npos) { rest = source.substr(start+lengthReplace); @@ -393,7 +393,7 @@ std::string cmSystemTools::UpperCase(const std::string& s) } -// convert windows slashes to unix slashes \ with / +// convert windows slashes to unix slashes void cmSystemTools::ConvertToUnixSlashes(std::string& path) { std::string::size_type pos = 0; |