commit | 45e46e8122765b499a2c84f9e1f057f975596591 | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Nov 09 20:50:08 2021 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Tue Nov 09 20:50:08 2021 +0000 |
tree | 7f55d8f0e12e5fecbbc8102f74c73872ad9184d5 | |
parent | b759b98a39f6d190ad21728aed35511e235302f6 [diff] | |
parent | 84583febb92b14dcf1568f062c266cc905b9d261 [diff] |
Merge "Specify type when calling ConsumeIntegralInRange" am: c9f73f28dd am: eedaa545f7 am: 84583febb9 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/1886185 Change-Id: I9f8c6a969baf5e264b98899018d27153f1c88496
diff --git a/services/inputflinger/tests/fuzzers/LatencyTrackerFuzzer.cpp b/services/inputflinger/tests/fuzzers/LatencyTrackerFuzzer.cpp index 9f756eb..4f066ad 100644 --- a/services/inputflinger/tests/fuzzers/LatencyTrackerFuzzer.cpp +++ b/services/inputflinger/tests/fuzzers/LatencyTrackerFuzzer.cpp
@@ -40,7 +40,7 @@ std::array<sp<IBinder>, 10>& tokens) { const bool useExistingToken = fdp.ConsumeBool(); if (useExistingToken) { - return tokens[fdp.ConsumeIntegralInRange(0ul, tokens.size() - 1)]; + return tokens[fdp.ConsumeIntegralInRange<size_t>(0ul, tokens.size() - 1)]; } return new BBinder(); }