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

Commit 523476a4 authored by Andy Hung's avatar Andy Hung
Browse files

Fix for Change 396851



Fix a typo in a variable name.

Change-Id: I2555f729fc22b9c158ae488c8cefde029fa244cb
Signed-off-by: default avatarAndy Hung <hunga@google.com>
parent 04143e41
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ static inline double sqr(double x) {
static inline int64_t toint(double x, int64_t maxval) {
    int64_t v;

    v = static_cast<int64_t>(floor(y * maxval + 0.5));
    v = static_cast<int64_t>(floor(x * maxval + 0.5));
    if (v >= maxval) {
        return maxval - 1; // error!
    }