summaryrefslogtreecommitdiffstats
path: root/Source/kwsys
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2005-04-12 17:33:58 (GMT)
committerBrad King <brad.king@kitware.com>2005-04-12 17:33:58 (GMT)
commit85f82c2092a47603d2564fbde8a8e4852ede8c8e (patch)
tree593839969309abbf27addfd5d56535ae2ac3fcb5 /Source/kwsys
parent100407394209e44cd8a2dae555d2424161f45a6e (diff)
downloadCMake-85f82c2092a47603d2564fbde8a8e4852ede8c8e.zip
CMake-85f82c2092a47603d2564fbde8a8e4852ede8c8e.tar.gz
CMake-85f82c2092a47603d2564fbde8a8e4852ede8c8e.tar.bz2
COMP: Fixed ambiguous call to insert method of string.
Diffstat (limited to 'Source/kwsys')
-rw-r--r--Source/kwsys/SystemTools.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 256b8f1..5ecc559 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -1296,7 +1296,8 @@ kwsys_stl::string SystemTools::ConvertToWindowsOutputPath(const char* path)
if(ret.find(' ') != kwsys_stl::string::npos
&& ret[0] != '\"')
{
- ret.insert(0, 1, '\"');
+ ret.insert(static_cast<unsigned int>(0),
+ static_cast<unsigned int>(1), '\"');
ret.append(1, '\"');
}
return ret;