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+
14# 10.9.0
25- [ feature] Add new cache config API to customize SDK cache settings.
36- [ 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(
298298 uniqueAggregates.insert (std::move (pair));
299299 }
300300
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 ;
303303 result->query_type .structured_aggregation_query .aggregations_count = count;
304304 result->query_type .structured_aggregation_query .aggregations =
305305 MakeArray<_google_firestore_v1_StructuredAggregationQuery_Aggregation>(
You can’t perform that action at this time.
0 commit comments