diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-12-17 08:11:35 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-17 08:11:35 +0800 |
commit | 4d860a537076d7eddfb29372ecbdacf1eb5b7d3b (patch) | |
tree | 37616ef667c9bb2459de422956952b89c5f1bfdb /src/nvim/ex_docmd.c | |
parent | 37915cc5abd5c6f6ae89c1091304c8da2b0fa8fe (diff) | |
download | rneovim-4d860a537076d7eddfb29372ecbdacf1eb5b7d3b.tar.gz rneovim-4d860a537076d7eddfb29372ecbdacf1eb5b7d3b.tar.bz2 rneovim-4d860a537076d7eddfb29372ecbdacf1eb5b7d3b.zip |
fix(folds): use long for number of folded lines (#21447)
Also remove some duplicate unsigned long casts.
Diffstat (limited to 'src/nvim/ex_docmd.c')
-rw-r--r-- | src/nvim/ex_docmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 88ae0a8226..3a28d557e3 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -4391,14 +4391,14 @@ static int check_more(int message, bool forceit) vim_snprintf((char *)buff, DIALOG_MSG_SIZE, NGETTEXT("%d more file to edit. Quit anyway?", - "%d more files to edit. Quit anyway?", (unsigned long)n), n); + "%d more files to edit. Quit anyway?", n), n); if (vim_dialog_yesno(VIM_QUESTION, NULL, buff, 1) == VIM_YES) { return OK; } return FAIL; } semsg(NGETTEXT("E173: %" PRId64 " more file to edit", - "E173: %" PRId64 " more files to edit", (unsigned long)n), (int64_t)n); + "E173: %" PRId64 " more files to edit", n), (int64_t)n); quitmore = 2; // next try to quit is allowed } return FAIL; |