test: placate Clang's --Wbitwise-instead-of-logical
authorSam James <sam@gentoo.org>
Fri, 24 Jun 2022 07:12:00 +0000 (08:12 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 24 Aug 2022 11:28:36 +0000 (13:28 +0200)
commit76b0b7627c7af7533033d9971b476acbbc432799
tree6ddcfc2c8e58ac597ab3c0d109f852661cf0e1c1
parent784126f117eb31d0296f839db1f426385312845a
test: placate Clang's --Wbitwise-instead-of-logical

```
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 https://github.com/openssl/openssl/pull/19045)
test/test_test.c