projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Iron out /WX errors in VC-WIN32.
[openssl.git]
/
test
/
siphash_internal_test.c
diff --git
a/test/siphash_internal_test.c
b/test/siphash_internal_test.c
index 5401e8c2e6ffbc3d9ee863e867f7c51e23baf3b7..d832aab6607aa325be016d0189233c20e1d51bf4 100644
(file)
--- a/
test/siphash_internal_test.c
+++ b/
test/siphash_internal_test.c
@@
-235,10
+235,10
@@
static int test_siphash(int idx)
/* key and in data are 00 01 02 ... */
for (i = 0; i < sizeof(key); i++)
/* key and in data are 00 01 02 ... */
for (i = 0; i < sizeof(key); i++)
- key[i] = i;
+ key[i] =
(unsigned char)
i;
for (i = 0; i < inlen; i++)
for (i = 0; i < inlen; i++)
- in[i] = i;
+ in[i] =
(unsigned char)
i;
if (!TEST_true(SipHash_Init(&siphash, key, expectedlen, 0, 0)))
return 0;
if (!TEST_true(SipHash_Init(&siphash, key, expectedlen, 0, 0)))
return 0;