summaryrefslogtreecommitdiffstats
path: root/Source/kwsys/SystemTools.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-04-13 13:54:37 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-04-13 13:54:37 (GMT)
commit3778d89cb907b9283c86a0e74be8dd4b9118ba5e (patch)
treeaeaaafbebdc5f3eff8a193ef0f29b5ce8b4d12ce /Source/kwsys/SystemTools.cxx
parent743ab3a05f0f73a5e01429feea1b1e5e3a423d8a (diff)
downloadCMake-3778d89cb907b9283c86a0e74be8dd4b9118ba5e.zip
CMake-3778d89cb907b9283c86a0e74be8dd4b9118ba5e.tar.gz
CMake-3778d89cb907b9283c86a0e74be8dd4b9118ba5e.tar.bz2
BUG: fix insert for 64 bit
Diffstat (limited to 'Source/kwsys/SystemTools.cxx')
-rw-r--r--Source/kwsys/SystemTools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 5ecc559..9587831 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1296,8 +1296,8 @@ kwsys_stl::string SystemTools::ConvertToWindowsOutputPath(const char* path)
if(ret.find(' ') != kwsys_stl::string::npos
&& ret[0] != '\"')
{
- ret.insert(static_cast<unsigned int>(0),
- static_cast<unsigned int>(1), '\"');
+ ret.insert(static_cast<kwsys_stl::string::size_type>(0),
+ static_cast<kwsys_stl::string::size_type>(1), '\"');
ret.append(1, '\"');
}
return ret;