diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-05-03 11:02:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 11:02:04 +0200 |
commit | 8ea84eee570fd1ec560fe149e611d10034d9a223 (patch) | |
tree | 807bb0bcb4a551285e7c1f739b1b201d49d58261 /src/nvim/quickfix.c | |
parent | 46734cf7c1e5abe8e452354db6914364bfe89f0d (diff) | |
parent | b9bdd0f61e5e7365c07aadbc3f796556b6d85fdf (diff) | |
download | rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.gz rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.tar.bz2 rneovim-8ea84eee570fd1ec560fe149e611d10034d9a223.zip |
Merge pull request #18345 from dundargoc/refactor/remove-char_u
refactor: replace char_u variables and functions with char
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index 7c64b0aa0b..f13fd11fd3 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -3726,7 +3726,7 @@ static int qf_open_new_cwindow(qf_info_T *qi, int height) static void qf_set_title_var(qf_list_T *qfl) { if (qfl->qf_title != NULL) { - set_internal_string_var("w:quickfix_title", (char_u *)qfl->qf_title); + set_internal_string_var("w:quickfix_title", qfl->qf_title); } } @@ -3929,7 +3929,7 @@ bool qf_process_qftf_option(void) if (*p_qftf == '{') { // Lambda expression - tv = eval_expr(p_qftf); + tv = eval_expr((char *)p_qftf); if (tv == NULL) { return false; } @@ -7035,7 +7035,7 @@ void ex_cexpr(exarg_T *eap) // Evaluate the expression. When the result is a string or a list we can // use it to fill the errorlist. typval_T tv; - if (eval0(eap->arg, &tv, &eap->nextcmd, true) != FAIL) { + if (eval0((char *)eap->arg, &tv, (char **)&eap->nextcmd, true) != FAIL) { if ((tv.v_type == VAR_STRING && tv.vval.v_string != NULL) || tv.v_type == VAR_LIST) { incr_quickfix_busy(); |