From 63b82c28e9a5d90f993fd31ff6df030cd52f55c6 Mon Sep 17 00:00:00 2001 From: Brian Silverman Date: Wed, 16 Dec 2015 22:54:06 -0500 Subject: [PATCH] Use the right type for sizeof's result --- test/default/auth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/default/auth.c b/test/default/auth.c index 417d8026..83fc393d 100644 --- a/test/default/auth.c +++ b/test/default/auth.c @@ -15,7 +15,7 @@ static unsigned char a2[crypto_auth_hmacsha512_BYTES]; int main(void) { crypto_auth_hmacsha512_state st; - int i; + size_t i; assert(crypto_auth_hmacsha512_statebytes() == sizeof(crypto_auth_hmacsha512_state));