diff options
-rw-r--r-- | Source/kwsys/SystemTools.cxx | 3 |
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; |