diff --git a/test/default/box_easy.c b/test/default/box_easy.c index 10319879..d3b899fc 100644 --- a/test/default/box_easy.c +++ b/test/default/box_easy.c @@ -47,7 +47,7 @@ unsigned char c[147 + crypto_box_MACBYTES]; int main(void) { - int i; + size_t i; crypto_box_easy(c, m, 131, nonce, bobpk, alicesk); for (i = 0; i < 131 + crypto_box_MACBYTES; ++i) { diff --git a/test/default/secretbox_easy.c b/test/default/secretbox_easy.c index 48f4e76a..dc3f3bd9 100644 --- a/test/default/secretbox_easy.c +++ b/test/default/secretbox_easy.c @@ -41,7 +41,7 @@ unsigned char mac[crypto_secretbox_MACBYTES]; int main(void) { - int i; + size_t i; crypto_secretbox_easy(c, m, 131, nonce, firstkey); for (i = 0;i < 131 + crypto_secretbox_MACBYTES; ++i) {