diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-15 22:57:12 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-07-15 22:57:12 +0200 |
commit | b257340ad2a6ef1f2eed4a2e075e6decba772013 (patch) | |
tree | 5a2b17eafb366a9f4f9ecc20f5f5c948a5a7310b /degesch.c | |
parent | ad08545f8f3bc8590baebef8936286169241d101 (diff) | |
download | xK-b257340ad2a6ef1f2eed4a2e075e6decba772013.tar.gz xK-b257340ad2a6ef1f2eed4a2e075e6decba772013.tar.xz xK-b257340ad2a6ef1f2eed4a2e075e6decba772013.zip |
Fix compiler warning
Diffstat (limited to 'degesch.c')
-rw-r--r-- | degesch.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |