summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--mmime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mmime.c b/mmime.c
index 1f16d5a..6f25819 100644
--- a/mmime.c
+++ b/mmime.c
@@ -299,7 +299,7 @@ print_header(char *line) {
 
 	int prevq = 0;  // was the previous word encoded as qp?
 
-	size_t linelen = s - line;
+	ssize_t linelen = s - line;
 
 	while (*s) {
 		size_t highbit = 0;