about summary refs log tree commit diff
path: root/mmime.c
diff options
context:
space:
mode:
authorLeah Neukirchen <leah@vuxu.org>2019-02-03 18:06:40 +0100
committerLeah Neukirchen <leah@vuxu.org>2019-02-03 18:06:40 +0100
commit237ad8a2f3bbba93d2f3a6947fa771b4d49c6e9a (patch)
treea4f33523d0843466fb4efcc9a522b6e78de4c19f /mmime.c
parentadb58509833752e7cc5454f38435b244f2dfb104 (diff)
downloadmblaze-237ad8a2f3bbba93d2f3a6947fa771b4d49c6e9a.tar.gz
mblaze-237ad8a2f3bbba93d2f3a6947fa771b4d49c6e9a.tar.xz
mblaze-237ad8a2f3bbba93d2f3a6947fa771b4d49c6e9a.zip
mmime: print_header: use signed variable for linelen
Diffstat (limited to 'mmime.c')
-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;