Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 339f0aca authored by Changyeon Jo's avatar Changyeon Jo
Browse files

Explicitly type cast a variable

Fix: 217126594
Test: Successful build aosp_x86-eng target
Change-Id: I8b9b4051c4296fd3ecf0b89b1d1352020db02d5a
parent 33ba66bb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -376,7 +376,7 @@ Return<void> EvsCamera::importExternalBuffers([[maybe_unused]] const hidl_vec<Bu
        if (numBuffersToAdd > (kMaxBuffersInFlight - mFramesAllowed)) {
            numBuffersToAdd -= (kMaxBuffersInFlight - mFramesAllowed);
            ALOGW("Exceed the limit on number of buffers. %" PRIu64 " buffers will be added only.",
                  numBuffersToAdd);
                  static_cast<uint64_t>(numBuffersToAdd));
        }

        GraphicBufferMapper& mapper = GraphicBufferMapper::get();