Make ancient gcc happy

This commit is contained in:
Kovid Goyal 2020-10-04 19:56:10 +05:30
parent b03dd5b6b2
commit 9e3c60f43f
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -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); \
}