diff options
| author | ZyX <kp-pav@yandex.ru> | 2017-05-20 03:25:22 +0300 |
|---|---|---|
| committer | ZyX <kp-pav@yandex.ru> | 2017-05-20 03:25:22 +0300 |
| commit | df6778588614dbb9e4060cbc9f69de3a9aac689e (patch) | |
| tree | 52f97c94f29dd9e805e43d4835c0f6a68c463906 /src/nvim/tui | |
| parent | 2411b6f137feaf49ff8a09985cd4d9c447030309 (diff) | |
| download | rneovim-df6778588614dbb9e4060cbc9f69de3a9aac689e.tar.gz rneovim-df6778588614dbb9e4060cbc9f69de3a9aac689e.tar.bz2 rneovim-df6778588614dbb9e4060cbc9f69de3a9aac689e.zip | |
*: Fix all V641 errors
Diffstat (limited to 'src/nvim/tui')
| -rw-r--r-- | src/nvim/tui/tui.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/tui/tui.c b/src/nvim/tui/tui.c index 4a81b32199..ee73a7664e 100644 --- a/src/nvim/tui/tui.c +++ b/src/nvim/tui/tui.c @@ -36,6 +36,7 @@ #include "nvim/tui/tui.h" #include "nvim/cursor_shape.h" #include "nvim/syntax.h" +#include "nvim/macros.h" // Space reserved in the output buffer to restore the cursor to normal when // flushing. No existing terminal will require 32 bytes to do that. @@ -1079,7 +1080,7 @@ static void flush_buf(UI *ui, bool toggle_cursor) buf.base = data->buf; buf.len = data->bufpos; - uv_write(&req, (uv_stream_t *)&data->output_handle, &buf, 1, NULL); + uv_write(&req, STRUCT_CAST(uv_stream_t, &data->output_handle), &buf, 1, NULL); uv_run(&data->write_loop, UV_RUN_DEFAULT); data->bufpos = 0; |