From 9925b3a0477e5af348a8348544e69a65a9222c1b Mon Sep 17 00:00:00 2001 From: Anton Ovchinnikov Date: Mon, 9 Mar 2015 00:40:50 +0100 Subject: Remove redundant casts --- src/nvim/sha256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/sha256.c') 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); -- cgit