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

Skip to content
Commit 4aad4a3b authored by Yi Kong's avatar Yi Kong
Browse files

Suppress -Winteger-overflow compiler warning

The tests intentionally tests overflow behaviour.

strings_test.cc:56:29: error: overflow in expression; result is -2147483648 with type 'int' [-Werror,-Winteger-overflow]
   56 |     ASSERT_EQ(ToHexString(1 + INT_MAX), "INT_MIN");
      |     ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

Test: presubmit
Change-Id: I4da2f67db9b01bc5b73153395b047487c7391a18
parent a013cded
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment