summaryrefslogtreecommitdiff
path: root/pith/reply.c
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2015-07-26 14:15:58 -0600
committerEduardo Chappa <chappa@washington.edu>2015-07-26 14:15:58 -0600
commit36b77661542a63c4579943951d143c8cc9c99460 (patch)
tree07858a2130d5d46ac7eef9587e09be8080e43a3d /pith/reply.c
parent7c946bfafe961c1dda51d19b5c29a5600ef1e5ec (diff)
downloadalpine-36b77661542a63c4579943951d143c8cc9c99460.tar.xz
* several changes to reduce warnings, including adding sys/ioctl.h
in system.h.
Diffstat (limited to 'pith/reply.c')
-rw-r--r--pith/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pith/reply.c b/pith/reply.c
index f60ce58f..834b945a 100644
--- a/pith/reply.c
+++ b/pith/reply.c
@@ -89,8 +89,8 @@ same_subject(char *s, char *t)
len = i < j ? j : i;
u = fs_get(6*len+1);
v = fs_get(6*len+1);
- s1 = (char *) rfc1522_decode_to_utf8(u, 6*len + 1, s);
- s2 = (char *) rfc1522_decode_to_utf8(v, 6*len + 1, t);
+ s1 = (char *) rfc1522_decode_to_utf8((unsigned char *) u, 6*len + 1, s);
+ s2 = (char *) rfc1522_decode_to_utf8((unsigned char *) v, 6*len + 1, t);
mail_strip_subject(s1, &u);
mail_strip_subject(s2, &v);