aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/channel/channelz_registry.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/lib/channel/channelz_registry.cc')
-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;