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

Commit 61d6a008 authored by Mark Salyzyn's avatar Mark Salyzyn Committed by Gerrit Code Review
Browse files

Merge "hwc test: 64-bit compilation error"

parents 6b4e5b7f e933c039
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -574,8 +574,8 @@ void initFrames(unsigned int seed)
        // mod the wMod/hMod value must be equal to 0.
        size_t w = (width * maxSizeRatio) * testRandFract();
        size_t h = (height * maxSizeRatio) * testRandFract();
        w = max(1u, w);
        h = max(1u, h);
        w = max(size_t(1u), w);
        h = max(size_t(1u), h);
        if ((w % formatPtr->wMod) != 0) {
            w += formatPtr->wMod - (w % formatPtr->wMod);
        }