From e518a71f587454ec71cbdd6b37246f77235d4143 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Fri, 1 Dec 2006 16:16:51 +0100 Subject: [PATCH 1/1] Fix compilation error Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- mutt_libesmtp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index 82e1a5f..7142fbd 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -158,7 +158,7 @@ static const char *_mutt_libesmtp_messagefp_cb (void **buf, int *len, char *p = strchr (*buf, '\0'); if (p[-1] == '\n' && p[-2] != '\r') { - m_strcpy(p - 1, *buf + BUFLEN - p + 1, "\r\n"); + m_strcpy(p - 1, (char *) *buf + BUFLEN - p + 1, "\r\n"); p++; } octets = p - (char *) *buf; -- 2.20.1