summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Esser <besser82@fedoraproject.org>2021-03-31 08:13:57 +0200
committerBjörn Esser <besser82@fedoraproject.org>2021-03-31 08:43:46 +0200
commitb158fc8bc4eb70d45bad13128f25451c1a707d17 (patch)
treee3e6760a55b155330de052c01f028e1c5f03ccc7
parent986c988c891937a2d71a09d236fe49022a8025c2 (diff)
downloadlibxcrypt-b158fc8bc4eb70d45bad13128f25451c1a707d17.tar.gz
libxcrypt-b158fc8bc4eb70d45bad13128f25451c1a707d17.tar.bz2
libxcrypt-b158fc8bc4eb70d45bad13128f25451c1a707d17.zip
lib/alg-sha512.c: Fix Werror=conversion.
-rw-r--r--lib/alg-sha512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/alg-sha512.c b/lib/alg-sha512.c
index 7c3c7f6..c30f8a0 100644
--- a/lib/alg-sha512.c
+++ b/lib/alg-sha512.c
@@ -229,7 +229,7 @@ void
SHA512_Update(SHA512_CTX * ctx, const void *in, size_t len)
{
uint64_t bitlen[2];
- uint64_t r;
+ size_t r;
const unsigned char *src = in;
/* Number of bytes left in the buffer from previous updates */