Skip to content

Commit 71820c7

Browse files
committed
fix warning
1 parent 2437141 commit 71820c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Firestore/core/src/api/stages.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ google_firestore_v1_Pipeline_Stage DocumentsSource::to_proto() const {
8484

8585
result.name = nanopb::MakeBytesArray("documents");
8686

87-
result.args_count = documents_.size();
87+
result.args_count = static_cast<pb_size_t>(documents_.size());
8888
result.args = nanopb::MakeArray<google_firestore_v1_Value>(result.args_count);
8989

9090
for (size_t i = 0; i < documents_.size(); ++i) {

0 commit comments

Comments
 (0)