File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ # Unreleased
2
+ - [ fixed] Fixed a compilation warning related to integer casting. (#11332 )
3
+
1
4
# 10.9.0
2
5
- [ feature] Add new cache config API to customize SDK cache settings.
3
6
- [ feature] Add LRU garbage collector as an option to memory cache.
Original file line number Diff line number Diff line change @@ -298,8 +298,8 @@ DatastoreSerializer::EncodeAggregateQueryRequest(
298
298
uniqueAggregates.insert (std::move (pair));
299
299
}
300
300
301
- auto count = uniqueAggregates.size ();
302
- size_t aggregationNum = 0 ;
301
+ pb_size_t count = static_cast < pb_size_t >( uniqueAggregates.size () );
302
+ pb_size_t aggregationNum = 0 ;
303
303
result->query_type .structured_aggregation_query .aggregations_count = count;
304
304
result->query_type .structured_aggregation_query .aggregations =
305
305
MakeArray<_google_firestore_v1_StructuredAggregationQuery_Aggregation>(
You can’t perform that action at this time.
0 commit comments