aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/sha256.c')
-rw-r--r--src/nvim/sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/sha256.c b/src/nvim/sha256.c
index 46b8d47c00..17b80f013b 100644
--- a/src/nvim/sha256.c
+++ b/src/nvim/sha256.c
@@ -333,7 +333,7 @@ bool sha256_self_test(void)
memset(buf, 'a', 1000);
for (size_t j = 0; j < 1000; j++) {
- sha256_update(&ctx, (char_u *) buf, 1000);
+ sha256_update(&ctx, buf, 1000);
}
sha256_finish(&ctx, sha256sum);