提交 53a51674 编写于 作者: K Kurt Roeckx 提交者: Rich Salz

Use unsigned int instead of just unsigned.

Reviewed-by: NAndy Polyakov <appro@openssl.org>
Reviewed-by: NRich Salz <rsalz@openssl.org>
上级 a5741089
......@@ -125,12 +125,12 @@ static ossl_inline void store48(uint8_t *dst, uint64_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));
}
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));
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册