diff options
| author | bfredl <bjorn.linse@gmail.com> | 2022-05-04 17:34:25 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-04 17:34:25 +0200 |
| commit | 4f17e7e1c38e53eb214fd85cde1cbbe332e86498 (patch) | |
| tree | 3a1457be276d95ffccbb760e79c708ab11b2cd54 /src/nvim/sign.c | |
| parent | 3ec93ca92cb08faed342586e86a6f21b35264376 (diff) | |
| parent | 5576d30e89153c817fb1a8d23c30cfc0432bc7c6 (diff) | |
| download | rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.gz rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.tar.bz2 rneovim-4f17e7e1c38e53eb214fd85cde1cbbe332e86498.zip | |
Merge pull request #18387 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/sign.c')
| -rw-r--r-- | src/nvim/sign.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/sign.c b/src/nvim/sign.c index db3ce45b51..e2d40b4a21 100644 --- a/src/nvim/sign.c +++ b/src/nvim/sign.c @@ -1419,7 +1419,7 @@ static int parse_sign_cmd_args(int cmd, char_u *arg, char_u **sign_name, int *si /// ":sign" command void ex_sign(exarg_T *eap) { - char_u *arg = eap->arg; + char_u *arg = (char_u *)eap->arg; char_u *p; int idx; sign_T *sp; @@ -1785,7 +1785,7 @@ void set_context_in_sign_cmd(expand_T *xp, char_u *arg) // Default: expand subcommands. xp->xp_context = EXPAND_SIGN; expand_what = EXP_SUBCMD; - xp->xp_pattern = arg; + xp->xp_pattern = (char *)arg; end_subcmd = skiptowhite(arg); if (*end_subcmd == NUL) { @@ -1822,7 +1822,7 @@ void set_context_in_sign_cmd(expand_T *xp, char_u *arg) // last p if (p == NULL) { // Expand last argument name (before equal sign). - xp->xp_pattern = last; + xp->xp_pattern = (char *)last; switch (cmd_idx) { case SIGNCMD_DEFINE: expand_what = EXP_DEFINE; @@ -1852,7 +1852,7 @@ void set_context_in_sign_cmd(expand_T *xp, char_u *arg) } } else { // Expand last argument value (after equal sign). - xp->xp_pattern = p + 1; + xp->xp_pattern = (char *)p + 1; switch (cmd_idx) { case SIGNCMD_DEFINE: if (STRNCMP(last, "texthl", 6) == 0 |