diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-07-02 17:13:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-02 17:13:25 +0200 |
commit | c1b591dc8f99577c419192c7b34e3999758ed69f (patch) | |
tree | b8d61ff93b47fdec47982f0452d76975226322ae /src/nvim/diff.c | |
parent | ed429c00d76414d07d7c7129f65ddf9be68e24f4 (diff) | |
parent | 3b8804571c565a91c9ce729bb487c7ba21b659e0 (diff) | |
download | rneovim-c1b591dc8f99577c419192c7b34e3999758ed69f.tar.gz rneovim-c1b591dc8f99577c419192c7b34e3999758ed69f.tar.bz2 rneovim-c1b591dc8f99577c419192c7b34e3999758ed69f.zip |
Merge pull request #19137 from dundargoc/refactor/char_u-to-char
refactor: replace char_u
Diffstat (limited to 'src/nvim/diff.c')
-rw-r--r-- | src/nvim/diff.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/diff.c b/src/nvim/diff.c index e4d77cec9c..75021e90d6 100644 --- a/src/nvim/diff.c +++ b/src/nvim/diff.c @@ -2143,7 +2143,7 @@ int diffopt_changed(void) diff_flags_new |= DIFF_FILLER; } else if ((STRNCMP(p, "context:", 8) == 0) && ascii_isdigit(p[8])) { p += 8; - diff_context_new = getdigits_int(&p, false, diff_context_new); + diff_context_new = getdigits_int((char **)&p, false, diff_context_new); } else if (STRNCMP(p, "iblank", 6) == 0) { p += 6; diff_flags_new |= DIFF_IBLANK; @@ -2167,7 +2167,7 @@ int diffopt_changed(void) diff_flags_new |= DIFF_VERTICAL; } else if ((STRNCMP(p, "foldcolumn:", 11) == 0) && ascii_isdigit(p[11])) { p += 11; - diff_foldcolumn_new = getdigits_int(&p, false, diff_foldcolumn_new); + diff_foldcolumn_new = getdigits_int((char **)&p, false, diff_foldcolumn_new); } else if (STRNCMP(p, "hiddenoff", 9) == 0) { p += 9; diff_flags_new |= DIFF_HIDDEN_OFF; @@ -2562,7 +2562,7 @@ void ex_diffgetput(exarg_T *eap) // digits only i = (int)atol(eap->arg); } else { - i = buflist_findpat((char_u *)eap->arg, p, false, true, false); + i = buflist_findpat(eap->arg, (char *)p, false, true, false); if (i < 0) { // error message already given |