X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=mutt_libesmtp.c;h=7142fbdcc8c7cad594991b4e9ec116afa790c477;hp=82e1a5f35602d5969fd12355b6715ecb4f0a0e2a;hb=e518a71f587454ec71cbdd6b37246f77235d4143;hpb=4dbc0e4a9d573611d4f521400a2e16f47c176639 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;