Skip to content

Commit a077cba

Browse files
committed
fix c++ format error
1 parent 55524cb commit a077cba

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Firestore/core/src/api/query_snapshot.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
#include <utility>
2323
#include <vector>
2424

25+
#include <vector>
2526
#include "Firestore/core/src/api/api_fwd.h"
2627
#include "Firestore/core/src/api/document_change.h"
2728
#include "Firestore/core/src/api/document_snapshot.h"

Firestore/core/src/core/expressions_eval.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,8 @@ template <typename T>
584584
bool ProcessUtf8(const std::string& s,
585585
T* result,
586586
std::function<void(T*, uint32_t, absl::string_view)> func) {
587-
int i = 0;
588-
const int len = s.size();
587+
size_t i = 0;
588+
const size_t len = s.size();
589589
const unsigned char* data = reinterpret_cast<const unsigned char*>(s.data());
590590

591591
while (i < len) {

0 commit comments

Comments
 (0)