summaryrefslogtreecommitdiff
path: root/src/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sha256.c')
-rw-r--r--src/sha256.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sha256.c b/src/sha256.c
index 6ea3f81f4..0f9585623 100644
--- a/src/sha256.c
+++ b/src/sha256.c
@@ -307,7 +307,7 @@ sha256_key(buf)
if (buf == NULL || *buf == NUL)
return (char_u *)"";
- return sha256_bytes(buf, STRLEN(buf));
+ return sha256_bytes(buf, (int)STRLEN(buf));
}
/*
@@ -354,7 +354,7 @@ sha256_self_test()
if (i < 2)
{
hexit = sha256_bytes((char_u *)sha_self_test_msg[i],
- STRLEN(sha_self_test_msg[i]));
+ (int)STRLEN(sha_self_test_msg[i]));
STRCPY(output, hexit);
}
else