aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-10-05 14:22:22 -0700
committerGravatar ncteisen <ncteisen@gmail.com>2018-10-05 16:05:21 -0700
commit8abb4370a99eefdb05de3d0e0c75116ea0354d4b (patch)
treedc5c70f7f53f300bec2a7ea08d30edcdcbddea64 /src/core/lib
parent4b36519c40db7619a335cf3a01ee78730ff2ccdb (diff)
Add pop_back test
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/channel/channelz_registry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/channel/channelz_registry.cc b/src/core/lib/channel/channelz_registry.cc
index 4deb8c29aa..007ede2580 100644
--- a/src/core/lib/channel/channelz_registry.cc
+++ b/src/core/lib/channel/channelz_registry.cc
@@ -92,7 +92,7 @@ int ChannelzRegistry::FindByUuidLocked(intptr_t target_uuid) {
}
intptr_t uuid = entities_[first_non_null]->uuid();
if (uuid == target_uuid) {
- return first_non_null;
+ return int(first_non_null);
}
if (uuid < target_uuid) {
left = first_non_null + 1;