[PATCH 4 of 9] Fix comparison signedness warnings
# HG changeset patch
# User Matthias Andree <matthias.andree@xxxxxx>
# Date 1281124373 -7200
# Branch HEAD
# Node ID 151598faceaeab3c37f1de4274fc8324a88f27f5
# Parent fa6b3ce69655b50e1e8146dce3d4b83f040052fc
Fix comparison signedness warnings.
diff --git a/buffy.c b/buffy.c
--- a/buffy.c
+++ b/buffy.c
@@ -456,7 +456,7 @@
BUFFY *tmp;
char path[_POSIX_PATH_MAX];
char buffylist[2*STRING];
- int pos;
+ size_t pos;
int first;
int have_unnotified = BuffyNotify;
@@ -474,7 +474,7 @@
strfcpy (path, tmp->path, sizeof (path));
mutt_pretty_mailbox (path, sizeof (path));
- if (!first && pos + strlen (path) >= COLS - 7)
+ if (!first && pos + strlen (path) >= (size_t)COLS - 7)
break;
if (!first)