Use unsigned int instead of just unsigned.
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
a57410899a
commit
53a5167458
1 changed files with 2 additions and 2 deletions
|
@ -125,12 +125,12 @@ static ossl_inline void store48(uint8_t *dst, uint64_t w)
|
||||||
*p++ = (uint8_t)w;
|
*p++ = (uint8_t)w;
|
||||||
}
|
}
|
||||||
|
|
||||||
static ossl_inline uint32_t rotr32(const uint32_t w, const unsigned c)
|
static ossl_inline uint32_t rotr32(const uint32_t w, const unsigned int c)
|
||||||
{
|
{
|
||||||
return (w >> c) | (w << (32 - c));
|
return (w >> c) | (w << (32 - c));
|
||||||
}
|
}
|
||||||
|
|
||||||
static ossl_inline uint64_t rotr64(const uint64_t w, const unsigned c)
|
static ossl_inline uint64_t rotr64(const uint64_t w, const unsigned int c)
|
||||||
{
|
{
|
||||||
return (w >> c) | (w << (64 - c));
|
return (w >> c) | (w << (64 - c));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue