summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2016-03-11 01:19:43 +0100
committerRich Salz <rsalz@openssl.org>2016-03-11 10:39:10 -0500
commit53a51674585a394726625324c0a1bd08ac80245b (patch)
treedd2c94dd67d9aa27fb9d1f3f455dc68b295f21f0
parenta57410899af60eff20dfe932283775edc2603c2a (diff)
Use unsigned int instead of just unsigned.
Reviewed-by: Andy Polyakov <appro@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r--crypto/blake2/blake2_impl.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/blake2/blake2_impl.h b/crypto/blake2/blake2_impl.h
index 694f9bb434..c613abd308 100644
--- a/crypto/blake2/blake2_impl.h
+++ b/crypto/blake2/blake2_impl.h
@@ -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));
}