fix type comparison in ruby plugin

pull/8543/head
Alexander Polcyn 8 years ago
parent 7bf63a2cd5
commit 79a1375f2a
  1. 2
      src/compiler/ruby_generator.cc

@ -133,7 +133,7 @@ grpc::string PackageToModule(const grpc::string& name) {
grpc::string result;
result.reserve(name.size());
for (int i = 0; i < name.size(); i++) {
for (grpc::string::size_type i = 0; i < name.size(); i++) {
if (name[i] == '_') {
next_upper = true;
} else {

Loading…
Cancel
Save