Commit 5cced076 by Anton Danielsson

Fixed int to char warning.

parent 0a8e0dbb
......@@ -92,7 +92,7 @@ static std::string FlagToEnvVar(const char* flag) {
std::string env_var;
for (size_t i = 0; i != flag_str.length(); ++i)
env_var += ::toupper(flag_str.c_str()[i]);
env_var += static_cast<char>(::toupper(flag_str.c_str()[i]));
return "BENCHMARK_" + env_var;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment