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

Commit 7b803ece authored by Yi Kong's avatar Yi Kong
Browse files

Fix incorrect use of `||` in place of `|`

This is discovered by Clang int-in-bool-context warning.

Test: presubmit
Bug: 148287349
Change-Id: I46cff93b346637f879e7df2e778f5b899d31023d
parent fb35baa9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -173,7 +173,7 @@ class StateMachineTest : public Test {
                         : ((uint16_t)(remote_bda.address[0] ^
                                       remote_bda.address[1] ^
                                       remote_bda.address[2]))
                                   << 8 ||
                                   << 8 |
                               (remote_bda.address[3] ^ remote_bda.address[4] ^
                                remote_bda.address[5]);
            }));