From 36b77661542a63c4579943951d143c8cc9c99460 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 26 Jul 2015 14:15:58 -0600 Subject: * several changes to reduce warnings, including adding sys/ioctl.h in system.h. --- pith/reply.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pith/reply.c') 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); -- cgit v1.2.3-54-g00ecf