Use the right type for sizeof's result

This commit is contained in:
Brian Silverman 2015-12-16 22:54:06 -05:00
parent 18187ffab2
commit 63b82c28e9

View File

@ -15,7 +15,7 @@ static unsigned char a2[crypto_auth_hmacsha512_BYTES];
int main(void) int main(void)
{ {
crypto_auth_hmacsha512_state st; crypto_auth_hmacsha512_state st;
int i; size_t i;
assert(crypto_auth_hmacsha512_statebytes() == assert(crypto_auth_hmacsha512_statebytes() ==
sizeof(crypto_auth_hmacsha512_state)); sizeof(crypto_auth_hmacsha512_state));