Fixed a warning under MSVC

pull/234/head
Cedric Nugteren 2017-12-23 15:30:08 +01:00
parent c6db6f67d7
commit 04bf5437bc
1 changed files with 1 additions and 1 deletions

View File

@ -341,7 +341,7 @@ std::vector<std::string> PreprocessDefinesAndComments(const std::string& source,
SubstituteDefines(defines_int, value);
const auto value_int = ParseMath(value);
if (value_int != -1) {
defines_int.emplace(name, static_cast<size_t>(value_int));
defines_int.emplace(name, value_int);
}
defines_string.emplace(name, value);
}