#include "testutil.h"
#include "internal/siphash.h"
#include "../crypto/siphash/siphash_local.h"
-#include <internal/nelem.h>
+#include "internal/nelem.h"
static BIO* b_stderr = NULL;
static BIO* b_stdout = NULL;
/* 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;