summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-02-25 23:14:01 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-02-25 23:14:01 (GMT)
commit6ad590aad68434eb478ea4e0c0305fdde22bfc6b (patch)
tree6b887b8e5608372e031ab123ae115fe58d79d87f /Source/cmSystemTools.cxx
parentb253a0644d6244b84e36c82f124e4a80dbdc55ee (diff)
downloadCMake-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.cxx6
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;