diff options
author | nnoble <nnoble@google.com> | 2014-12-12 11:42:26 -0800 |
---|---|---|
committer | Nicolas Noble <nnoble@google.com> | 2014-12-12 16:24:32 -0800 |
commit | 72309c6c5d7c4fdfffb502b373a2971b1412fa6f (patch) | |
tree | 597478414cc6bf22af50bab4c0f764ec7d63719d /src/compiler | |
parent | 3656f94978422017cb9ab9334f2f8dfeb6cdd0f9 (diff) |
Getting the generated Makefile to support .proto files.
-) Compiling the proto plugin using the HOSTCC compiler.
-) Set up proper rules to invoke the plugin from protoc.
-) Few various renaming hacks to fully get out of [].
Change on 2014/12/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=82000361
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/ruby_generator_string-inl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/ruby_generator_string-inl.h b/src/compiler/ruby_generator_string-inl.h index f9c377d9bc..f74f2c7355 100644 --- a/src/compiler/ruby_generator_string-inl.h +++ b/src/compiler/ruby_generator_string-inl.h @@ -112,7 +112,7 @@ inline string RubyTypeOf(const string& a_type, const string& package) { return res; } else { vector<string> prefixes_and_type = Split(res, '.'); - for (int i = 0; i < prefixes_and_type.size(); ++i) { + for (unsigned int i = 0; i < prefixes_and_type.size(); ++i) { if (i != 0) { res += "::"; // switch '.' to the ruby module delim } |