We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e44018 commit 058ffadCopy full SHA for 058ffad
1 file changed
wolfcrypt/test/test.c
@@ -15427,7 +15427,7 @@ static int simple_mem_test(int sz)
15427
static wc_test_ret_t const_byte_ptr_test(const byte* in, word32 *outJ)
15428
{
15429
wc_test_ret_t ret = 0;
15430
- volatile word32 j = -1UL; /* must be volatile to properly detect error */
+ volatile word32 j = (word32)-1; /* must be volatile to properly detect error */
15431
15432
ret = (wc_test_ret_t)*in; /* accessed *in value. */
15433
(void)ret;
0 commit comments