mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-20 06:05:16 +00:00
Make ancient gcc happy
This commit is contained in:
parent
b03dd5b6b2
commit
9e3c60f43f
1 changed files with 1 additions and 1 deletions
|
|
@ -377,7 +377,7 @@ pagerhist_rewrap_to(HistoryBuf *self, index_type cells_in_line) {
|
|||
pagerhist_write_bytes(nph, (const uint8_t*)"\r", 1); \
|
||||
num_in_current_line = 0; \
|
||||
}\
|
||||
if (ch_width >= 0 || num_in_current_line >= -ch_width) num_in_current_line += ch_width; \
|
||||
if (ch_width >= 0 || (int)num_in_current_line >= -ch_width) num_in_current_line += ch_width; \
|
||||
pagerhist_write_bytes(nph, record, count); \
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue