mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 12:09:48 +00:00
BUG: fix insert for 64 bit
This commit is contained in:
parent
743ab3a05f
commit
3778d89cb9
@ -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)
|
||||
|
@ -1296,8 +1296,8 @@ kwsys_stl::string SystemTools::ConvertToWindowsOutputPath(const char* path)
|
||||
if(ret.find(' ') != kwsys_stl::string::npos
|
||||
&& ret[0] != '\"')
|
||||
{
|
||||
ret.insert(static_cast<unsigned int>(0),
|
||||
static_cast<unsigned int>(1), '\"');
|
||||
ret.insert(static_cast<kwsys_stl::string::size_type>(0),
|
||||
static_cast<kwsys_stl::string::size_type>(1), '\"');
|
||||
ret.append(1, '\"');
|
||||
}
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user