diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2019-07-19 20:15:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 20:15:03 +0200 |
commit | d5f7099be23e217a1fe1f5443257f1b5d1eacfea (patch) | |
tree | 3f6408beb26e7c34f95fa05c5d84b1ac7ad880c1 /src/nvim/os_unix.c | |
parent | 7e4fd045f943156882f5efa502998d2f670fe256 (diff) | |
parent | aa28e070e9f953c26405d765addd9f780ede2c5a (diff) | |
download | rneovim-d5f7099be23e217a1fe1f5443257f1b5d1eacfea.tar.gz rneovim-d5f7099be23e217a1fe1f5443257f1b5d1eacfea.tar.bz2 rneovim-d5f7099be23e217a1fe1f5443257f1b5d1eacfea.zip |
Merge pull request #10541 from bfredl/conversion_getln
refactor: enable -Wconversion for ex_getln.c and use int for Rows/Columns
Diffstat (limited to 'src/nvim/os_unix.c')
-rw-r--r-- | src/nvim/os_unix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/os_unix.c b/src/nvim/os_unix.c index 35a7942059..fa9f721ee2 100644 --- a/src/nvim/os_unix.c +++ b/src/nvim/os_unix.c @@ -369,10 +369,7 @@ int mch_expand_wildcards(int num_pat, char_u **pat, int *num_file, // With interactive completion, the error message is not printed. if (!(flags & EW_SILENT)) { msg_putchar('\n'); // clear bottom line quickly -#if SIZEOF_LONG > SIZEOF_INT - assert(Rows <= (long)INT_MAX + 1); -#endif - cmdline_row = (int)(Rows - 1); // continue on last line + cmdline_row = Rows - 1; // continue on last line MSG(_(e_wildexpand)); msg_start(); // don't overwrite this message } |