fix(memline): use long instead of linenr_T for db_line_count

This commit is contained in:
zeertzjq 2022-11-17 23:27:39 +08:00
parent 7139035bfd
commit 4b7aafc2f4

View File

@ -131,7 +131,8 @@ struct data_block {
unsigned db_free; // free space available
unsigned db_txt_start; // byte where text starts
unsigned db_txt_end; // byte just after data block
linenr_T db_line_count; // number of lines in this block
// linenr_T db_line_count;
long db_line_count; // number of lines in this block
unsigned db_index[1]; // index for start of line (actually bigger)
// followed by empty space up to db_txt_start
// followed by the text in the lines until