summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalVisualStudio7Generator.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/cmLocalVisualStudio7Generator.cxx
parent743ab3a05f0f73a5e01429feea1b1e5e3a423d8a (diff)
downloadCMake-3778d89cb907b9283c86a0e74be8dd4b9118ba5e.zip
CMake-3778d89cb907b9283c86a0e74be8dd4b9118ba5e.tar.gz
CMake-3778d89cb907b9283c86a0e74be8dd4b9118ba5e.tar.bz2
BUG: fix insert for 64 bit
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r--Source/cmLocalVisualStudio7Generator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalVisualStudio7Generator.cxx b/Source/cmLocalVisualStudio7Generator.cxx
index 6796b21..f92bbb0 100644
--- a/Source/cmLocalVisualStudio7Generator.cxx
+++ b/Source/cmLocalVisualStudio7Generator.cxx
@@ -545,8 +545,8 @@ void cmLocalVisualStudio7Generator::FillFlagMapFromCommandFlags(
{
option.reserve(strlen(flagTable->commandFlag+2));
// first do the - version
- option.insert(static_cast<unsigned int>(0),
- static_cast<unsigned int>(1),
+ option.insert(static_cast<std::string::size_type>(0),
+ static_cast<std::string::size_type>(1),
'-');
option.append(flagTable->commandFlag);
while(flags.find(option) != flags.npos)