nightmaremail

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 0f35ad122eaba02b66fcd8432dd06ae71141b978
parent b832c07698ea195277d30558d0e8e070cca625cd
Author: Rolf Eike Beer <eike@sf-mail.de>
Date:   Wed,  1 Jul 2020 07:16:24 +0200

qmail-remote: fix warnings about get() being used with wrong pointer signedness

Diffstat:
Mqmail-remote.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/qmail-remote.c b/qmail-remote.c @@ -130,9 +130,9 @@ substdio smtpfrom = SUBSTDIO_FDBUF(saferead,-1,smtpfrombuf,sizeof smtpfrombuf); stralloc smtptext = {0}; -void get(ch) -char *ch; +static void get(unsigned char *uc) { + char *ch = (char *)uc; substdio_get(&smtpfrom,ch,1); if (*ch != '\r') if (smtptext.len < HUGESMTPTEXT)