diff options
author | Josh Haberman <jhaberman@gmail.com> | 2015-05-13 16:23:35 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2015-05-13 17:10:14 -0700 |
commit | eace8e32954eb6152e8df06f5a18905c235f0156 (patch) | |
tree | 21d0bc239693c8cb4b3ea898ffea1ee694f6ac2f /upb/bindings/googlepb/bridge.cc | |
parent | 51cf616dab63ba65c30cc58f0e5a61724aa4f731 (diff) |
Enable Travis for Clang, and enable -Werror for all Travis builds.
Also added an extra Clang-only warning flag.
Diffstat (limited to 'upb/bindings/googlepb/bridge.cc')
-rw-r--r-- | upb/bindings/googlepb/bridge.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upb/bindings/googlepb/bridge.cc b/upb/bindings/googlepb/bridge.cc index 2a2bbbf..394f7b4 100644 --- a/upb/bindings/googlepb/bridge.cc +++ b/upb/bindings/googlepb/bridge.cc @@ -99,7 +99,7 @@ const MessageDef* DefBuilder::GetMaybeUnfrozenMessageDef( fields.push_back(d->field(i)); } - for (int i = 0; i < fields.size(); i++) { + for (size_t i = 0; i < fields.size(); i++) { const goog::FieldDescriptor* proto2_f = fields[i]; assert(proto2_f); md->AddField(NewFieldDef(proto2_f, m), &status); |