diff options
Diffstat (limited to 'crypto/sha256.c')
| -rw-r--r-- | crypto/sha256.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha256.c b/crypto/sha256.c index b8c78ebb2fe3..c78da50a9b7a 100644 --- a/crypto/sha256.c +++ b/crypto/sha256.c @@ -58,7 +58,7 @@ static inline u32 Maj(u32 x, u32 y, u32 z) static inline void LOAD_OP(int I, u32 *W, const u8 *input) { - W[I] = __be32_to_cpu( ((u32*)(input))[I] ); + W[I] = __be32_to_cpu( ((__be32*)(input))[I] ); } static inline void BLEND_OP(int I, u32 *W) |
