diff options
author | Brad King <brad.king@kitware.com> | 2014-11-17 14:40:47 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2014-11-17 14:40:47 (GMT) |
commit | c61efbd684337bafc6388a3e4daff23492d9992d (patch) | |
tree | ba490f8447a9cc5db52daea9167c12296c0adbc8 /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | ba007d3f07acb18f41d48575ca0b8700cd4a6e8e (diff) | |
parent | b138be07b4b2258a3c64245cdf13a4d7cc05b977 (diff) | |
download | CMake-c61efbd684337bafc6388a3e4daff23492d9992d.zip CMake-c61efbd684337bafc6388a3e4daff23492d9992d.tar.gz CMake-c61efbd684337bafc6388a3e4daff23492d9992d.tar.bz2 |
Merge topic 'fix-vs2015-warnings'
b138be07 cmVisualStudio10TargetGenerator: fix a narrowing warning
8d379cd7 cmCallVisualStudioMacro: fix a shadowing warning
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 8109b16..2b5d162 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -307,7 +307,7 @@ void cmVisualStudio10TargetGenerator::Generate() this->BuildFileStream->SetCopyIfDifferent(true); // Write the encoding header into the file - char magic[] = {0xEF,0xBB, 0xBF}; + char magic[] = {char(0xEF), char(0xBB), char(0xBF)}; this->BuildFileStream->write(magic, 3); //get the tools version to use @@ -937,7 +937,7 @@ void cmVisualStudio10TargetGenerator::WriteGroups() path += ".vcxproj.filters"; cmGeneratedFileStream fout(path.c_str()); fout.SetCopyIfDifferent(true); - char magic[] = {0xEF,0xBB, 0xBF}; + char magic[] = {char(0xEF), char(0xBB), char(0xBF)}; fout.write(magic, 3); cmGeneratedFileStream* save = this->BuildFileStream; this->BuildFileStream = & fout; |