summaryrefslogtreecommitdiff
path: root/include/crypto/sha256_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/sha256_base.h')
-rw-r--r--include/crypto/sha256_base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/crypto/sha256_base.h b/include/crypto/sha256_base.h
index e0418818d63c..e3e610cfe8d3 100644
--- a/include/crypto/sha256_base.h
+++ b/include/crypto/sha256_base.h
@@ -44,7 +44,7 @@ static inline int lib_sha256_base_do_update(struct sha256_state *sctx,
sctx->count += len;
if (unlikely((partial + len) >= SHA256_BLOCK_SIZE)) {
- int blocks;
+ unsigned int blocks;
if (partial) {
int p = SHA256_BLOCK_SIZE - partial;