mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 17:57:21 +09:00
Use unsigned types for sizes in tests.
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user