mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 06:58:35 +00:00
vim-patch:8.1.1386: unessesary type casts for lalloc()
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
18a4ba29ae
This commit is contained in:
@@ -101,7 +101,7 @@ struct bw_info {
|
||||
int bw_restlen; // nr of bytes in bw_rest[]
|
||||
int bw_first; // first write call
|
||||
char_u *bw_conv_buf; // buffer for writing converted chars
|
||||
int bw_conv_buflen; // size of bw_conv_buf
|
||||
size_t bw_conv_buflen; // size of bw_conv_buf
|
||||
int bw_conv_error; // set for conversion error
|
||||
linenr_T bw_conv_error_lnum; // first line with error or zero
|
||||
linenr_T bw_start_lnum; // line number at start of buffer
|
||||
|
Reference in New Issue
Block a user