aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/compiler/ruby_generator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/ruby_generator.cc b/src/compiler/ruby_generator.cc
index ee2502e150..14854cfa4a 100644
--- a/src/compiler/ruby_generator.cc
+++ b/src/compiler/ruby_generator.cc
@@ -133,7 +133,7 @@ grpc::string PackageToModule(const grpc::string& name) {
grpc::string result;
result.reserve(name.size());
- for (uint i = 0; i < name.size(); i++) {
+ for (int i = 0; i < name.size(); i++) {
if (name[i] == '_') {
next_upper = true;
} else {