Skip to content

Commit

Permalink
test: placate Clang's --Wbitwise-instead-of-logical
Browse files Browse the repository at this point in the history
```
test/test_test.c:58:9: note: cast one or both operands to int to silence this warning
test/test_test.c:58:9: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical]
    if (!TEST(1, TEST_uint_eq(3u, 3u))
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
test/test_test.c:58:9: note: cast one or both operands to int to silence this warning
```

Originally the fix for #18639

Fixes #19024

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from #19045)
  • Loading branch information
thesamesam authored and t8m committed Aug 24, 2022
1 parent 784126f commit 76b0b76
Showing 1 changed file with 198 additions and 198 deletions.

0 comments on commit 76b0b76

Please sign in to comment.