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
1 file changed