diff options
| author | 2023-10-18 08:29:54 +0000 | |
|---|---|---|
| committer | 2023-10-18 08:29:54 +0000 | |
| commit | 18efdb7009cd65011180827c353ccc799ece61d1 (patch) | |
| tree | fb530da06a3081113c0a694df8c8b8e566c4230d /libs/gui/FrameRateUtils.cpp | |
| parent | 9160050592c5ce8936e875d11c091835d101a62a (diff) | |
TFLite: Accommodate change in std::span size type
The WIP version of std::span in external/libcxx uses a ptrdiff_t size,
but the finalized C++20 std::span uses a size_t size instead. Comparing
the size_t size() against a signed integer causes a
-Werror,-Wsign-compare build error. Cast the size() expression so that
the code compiles with both the old and the new libc++.
Bug: 175635923
Test: m MODULES-IN-frameworks-native
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:a119a69b066f7bb03d51665a35bef17cecacbe95)
Merged-In: I50cc5354b6205b62918157b69df6cf1aa7bad6cc
Change-Id: I50cc5354b6205b62918157b69df6cf1aa7bad6cc
Diffstat (limited to 'libs/gui/FrameRateUtils.cpp')
0 files changed, 0 insertions, 0 deletions