Fix compiler warning
This commit is contained in:
parent
ad08545f8f
commit
b257340ad2
@ -2963,8 +2963,8 @@ buffer_print_backlog (struct app_context *ctx, struct buffer *buffer)
|
||||
print_status ("%s", buffer->name);
|
||||
|
||||
// That is, minus the buffer switch line and the readline prompt
|
||||
int display_limit =
|
||||
MAX (MAX (10, buffer->unseen_messages_count), g_terminal.lines - 2);
|
||||
int display_limit = MAX (MAX (10,
|
||||
(int) buffer->unseen_messages_count), g_terminal.lines - 2);
|
||||
|
||||
struct buffer_line *line = buffer->lines_tail;
|
||||
int to_display = line != NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user