diff options
Diffstat (limited to 'Source/cmLocalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio7Generator.cxx | 4 |
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) { |