From b094f94d0b2d1a18ab38b3af344afe57edb79e4a Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Tue, 12 Apr 2005 13:33:58 -0400
Subject: [PATCH] COMP: Fixed ambiguous call to insert method of string.

---
 SystemTools.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SystemTools.cxx b/SystemTools.cxx
index 91ce848..ad8b288 100644
--- a/SystemTools.cxx
+++ b/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;
-- 
GitLab