diff options
| author | 2021-07-13 10:56:15 -0700 | |
|---|---|---|
| committer | 2021-11-09 18:07:01 +0000 | |
| commit | ac2fb3deaacc01ca2fb583b6304c459f0e3971ae (patch) | |
| tree | 46a8013fad3809bc40e72ad88cbbafe4df50a362 /libs/gui/DisplayEventDispatcher.cpp | |
| parent | 4c6ec526f9170f0578cea72db852a4ec84e859a7 (diff) | |
Specify type when calling ConsumeIntegralInRange
This fixes the following build error on git_master-without-vendor:
LatencyTrackerFuzzer.cpp:43:27: error: no matching member function for call to 'ConsumeIntegralInRange'
return tokens[fdp.ConsumeIntegralInRange(0ul, tokens.size() - 1)];
~~~~^~~~~~~~~~~~~~~~~~~~~~
prebuilts/clang/host/linux-x86/clang-r416183b1/lib64/clang/12.0.7/include/fuzzer/FuzzedDataProvider.h:203:23: note: candidate template ignored: deduced conflicting types for paramete
r 'T' ('unsigned long' vs. 'unsigned int')
T FuzzedDataProvider::ConsumeIntegralInRange(T min, T max) {
^
1 error generated.
The issue can be reproduced on git_master by lunching to aosp_x86-eng
build target.
Test: lunch aosp_x86-eng && m inputflinger_latencytracker_fuzzer
Bug: none
Bug: 205715187
Change-Id: I185438c8440b6d547222a3c9872d33a71c9ac2c7
Merged-In: I185438c8440b6d547222a3c9872d33a71c9ac2c7
Diffstat (limited to 'libs/gui/DisplayEventDispatcher.cpp')
0 files changed, 0 insertions, 0 deletions