From 914d160ada16463a76d42011aa8d721134fba9b8 Mon Sep 17 00:00:00 2001 From: Sam Varshavchik Date: Thu, 9 Mar 2017 06:47:37 -0500 Subject: courier-unicode API update. --- rfc2045/rfc2045reply.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'rfc2045/rfc2045reply.c') diff --git a/rfc2045/rfc2045reply.c b/rfc2045/rfc2045reply.c index a3b57b5..da0d981 100644 --- a/rfc2045/rfc2045reply.c +++ b/rfc2045/rfc2045reply.c @@ -275,7 +275,7 @@ static int reply_begin(size_t quote_level, void *arg) { struct replyinfostruct *s=(struct replyinfostruct *)arg; - unicode_char quoteChar='>'; + char32_t quoteChar='>'; /* ** Save quote level, begin conversion from unicode to the native @@ -310,11 +310,11 @@ static int reply_begin(size_t quote_level, ** RFC 3676: (possibly partial) contents of a deflowed line, as unicode. */ -static int reply_contents(const unicode_char *txt, +static int reply_contents(const char32_t *txt, size_t txt_size, void *arg) { - unicode_char spaceChar=' '; + char32_t spaceChar=' '; size_t nonspc_cnt; struct replyinfostruct *s=(struct replyinfostruct *)arg; @@ -380,7 +380,7 @@ static int reply_contents(const unicode_char *txt, static int reply_end(void *arg) { - unicode_char newLine='\n'; + char32_t newLine='\n'; struct replyinfostruct *s=(struct replyinfostruct *)arg; unicode_convert_uc(s->u_handle, &newLine, 1); @@ -394,7 +394,7 @@ static int reply_end(void *arg) */ static int reply_wrap(void *arg) { - unicode_char spaceChar=' '; + char32_t spaceChar=' '; struct replyinfostruct *s=(struct replyinfostruct *)arg; /* -- cgit v1.2.3