aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/pubsub/publisher_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pubsub/publisher_test.cc')
-rw-r--r--examples/pubsub/publisher_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pubsub/publisher_test.cc b/examples/pubsub/publisher_test.cc
index 40b122bc74..b7bea5b1bd 100644
--- a/examples/pubsub/publisher_test.cc
+++ b/examples/pubsub/publisher_test.cc
@@ -138,7 +138,7 @@ TEST_F(PublisherTest, TestPublisher) {
std::vector<grpc::string> topics;
EXPECT_TRUE(publisher_->ListTopics(kProjectId, &topics).IsOk());
- EXPECT_EQ(topics.size(), 1);
+ EXPECT_EQ(topics.size(), static_cast<size_t>(1));
EXPECT_EQ(topics[0], kTopic);
}