summaryrefslogtreecommitdiff
path: root/automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp')
-rw-r--r--automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp b/automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp
index a442368c4e..09e1088ee4 100644
--- a/automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp
+++ b/automotive/evs/aidl/vts/VtsHalEvsTargetTest.cpp
@@ -526,7 +526,7 @@ TEST_P(EvsAidlTest, CameraStreamBuffering) {
mActiveCameras.push_back(pCam);
// Ask for a very large number of buffers in flight to ensure it errors correctly
- auto badResult = pCam->setMaxFramesInFlight(0xFFFFFFFF);
+ auto badResult = pCam->setMaxFramesInFlight(std::numeric_limits<int32_t>::max());
EXPECT_TRUE(!badResult.isOk() && badResult.getServiceSpecificError() ==
static_cast<int>(EvsResult::INVALID_ARG));