summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-04-12 19:40:07 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-04-12 19:40:07 (GMT)
commita18df448dbe719c3035ef97c6fe6e2c84bc42b5e (patch)
tree5eda8e0ecc7693fcee428181db5b2366789aba09
parentc8cc20a1af50be50ae818134142d7fa1270766c3 (diff)
downloadCMake-a18df448dbe719c3035ef97c6fe6e2c84bc42b5e.zip
CMake-a18df448dbe719c3035ef97c6fe6e2c84bc42b5e.tar.gz
CMake-a18df448dbe719c3035ef97c6fe6e2c84bc42b5e.tar.bz2
BUG: fix Ambiguity in insert call
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index e623d2c..6796b21 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -545,7 +545,9 @@ void cmLocalVisualStudio7Generator::FillFlagMapFromCommandFlags(
{
option.reserve(strlen(flagTable->commandFlag+2));
// first do the - version
- option.insert(0, 1, '-');
+ option.insert(static_cast<unsigned int>(0),
+ static_cast<unsigned int>(1),
+ '-');
option.append(flagTable->commandFlag);
while(flags.find(option) != flags.npos)
{