summaryrefslogtreecommitdiff
path: root/alpine/imap.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
committerEduardo Chappa <chappa@washington.edu>2015-07-26 23:36:30 -0600
commit2695b63fbe6c6a2206a2637137c6cd654f69943a (patch)
tree717008efdac9ae66bf33985dc99ee68aea45bf11 /alpine/imap.c
parent36b77661542a63c4579943951d143c8cc9c99460 (diff)
downloadalpine-2695b63fbe6c6a2206a2637137c6cd654f69943a.tar.xz
* Clear even more warnings from clang 3.5 and MAC OSX.
Diffstat (limited to 'alpine/imap.c')
-rw-r--r--alpine/imap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/alpine/imap.c b/alpine/imap.c
index f4cccfcd..546a8aee 100644
--- a/alpine/imap.c
+++ b/alpine/imap.c
@@ -168,7 +168,7 @@ mm_notify(MAILSTREAM *stream, char *string, long int errflg)
snprintf(ps_global->last_error, sizeof(ps_global->last_error), "%s : %.*s",
(stream && stream->mailbox) ? stream->mailbox : "-no folder-",
- MIN(MAX_SCREEN_COLS, sizeof(ps_global->last_error)-70),
+ (int) MIN(MAX_SCREEN_COLS, sizeof(ps_global->last_error)-70),
string);
ps_global->last_error[ps_global->ttyo ? ps_global->ttyo->screen_cols
: sizeof(ps_global->last_error)-1] = '\0';