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

Commit af442b17 authored by donghongweng's avatar donghongweng Committed by Donghong Weng
Browse files

Explicit conversion

Test: m tests
Change-Id: Ie0c00a51dee1d97239b0ef6f29334d176ddec32a
parent 361ab175
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -444,7 +444,7 @@ TEST_P(VibratorAidl, ComposeValidPrimitives) {

            effect.delayMs = std::rand() % (maxDelay + 1);
            effect.primitive = primitive;
            effect.scale = static_cast<float>(std::rand()) / RAND_MAX;
            effect.scale = static_cast<float>(std::rand()) / static_cast<float>(RAND_MAX);
            composite.emplace_back(effect);

            if (composite.size() == maxSize) {