Skip to content
Snippets Groups Projects
Commit 4bc4979a authored by Wouter van Oortmerssen's avatar Wouter van Oortmerssen
Browse files

Fix compiler warning on Visual Studio.

Change-Id: Ifda5f2c32c6484508d5e12a463d6373798f1f523
parent b095367d
No related branches found
No related tags found
No related merge requests found
......@@ -50,7 +50,7 @@ namespace grpc_go_generator {
grpc::string unexportName(grpc::string s) {
if (s.empty())
return s;
s[0] = std::tolower(s[0]);
s[0] = static_cast<char>(std::tolower(s[0]));
return s;
}
......@@ -58,7 +58,7 @@ grpc::string unexportName(grpc::string s) {
grpc::string exportName(grpc::string s) {
if (s.empty())
return s;
s[0] = std::toupper(s[0]);
s[0] = static_cast<char>(std::toupper(s[0]));
return s;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment