diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2023-03-04 13:10:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-04 20:10:00 +0800 |
commit | 6cab36e5b7b0d741abe6c5a7c0e20bad30361034 (patch) | |
tree | 8f00dab70b4a63ff572600a6e4824f59b0ae29c6 /src/nvim/ops.c | |
parent | a4f443994bb91321b00f29af9e6357df9102ce75 (diff) | |
download | rneovim-6cab36e5b7b0d741abe6c5a7c0e20bad30361034.tar.gz rneovim-6cab36e5b7b0d741abe6c5a7c0e20bad30361034.tar.bz2 rneovim-6cab36e5b7b0d741abe6c5a7c0e20bad30361034.zip |
refactor: replace char_u with char or uint8_t (#22400)
Work on https://github.com/neovim/neovim/issues/459
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index d2a96be5ad..884eeef433 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -1186,7 +1186,7 @@ int do_execreg(int regname, int colon, int addcr, int silent) /// used only after other typeahead has been processed. static void put_reedit_in_typebuf(int silent) { - char_u buf[3]; + uint8_t buf[3]; if (restart_edit == NUL) { return; @@ -1197,7 +1197,7 @@ static void put_reedit_in_typebuf(int silent) buf[1] = 'R'; buf[2] = NUL; } else { - buf[0] = (char_u)(restart_edit == 'I' ? 'i' : restart_edit); + buf[0] = (uint8_t)(restart_edit == 'I' ? 'i' : restart_edit); buf[1] = NUL; } if (ins_typebuf((char *)buf, REMAP_NONE, 0, true, silent) == OK) { |