aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memory.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-15 02:49:54 +0200
committerGitHub <noreply@github.com>2022-06-15 08:49:54 +0800
commit6de7f32d52822c3c09d24720efc65efe97a6e698 (patch)
treeb8f22be2faf350e2f3fa34068f1453ef279a00d0 /src/nvim/memory.c
parent8ba64dd3ad1822efd6f986349e99f5f85afd7be7 (diff)
downloadrneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.tar.gz
rneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.tar.bz2
rneovim-6de7f32d52822c3c09d24720efc65efe97a6e698.zip
docs: fix typos (#18866)
docs: fix typos and similarly insignificant changes Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: smjonas <jonas.strittmatter@gmx.de> Co-authored-by: kanreki <32443233+kanreki@users.noreply.github.com>
Diffstat (limited to 'src/nvim/memory.c')
-rw-r--r--src/nvim/memory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memory.c b/src/nvim/memory.c
index 32c4502231..dd06419391 100644
--- a/src/nvim/memory.c
+++ b/src/nvim/memory.c
@@ -529,7 +529,7 @@ void time_to_bytes(time_t time_, uint8_t buf[8])
void arena_start(Arena *arena, ArenaMem *reuse_blk)
{
if (reuse_blk && *reuse_blk) {
- arena->cur_blk = (char *)*reuse_blk;
+ arena->cur_blk = (char *)(*reuse_blk);
*reuse_blk = NULL;
} else {
arena->cur_blk = xmalloc(ARENA_BLOCK_SIZE);