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

Commit bdde081b authored by Jack Palevich's avatar Jack Palevich Committed by Android Git Automerger
Browse files

am ec3a88de: Merge "Fix convert8To4, convert8To5"

* commit 'ec3a88dee2c7d77c09eaad0c297f077744033d48':
  Fix convert8To4, convert8To5
parents 8a8a8e37 5cf28448
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -149,13 +149,13 @@ inline int divideBy255(int d) {
static
inline int convert8To4(int b) {
    int c = b & 0xff;
    return divideBy255(b * 15);
    return divideBy255(c * 15);
}

static
inline int convert8To5(int b) {
    int c = b & 0xff;
    return divideBy255(b * 31);
    return divideBy255(c * 31);
}

static