aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar chenw <chenw@google.com>2014-12-22 15:30:25 -0800
committerGravatar Jan Tattermusch <jtattermusch@google.com>2014-12-29 17:21:43 -0800
commita49839f0ffb49c690c96166507a1a7187623e764 (patch)
tree4f7922b14430f4054c6c6b0891edecdbdefe954d
parentebb4e6dcc6503bca9034cd59cf48da36984862a6 (diff)
fix MOE compliling error.
Change on 2014/12/22 by chenw <chenw@google.com> ------------- Created by MOE: http://code.google.com/p/moe-java MOE_MIGRATED_REVID=82682265
-rw-r--r--src/cpp/client/channel_arguments.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpp/client/channel_arguments.cc b/src/cpp/client/channel_arguments.cc
index cc888c1091..eba9c1e76a 100644
--- a/src/cpp/client/channel_arguments.cc
+++ b/src/cpp/client/channel_arguments.cc
@@ -42,7 +42,7 @@ void ChannelArguments::SetSslTargetNameOverride(const grpc::string& name) {
}
grpc::string ChannelArguments::GetSslTargetNameOverride() const {
- for (int i = 0; i < args_.size(); i++) {
+ for (unsigned int i = 0; i < args_.size(); i++) {
if (grpc::string(GRPC_SSL_TARGET_NAME_OVERRIDE_ARG) == args_[i].key) {
return args_[i].value.string;
}