diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-11-05 16:59:29 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-11-05 16:59:48 +0100 |
commit | 3c276a85f09c3e98540abc5d32c946ff1a80d4ab (patch) | |
tree | e06ada33f4a9cfd1707a2def5b4a44f86c71ce42 /src | |
parent | m (diff) | |
download | libkeccak-3c276a85f09c3e98540abc5d32c946ff1a80d4ab.tar.gz libkeccak-3c276a85f09c3e98540abc5d32c946ff1a80d4ab.tar.bz2 libkeccak-3c276a85f09c3e98540abc5d32c946ff1a80d4ab.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/libkeccak/digest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libkeccak/digest.c b/src/libkeccak/digest.c index a1f3d54..7505827 100644 --- a/src/libkeccak/digest.c +++ b/src/libkeccak/digest.c @@ -81,7 +81,7 @@ static const uint_fast64_t RC[] = * @param n:long Rotation steps, may not be zero * @return :int_fast64_t The value rotated */ -#define rotate64(x, n) ((int_fast64_t)((uint_fast64_t)(x) >> (64 - (n))) + ((x) << (n))) +#define rotate64(x, n) ((int_fast64_t)(((uint64_t)(x) >> (64L - (n))) + ((uint64_t)(x) << (n)))) /** |