aboutsummaryrefslogtreecommitdiffstats
path: root/unmime.c
diff options
context:
space:
mode:
Diffstat (limited to 'unmime.c')
-rw-r--r--unmime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unmime.c b/unmime.c
index f68e51fb..0af0e2c5 100644
--- a/unmime.c
+++ b/unmime.c
@@ -701,7 +701,7 @@ int main(int argc, char *argv[])
}
buf_p++;
- if ((buf_p - buffer) == BufSize) {
+ if ((unsigned)(buf_p - buffer) == BufSize) {
/* Buffer is full! Get more room. */
buffer = xrealloc(buffer, BufSize+BUFSIZE_INCREMENT);
buf_p = buffer + BufSize;