mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06: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:
parent
c86fb824e0
commit
6ff3475b42
@ -100,8 +100,8 @@ struct bw_info {
|
||||
char_u bw_rest[CONV_RESTLEN]; // not converted bytes
|
||||
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
|
||||
char_u *bw_conv_buf; // buffer for writing converted chars
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user