xW: acknowledge a harmless possible underflow

This commit is contained in:
2026-07-21 16:34:41 +02:00
parent d2a3719b78
commit 60a14b6683
+1 -1
View File
@@ -741,7 +741,7 @@ refresh_buffer(const Buffer &b)
// PFM_BORDER is not implemented, at most we can try to construct
// an OLE object the width of the screen and see how it clips
// (this is a lot of code).
size_t i = 0, mark_before = b.lines.size() -
int64_t i = 0, mark_before = int64_t(b.lines.size()) -
b.new_messages - b.new_unimportant_messages;
for (auto line = b.lines.begin(); line != b.lines.end(); ++line) {
if (i == mark_before)