mirror of
https://github.com/neovim/neovim.git
synced 2025-10-04 08:56:29 +00:00
refactor: replace char_u with char (#21901)
refactor: replace char_u with char Work on https://github.com/neovim/neovim/issues/459
This commit is contained in:
@@ -201,14 +201,14 @@ void sha256_update(context_sha256_T *ctx, const uint8_t *input, size_t length)
|
||||
memcpy(ctx->buffer + left, input, fill);
|
||||
sha256_process(ctx, ctx->buffer);
|
||||
length -= fill;
|
||||
input += fill;
|
||||
input += fill;
|
||||
left = 0;
|
||||
}
|
||||
|
||||
while (length >= SHA256_BUFFER_SIZE) {
|
||||
sha256_process(ctx, input);
|
||||
length -= SHA256_BUFFER_SIZE;
|
||||
input += SHA256_BUFFER_SIZE;
|
||||
input += SHA256_BUFFER_SIZE;
|
||||
}
|
||||
|
||||
if (length) {
|
||||
|
Reference in New Issue
Block a user