diff options
| author | Justin M. Keyes <justinkz@gmail.com> | 2015-02-18 20:54:15 -0500 |
|---|---|---|
| committer | Justin M. Keyes <justinkz@gmail.com> | 2015-02-18 20:54:15 -0500 |
| commit | b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e (patch) | |
| tree | e80358ae4795597680b45fe984dc5f2e9ce20237 /src/nvim/term.c | |
| parent | 366662d932551e558d10f09887ddf144ed5db34b (diff) | |
| parent | 36340803afe1504f15468a715172c25cfef6974c (diff) | |
| download | rneovim-b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e.tar.gz rneovim-b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e.tar.bz2 rneovim-b1d079c83b3dd459114d1ba7c2ff1b07a9ee3e9e.zip | |
Merge #1979 'Enable -Wconversion'
Diffstat (limited to 'src/nvim/term.c')
| -rw-r--r-- | src/nvim/term.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/nvim/term.c b/src/nvim/term.c index fa85860cb0..a16c1a59ca 100644 --- a/src/nvim/term.c +++ b/src/nvim/term.c @@ -161,10 +161,6 @@ void term_init(void) setbuf(stdout, NULL); out_flush(); - -#ifdef MACOS_CONVERT - mac_conv_init(); -#endif } /* @@ -545,7 +541,7 @@ void termcapinit(char_u *name) # define OUT_SIZE 2047 // Add one to allow term_write() in os_win32.c to append a NUL static char_u out_buf[OUT_SIZE + 1]; -static int out_pos = 0; /* number of chars in out_buf */ +static size_t out_pos = 0; /* number of chars in out_buf */ // Clear the output buffer void out_buf_clear(void) @@ -558,7 +554,7 @@ void out_buf_clear(void) */ void out_flush(void) { - int len = out_pos; + size_t len = out_pos; out_pos = 0; ui_write(out_buf, len); } |