Fix implicit conversion error
Fixes the following compile error when building on Windows with
GN arg use_custom_libcxx=false.
../../base/allocator/partition_allocator/src\partition_alloc/thread_cache.h(187,42): error: implicit conversion loses integer precision: 'uint16_t' (aka 'unsigned short') to 'uint8_t' (aka 'unsigned char') [-Werror,-Wimplicit-int-conversion]
187 | uint8_t largest_active_bucket_index_ = internal::BucketIndexLookup::GetIndex(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
188 | ThreadCacheLimits::kDefaultSizeThreshold);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.
Change-Id: I62dfc334cc4003a59fd8626e207b059e346f1b38
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5120035
Reviewed-by: Bartek Nowierski <bartekn@chromium.org>
Commit-Queue: Marshall Greenblatt <marshall@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1237115}
NOKEYCHECK=True
GitOrigin-RevId: d484f6ec10ea3a5b3088043c53df6fc8a2b8261a
1 file changed