Use the right type for sizeof's result
This commit is contained in:
parent
18187ffab2
commit
63b82c28e9
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user