aboutsummaryrefslogtreecommitdiffstats
path: root/test/siphash_internal_test.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-11-16 22:45:05 +0100
committerAndy Polyakov <appro@openssl.org>2017-11-17 21:22:26 +0100
commit5d99881e6a58a8775b8ca866b794f615a16bb033 (patch)
treeea3a93a182e72e0cf9e913ad7bef017dfdd244b9 /test/siphash_internal_test.c
parentc1ec4db33d0a0d95b1d7ff1cf0536df768e7c790 (diff)
downloadopenssl-5d99881e6a58a8775b8ca866b794f615a16bb033.tar.gz
Iron out /WX errors in VC-WIN32.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'test/siphash_internal_test.c')
-rw-r--r--test/siphash_internal_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/siphash_internal_test.c b/test/siphash_internal_test.c
index 5401e8c2e6..d832aab660 100644
--- 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[i] = i;
+ key[i] = (unsigned char)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;