<86>Jan 3 02:23:30 userdel[2386069]: delete user 'rooter' <86>Jan 3 02:23:30 userdel[2386069]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 3 02:23:30 groupadd[2386155]: group added to /etc/group: name=rooter, GID=978 <86>Jan 3 02:23:30 groupadd[2386155]: group added to /etc/gshadow: name=rooter <86>Jan 3 02:23:30 groupadd[2386155]: new group: name=rooter, GID=978 <86>Jan 3 02:23:30 useradd[2386328]: new user: name=rooter, UID=978, GID=978, home=/root, shell=/bin/bash <86>Jan 3 02:23:31 userdel[2386543]: delete user 'builder' <86>Jan 3 02:23:31 userdel[2386543]: removed group 'builder' owned by 'builder' <86>Jan 3 02:23:31 groupadd[2386796]: group added to /etc/group: name=builder, GID=979 <86>Jan 3 02:23:31 groupadd[2386796]: group added to /etc/gshadow: name=builder <86>Jan 3 02:23:31 groupadd[2386796]: new group: name=builder, GID=979 <86>Jan 3 02:23:31 useradd[2386921]: new user: name=builder, UID=979, GID=979, home=/usr/src, shell=/bin/bash warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found sh: openssl-config: command not found <13>Jan 3 02:23:34 rpmi: libp11-kit-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Jan 3 02:23:34 rpmi: libtasn1-4.17.0-alt2 sisyphus+285706.100.1.1 1632328563 installed <13>Jan 3 02:23:34 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jan 3 02:23:34 rpmi: alternatives-0.5.1-alt1 sisyphus+278157.100.2.1 1626055790 installed <13>Jan 3 02:23:34 rpmi: ca-certificates-2021.10.06-alt1 sisyphus+286526.200.1.1 1633528578 installed <13>Jan 3 02:23:34 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Jan 3 02:23:34 rpmi: p11-kit-trust-0.23.15-alt2 sisyphus+287552.300.2.1 1634541413 installed <13>Jan 3 02:23:35 rpmi: libcrypto1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Jan 3 02:23:35 rpmi: libssl1.1-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed <13>Jan 3 02:23:35 rpmi: rpm-macros-pam0-1.5.2-alt1 sisyphus+284519.100.1.1 1630672115 installed <13>Jan 3 02:23:35 rpmi: libpam0-devel-1.5.2-alt1 sisyphus+284519.100.1.1 1630672115 installed <13>Jan 3 02:23:35 rpmi: libssl-devel-1.1.1l-alt2 sisyphus+287339.100.1.1 1634383589 installed warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/uw-imap-2004g-alt5.nosrc.rpm (w1.gzdio) warning: line 64: Deprecated PreReq converted to Requires: PreReq(post): /var/lib/ssl Installing uw-imap-2004g-alt5.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.91107 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + echo Using release number alt5 Using release number alt5 + cd /usr/src/RPM/BUILD + rm -rf imap-2004g + echo 'Source #0 (imap-2004g.tar.bz2):' Source #0 (imap-2004g.tar.bz2): + /bin/tar -xf - + /bin/bzip2 -dc /usr/src/RPM/SOURCES/imap-2004g.tar.bz2 + cd imap-2004g + /bin/chmod -c -Rf u+rwX,go-w . + ln -s . imap + tar jxvf /usr/src/RPM/SOURCES/imap-c-client-maildir.tar.bz2 imap/ imap/README.maildir imap/src/ imap/src/osdep/ imap/src/osdep/unix/ imap/src/osdep/unix/maildir.c imap/src/osdep/unix/maildir.h + echo 'Patch #1 (uw-imap-2001a-alt7-ALT-custom.patch):' Patch #1 (uw-imap-2001a-alt7-ALT-custom.patch): + /usr/bin/patch -p1 -b --suffix .ALT patching file Makefile Hunk #1 succeeded at 242 with fuzz 2 (offset -31 lines). patching file src/imapd/imapd.8 Hunk #2 succeeded at 29 with fuzz 1 (offset 3 lines). patching file src/ipopd/ipopd.8 Hunk #1 succeeded at 3 with fuzz 2. patching file src/osdep/unix/tcp_unix.c Hunk #1 succeeded at 317 (offset -17 lines). patching file src/osdep/unix/Makefile Hunk #1 succeeded at 83 (offset 24 lines). Hunk #2 succeeded at 454 (offset 1 line). + echo 'Patch #2 (uw-imap-2001a-alt7-flocksim.patch):' Patch #2 (uw-imap-2001a-alt7-flocksim.patch): + /usr/bin/patch -p1 -b --suffix .deb-port patching file src/osdep/unix/os_lnx.h patching file src/osdep/unix/nfstold.c patching file src/osdep/unix/os_lnx.c Hunk #1 succeeded at 42 with fuzz 2 (offset 1 line). patching file src/osdep/unix/flocksim.c patching file src/osdep/unix/nfstnew.c + echo 'Patch #3 (uw-imap-2001a-debian-portability.patch):' Patch #3 (uw-imap-2001a-debian-portability.patch): + /usr/bin/patch -p1 -b --suffix .deb-nonull patching file src/c-client/auth_md5.c + echo 'Patch #4 (uw-imap-2001a-debian-nonull.patch):' Patch #4 (uw-imap-2001a-debian-nonull.patch): + /usr/bin/patch -p1 -b --suffix .overflow patching file src/osdep/unix/env_unix.c Hunk #1 succeeded at 662 with fuzz 2 (offset 31 lines). Hunk #2 succeeded at 719 (offset 41 lines). + echo 'Patch #5 (uw-imap-2001a-overflow.patch):' Patch #5 (uw-imap-2001a-overflow.patch): + /usr/bin/patch -p1 -b --suffix .flock patching file src/c-client/rfc822.c Hunk #1 succeeded at 575 with fuzz 2 (offset -35 lines). + echo 'Patch #21 (uw-imap-2001a-debian-openssl1.1_autoverify.patch):' Patch #21 (uw-imap-2001a-debian-openssl1.1_autoverify.patch): + /usr/bin/patch -p1 patching file src/osdep/unix/ssl_unix.c + /usr/bin/subst 's/^(char \*version = ".+)(";)/${1}alt$2/g' src/imapd/imapd.c src/ipopd/ipop2d.c src/ipopd/ipop3d.c + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.22970 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + make -j16 SSLTYPE=unix.nopwd EXTRADRIVERS= 'EXTRASPECIALS=MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs' lnp make sslunix.nopwd make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2004g' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make: Entering directory '/usr/src/RPM/BUILD/imap-2004g' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make: Entering directory '/usr/src/RPM/BUILD/imap-2004g' make build EXTRACFLAGS='-DDISABLE_POP_PROXY=1' EXTRALDFLAGS='' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd IP=4 EXTRASPECIALS='MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs' BUILDTYPE=lnp make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2004g' make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make[1]: Entering directory '/usr/src/RPM/BUILD/imap-2004g' Building c-client for lnp... echo `cat SPECIALS` MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-DDISABLE_POP_PROXY=1'\ EXTRALDFLAGS=''\ EXTRADRIVERS=''\ EXTRAAUTHENTICATORS=''\ PASSWDTYPE=std SSLTYPE=unix.nopwd IP=4\ MAILSPOOL=/var/mail SSLDIR=/var/lib/ssl SSLINCLUDE=/usr/include SSLLIB=/usr/lib64 SSLCERTS=/var/lib/ssl/certs make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/c-client' make build EXTRACFLAGS='-DDISABLE_POP_PROXY=1' EXTRALDFLAGS='' EXTRADRIVERS='' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=unix.nopwd IP=4 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-pipe -frecord-gcc-switches -Wall -Wno-parentheses -g -O2 -flto=auto -ffat-lto-objects -fPIC -DPIC" \ BASELDFLAGS="-lpam -ldl" make[3]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/c-client' sh -c 'rm -rf auths.c crexcl.c nfstest.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -pipe -frecord-gcc-switches -Wall -Wno-parentheses -g -O2 -flto=auto -ffat-lto-objects -fPIC -DPIC '-DDISABLE_POP_PROXY=1' > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" > OSCFLAGS echo -lpam -ldl > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a" > ARCHIVE echo lnx > OSTYPE ./drivers imap nntp pop3 mh mx mbx tenex mtx mmdf unix news phile dummy ./mkauths md5 pla log make[4]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/c-client' echo -DMD5ENABLE=\"/etc/cram-md5.pwd\" >> OSCFLAGS make[4]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/c-client' ln -s os_lnx.h osdep.h ln -s os_lnx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip4_unix.c ip_unix.c sh -c '(test -f /usr/include/sys/statvfs.h -a lnx != sc5 -a lnx != sco) && ln -s nfstnew.c nfstest.c || ln -s nfstold.c nfstest.c' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include -I/usr/include/openssl -DSSL_CERT_DIRECTORY=\"/var/lib/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/var/lib/ssl/certs\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/lib64 -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:35, from osdep.c:23: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from osdep.h:60, from osdep.c:23: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from osdep.c:23: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | In file included from osdep.c:40: nl_unix.c: In function 'strcrlfcpy': nl_unix.c:41:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 41 | if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1); | ^ In file included from env_unix.c:137, from osdep.c:41: pmatch.c: In function 'pmatch_full': pmatch.c:33:43: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 33 | if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:187:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 187 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^ auth_md5.c:189:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 189 | for (s = user; *s && !isupper (*s); s++); | ^ auth_md5.c:191:24: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 191 | lusr = *s ? lcase (cpystr (user)) : NIL; | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:192:22: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 192 | for (s = strtok (buf,"\015\012"),lret = NIL; s; | ^~~ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:192:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 192 | for (s = strtok (buf,"\015\012"),lret = NIL; s; | ^ auth_md5.c:193:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 193 | s = ret ? NIL : strtok (NIL,"\015\012")) | ^ auth_md5.c:195:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 195 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:195:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 195 | if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { | ^ auth_md5.c:197:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 197 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:197:45: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 197 | if (!strcmp (s,user)) ret = cpystr (t); | ^ | | | unsigned char * In file included from osdep.c:35: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:198:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:198:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 198 | else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; | ^~~~ | | | unsigned char * In file included from osdep.h:36, from osdep.c:23: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c:201:37: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 201 | if (!ret && lret) ret = cpystr (lret); | ^~~~ | | | unsigned char * In file included from osdep.c:35: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:41: env_unix.c: In function 'pwuser': env_unix.c:500:33: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 500 | struct passwd *pw = getpwnam (user); | ^~~~ | | | unsigned char * In file included from osdep.c:34: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:41: env_unix.c:504:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 504 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~ | | | unsigned char * In file included from osdep.c:35: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:41: env_unix.c:504:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 504 | pw = getpwnam (s = lcase (cpystr (user))); | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from osdep.c:41: env_unix.c:504:24: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] 504 | pw = getpwnam (s = lcase (cpystr (user))); | ~~^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:34: /usr/include/pwd.h:116:45: note: expected 'const char *' but argument is of type 'unsigned char *' 116 | extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ In file included from osdep.c:41: env_unix.c: In function 'valpwd': env_unix.c:530:23: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 530 | ret = pwuser (user); /* validated, get passwd entry for user */ | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:535:25: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 535 | else if (pw = pwuser (user)) {/* can get user? */ | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c:538:51: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 538 | (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) | ^ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'server_login': env_unix.c:569:58: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 569 | else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'authserver_login': env_unix.c:587:28: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] 587 | return pw_login (pwuser (user),authuser,user,NIL,argc,argv); | ^~~~ | | | char * env_unix.c:497:46: note: expected 'unsigned char *' but argument is of type 'char *' 497 | static struct passwd *pwuser (unsigned char *user) | ~~~~~~~~~~~~~~~^~~~ env_unix.c: In function 'pw_login': env_unix.c:626:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 626 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:626:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 626 | if (user && auser && *auser && compare_cstring (auser,user)) { | ^~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:629:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 629 | if (!compare_cstring (auser,*t++)) | ^~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:629:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 629 | if (!compare_cstring (auser,*t++)) | ^~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c: In function 'mailboxfile': env_unix.c:907:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 907 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ~~~~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:907:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 907 | sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:917:64: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 917 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:917:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 917 | else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:937:56: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 937 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:937:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 937 | if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:951:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 951 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:951:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 951 | if (!compare_cstring (name,"INBOX")) name = "INBOX"; | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:965:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 965 | if (!compare_cstring (name+1,"NBOX")) { | ~~~~^~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:965:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 965 | if (!compare_cstring (name+1,"NBOX")) { | ^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c: In function 'dorc': env_unix.c:1397:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1397 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1397:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1397 | if (!compare_cstring (s,"set keywords") && !userFlags[0]) { | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1410:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1410 | if (!compare_cstring (s,"set new-folder-format")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1410:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1410 | if (!compare_cstring (s,"set new-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1411:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1411 | if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1411:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1411 | if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1413:48: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1413 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1413:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1413 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1415:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1415 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1415:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1415 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1419:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1419 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1419:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1419 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1427:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1427 | if (!compare_cstring (s,"set empty-folder-format")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1427:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1427 | if (!compare_cstring (s,"set empty-folder-format")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1428:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1428 | if (!compare_cstring (k,"same-as-inbox")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1428:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1428 | if (!compare_cstring (k,"same-as-inbox")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1430:48: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1430 | compare_cstring (d->name,"dummy")) ? | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1430:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1430 | compare_cstring (d->name,"dummy")) ? | ^~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1432:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1432 | else if (!compare_cstring (k,"system-standard")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1432:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1432 | else if (!compare_cstring (k,"system-standard")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1436:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1436 | d && compare_cstring (d->name,k); d = d->next); | ~^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1436:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1436 | d && compare_cstring (d->name,k); d = d->next); | ^ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1446:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1446 | if (!compare_cstring (s,"set local-host")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1446:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1446 | if (!compare_cstring (s,"set local-host")) { | ^~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1450:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1450 | else if (!compare_cstring (s,"set news-active-file")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1450:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1450 | else if (!compare_cstring (s,"set news-active-file")) { | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1454:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1454 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1454:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1454 | else if (!compare_cstring (s,"set news-spool-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1458:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1458 | else if (!compare_cstring (s,"set news-state-file")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1458:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1458 | else if (!compare_cstring (s,"set news-state-file")) { | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1462:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1462 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1462:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1462 | else if (!compare_cstring (s,"set ftp-export-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1466:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1466 | else if (!compare_cstring (s,"set public-home-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1466:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1466 | else if (!compare_cstring (s,"set public-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1470:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1470 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1470:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1470 | else if (!compare_cstring (s,"set shared-home-directory")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1474:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1474 | else if (!compare_cstring (s,"set system-inbox")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1474:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1474 | else if (!compare_cstring (s,"set system-inbox")) { | ^~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1478:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1478 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1478:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1478 | else if (!compare_cstring (s,"set mail-subdirectory")) { | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1482:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1482 | else if (!compare_cstring (s,"set from-widget")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1482:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1482 | else if (!compare_cstring (s,"set from-widget")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1484:45: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1484 | compare_cstring (k,"header-only") ? | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1484:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1484 | compare_cstring (k,"header-only") ? | ^~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1487:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1487 | else if (!compare_cstring (s,"set rsh-command")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1487:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1487 | else if (!compare_cstring (s,"set rsh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1489:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1489 | else if (!compare_cstring (s,"set rsh-path")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1489:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1489 | else if (!compare_cstring (s,"set rsh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1491:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1491 | else if (!compare_cstring (s,"set ssh-command")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1491:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1491 | else if (!compare_cstring (s,"set ssh-command")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1493:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1493 | else if (!compare_cstring (s,"set ssh-path")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1493:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1493 | else if (!compare_cstring (s,"set ssh-path")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1495:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1495 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1495:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1495 | else if (!compare_cstring (s,"set tcp-open-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1497:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1497 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1497:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1497 | else if (!compare_cstring (s,"set tcp-read-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1499:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1499 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1499:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1499 | else if (!compare_cstring (s,"set tcp-write-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1501:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1501 | else if (!compare_cstring (s,"set rsh-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1501:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1501 | else if (!compare_cstring (s,"set rsh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1503:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1503 | else if (!compare_cstring (s,"set ssh-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1503:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1503 | else if (!compare_cstring (s,"set ssh-timeout")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1505:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1505 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1505:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1505 | else if (!compare_cstring (s,"set maximum-login-trials")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1507:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1507 | else if (!compare_cstring (s,"set lookahead")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1507:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1507 | else if (!compare_cstring (s,"set lookahead")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1509:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1509 | else if (!compare_cstring (s,"set prefetch")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1509:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1509 | else if (!compare_cstring (s,"set prefetch")) | ^~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1511:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1511 | else if (!compare_cstring (s,"set close-on-error")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1511:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1511 | else if (!compare_cstring (s,"set close-on-error")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1513:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1513 | else if (!compare_cstring (s,"set imap-port")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1513:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1513 | else if (!compare_cstring (s,"set imap-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1515:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1515 | else if (!compare_cstring (s,"set pop3-port")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1515:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1515 | else if (!compare_cstring (s,"set pop3-port")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1517:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1517 | else if (!compare_cstring (s,"set uid-lookahead")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1517:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1517 | else if (!compare_cstring (s,"set uid-lookahead")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1519:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1519 | else if (!compare_cstring (s,"set try-ssl-first")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1519:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1519 | else if (!compare_cstring (s,"set try-ssl-first")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1522:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1522 | else if (!compare_cstring (s,"set mailbox-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1522:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1522 | else if (!compare_cstring (s,"set mailbox-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1524:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1524 | else if (!compare_cstring (s,"set directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1524:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1524 | else if (!compare_cstring (s,"set directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1526:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1526 | else if (!compare_cstring (s,"set lock-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1526:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1526 | else if (!compare_cstring (s,"set lock-protection")) | ^~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1528:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1528 | else if (!compare_cstring (s,"set ftp-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1528:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1528 | else if (!compare_cstring (s,"set ftp-protection")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1530:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1530 | else if (!compare_cstring (s,"set public-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1530:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1530 | else if (!compare_cstring (s,"set public-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1532:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1532 | else if (!compare_cstring (s,"set shared-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1532:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1532 | else if (!compare_cstring (s,"set shared-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1534:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1534 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1534:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1534 | else if (!compare_cstring (s,"set ftp-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1536:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1536 | else if (!compare_cstring (s,"set public-directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1536:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1536 | else if (!compare_cstring (s,"set public-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1538:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1538 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1538:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1538 | else if (!compare_cstring (s,"set shared-directory-protection")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1540:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1540 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1540:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1540 | else if (!compare_cstring (s,"set dot-lock-file-timeout")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1542:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1542 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1542:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1542 | else if (!compare_cstring (s,"set disable-fcntl-locking")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1544:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1544 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1544:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1544 | else if (!compare_cstring (s,"set disable-lock-warning")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1546:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1546 | else if (!compare_cstring (s,"set hide-dot-files")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1546:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1546 | else if (!compare_cstring (s,"set hide-dot-files")) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1548:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1548 | else if (!compare_cstring (s,"set list-maximum-level")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1548:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1548 | else if (!compare_cstring (s,"set list-maximum-level")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1550:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1550 | else if (!compare_cstring (s,"set trust-dns")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1550:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1550 | else if (!compare_cstring (s,"set trust-dns")) | ^~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1552:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1552 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1552:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1552 | else if (!compare_cstring (s,"set sasl-uses-ptr-name")) | ^~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1554:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1554 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1554:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1554 | else if (!compare_cstring (s,"set network-filesystem-stat-bug")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1558:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1558 | if (!compare_cstring (s,"set black-box-directory") && | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1558:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1558 | if (!compare_cstring (s,"set black-box-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1560:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1560 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1560:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1560 | else if (!compare_cstring(s,"set black-box-default-home-directory")&& | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1563:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1563 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1563:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1563 | else if (!compare_cstring (s,"set anonymous-home-directory") && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1565:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1565 | else if (!compare_cstring (s,"set disable-plaintext")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1565:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1565 | else if (!compare_cstring (s,"set disable-plaintext")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1567:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1567 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1567:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1567 | else if (!compare_cstring (s,"set allowed-login-attempts")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1569:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1569 | else if (!compare_cstring (s,"set chroot-server")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1569:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1569 | else if (!compare_cstring (s,"set chroot-server")) | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1571:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1571 | else if (!compare_cstring (s,"set restrict-mailbox-access")) { | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1571:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1571 | else if (!compare_cstring (s,"set restrict-mailbox-access")) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1573:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1573 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1573:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1573 | if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; | ^~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1574:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1574 | else if (!compare_cstring (k,"otherusers")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1574:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1574 | else if (!compare_cstring (k,"otherusers")) | ^~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1576:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1576 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1576:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1576 | else if (!compare_cstring (k,"all")) restrictBox = -1; | ^~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1579:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1579 | else if (!compare_cstring (s,"set advertise-the-world")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1579:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1579 | else if (!compare_cstring (s,"set advertise-the-world")) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1581:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1581 | else if (!compare_cstring (s,"set limited-advertise")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1581:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1581 | else if (!compare_cstring (s,"set limited-advertise")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1584:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1584 | (s,"set disable-automatic-shared-namespaces")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1584:23: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1584 | (s,"set disable-automatic-shared-namespaces")) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1586:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1586 | else if (!compare_cstring (s,"set allow-user-config")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1586:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1586 | else if (!compare_cstring (s,"set allow-user-config")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1588:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1588 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^ | | | char * In file included from osdep.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c:1588:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1588 | else if (!compare_cstring (s,"set allow-reverse-dns")) | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ In file included from osdep.c:41: env_unix.c: In function 'mm_blocknotify': env_unix.c:1635:11: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1635 | ret = (void *) alarm (0); | ^ env_unix.c:1638:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1638 | if ((unsigned int) data) alarm ((unsigned int) data); | ^ env_unix.c:1638:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1638 | if ((unsigned int) data) alarm ((unsigned int) data); | ^ In file included from tcp_unix.c:21, from osdep.c:43: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:157:37: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 157 | (he = gethostbyname (lcase (strcpy (tmp,name))))) { | ^~~~~~~~~~~~~~~~~ | | | char * In file included from osdep.c:35: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ In file included from tcp_unix.c:21, from osdep.c:43: ip_unix.c:157:30: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] 157 | (he = gethostbyname (lcase (strcpy (tmp,name))))) { | ^~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.c:30: /usr/include/netdb.h:142:51: note: expected 'const char *' but argument is of type 'unsigned char *' 142 | extern struct hostent *gethostbyname (const char *__name); | ~~~~~~~~~~~~^~~~~~ osdep.c: In function 'ssl_start_work': osdep.c:421:40: warning: 'TLSv1_client_method' is deprecated [-Wdeprecated-declarations] 421 | TLSv1_client_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/x509.h:14, from osdep.c:232: /usr/include/openssl/ssl.h:1884:45: note: declared here 1884 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_client_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c:416:25: warning: unused variable 'scq' [-Wunused-variable] 416 | sslcertificatequery_t scq = | ^~~ osdep.c:415:16: warning: unused variable 'tmp' [-Wunused-variable] 415 | char *s,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c:415:12: warning: unused variable 'err' [-Wunused-variable] 415 | char *s,*err,tmp[MAILTMPLEN]; | ^~~ osdep.c:415:9: warning: unused variable 's' [-Wunused-variable] 415 | char *s,*err,tmp[MAILTMPLEN]; | ^ osdep.c:414:9: warning: unused variable 'cert' [-Wunused-variable] 414 | X509 *cert; | ^~~~ osdep.c: In function 'ssl_server_init': osdep.c:810:40: warning: 'TLSv1_server_method' is deprecated [-Wdeprecated-declarations] 810 | TLSv1_server_method () : | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/x509.h:14, from osdep.c:232: /usr/include/openssl/ssl.h:1883:45: note: declared here 1883 | DEPRECATEDIN_1_1_0(__owur const SSL_METHOD *TLSv1_server_method(void)) | ^~~~~~~~~~~~~~~~~~~ osdep.c: In function 'ssl_genkey': osdep.c:879:5: warning: 'RSA_generate_key' is deprecated [-Wdeprecated-declarations] 879 | if (!(key = RSA_generate_key (export ? keylength : 1024,RSA_F4,NIL,NIL))) { | ^~ In file included from /usr/include/openssl/e_os2.h:13, from /usr/include/openssl/x509.h:14, from osdep.c:232: /usr/include/openssl/rsa.h:235:1: note: declared here 235 | DEPRECATEDIN_0_9_8(RSA *RSA_generate_key(int bits, unsigned long e, void | ^~~~~~~~~~~~~~~~~~ In file included from auths.c:1, from env_unix.c:141, from osdep.c:41: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:187:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 187 | read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.c:41: env_unix.c: In function 'pw_login': env_unix.c:644:44: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 644 | (ret = env_init (user,home))) chdir (myhomedir ()); | ^~~~~~~~~~~~~~~~~~~~ At top level: osdep.c:514:13: warning: 'ssl_compare_hostnames' defined but not used [-Wunused-function] 514 | static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat) | ^~~~~~~~~~~~~~~~~~~~~ osdep.c:499:14: warning: 'ssl_extract_cn' defined but not used [-Wunused-function] 499 | static char *ssl_extract_cn (char *name) | ^~~~~~~~~~~~~~ In file included from osdep.c:43: tcp_unix.c: In function 'tcp_name': tcp_unix.c:896:44: warning: '%s' directive writing up to 1023 bytes into a region of size 1001 [-Wformat-overflow=] 896 | sprintf (tmp,"Reverse DNS resolution %s",adr); | ^~ ~~~ In file included from /usr/include/stdio.h:888, from osdep.c:24: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 24 and 1047 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ In file included from osdep.c:43: tcp_unix.c:904:42: warning: '__sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 904 | if (flag) sprintf (ret = tmp,"%s %s",t,adr); | ^ In file included from /usr/include/stdio.h:888, from osdep.c:24: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output 2 or more bytes (assuming 1025) into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mail.c In file included from osdep.h:60, from mail.c:25: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mail.c:25: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mail.c: In function 'mail_parameters': mail.c:344:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 344 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:344:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 344 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:349:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 349 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:349:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 349 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:354:50: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 354 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:354:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 354 | for (d = maildrivers; d && compare_cstring (d->name,(char *) value); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:362:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 362 | a && compare_cstring (a->name,(char *) value); a = a->next); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:362:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 362 | a && compare_cstring (a->name,(char *) value); a = a->next); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_valid_net_parse_work': mail.c:711:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 711 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:711:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 711 | if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:712:18: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 712 | lcase (strcpy (mb->service,v)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:713:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 713 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:713:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 713 | else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:715:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 715 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:715:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 715 | else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && | ^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:721:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 721 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:721:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 721 | if (!compare_cstring (s,"anonymous")) mb->anoflag = T; | ^~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:722:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 722 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:722:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 722 | else if (!compare_cstring (s,"debug")) mb->dbgflag = T; | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:723:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 723 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:723:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 723 | else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; | ^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:724:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 724 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:724:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 724 | else if (!compare_cstring (s,"secure")) mb->secflag = T; | ^~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:725:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 725 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:725:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 725 | else if (!compare_cstring (s,"norsh")) mb->norsh = T; | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:726:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 726 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:726:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 726 | else if (!compare_cstring (s,"loser")) mb->loser = T; | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:727:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 727 | else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:727:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 727 | else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; | ^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:728:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 728 | else if (!compare_cstring (s,"notls") && !mb->tlsflag) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:728:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 728 | else if (!compare_cstring (s,"notls") && !mb->tlsflag) | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:730:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 730 | else if (!compare_cstring (s,"tryssl")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:730:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 730 | else if (!compare_cstring (s,"tryssl")) | ^~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:732:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 732 | else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:732:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 732 | else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; | ^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:733:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 733 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:733:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 733 | else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) | ^~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:736:53: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 736 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:736:55: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 736 | else if (mailssldriver && !compare_cstring (s,"validate-cert")); | ^~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:739:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"imap") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:739:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 739 | else if (!compare_cstring (s,"imap") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:740:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 740 | !compare_cstring (s,"nntp") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:740:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 740 | !compare_cstring (s,"nntp") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:741:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 741 | !compare_cstring (s,"pop3") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:741:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 741 | !compare_cstring (s,"pop3") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:742:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 742 | !compare_cstring (s,"smtp") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:742:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 742 | !compare_cstring (s,"smtp") || | ^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:743:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 743 | !compare_cstring (s,"submit")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:743:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 743 | !compare_cstring (s,"submit")) | ^~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:744:18: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 744 | lcase (strcpy (mb->service,s)); | ^~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:745:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"imap2") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:745:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 745 | else if (!compare_cstring (s,"imap2") || | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:746:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 746 | !compare_cstring (s,"imap2bis") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:746:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 746 | !compare_cstring (s,"imap2bis") || | ^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:747:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 747 | !compare_cstring (s,"imap4") || | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:747:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 747 | !compare_cstring (s,"imap4") || | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:748:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 748 | !compare_cstring (s,"imap4rev1")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:748:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 748 | !compare_cstring (s,"imap4rev1")) | ^~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:750:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"pop")) | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:750:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 750 | else if (!compare_cstring (s,"pop")) | ^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_create': mail.c:923:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 923 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:923:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 923 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_open': mail.c:1151:52: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1151 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:1151:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1151 | for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); | ^~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_fetch_overview': mail.c:1354:48: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 1354 | if (stream->dtb && mail_uid_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_fetch_overview_sequence': mail.c:1370:44: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 1370 | if (stream->dtb && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_fetch_overview_default': mail.c:1395:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1395 | ov.date = env->date; | ^ mail.c: In function 'mail_fetch_header': mail.c:1613:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1613 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_text': mail.c:1703:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1703 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_mime': mail.c:1757:61: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1757 | if (!(section && *section && (b = mail_body (stream,msgno,section)))) | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_fetch_body': mail.c:1839:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1839 | if (!(b = mail_body (stream,msgno,section))) return ""; | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_partial_text': mail.c:1899:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1899 | if (!((b = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_partial_body': mail.c:1967:37: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 1967 | if (!(b = mail_body (stream,msgno,section))) return NIL; | ^~~~~~~ | | | char * In file included from mail.c:24: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_flag': mail.c:2181:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 2181 | ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c:2182:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2182 | mail_sequence (stream,sequence)) && | ^~~~~~~~ | | | char * In file included from mail.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mail.c: In function 'mail_append_multiple': mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 2474 | if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2474 | if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ mail.c: In function 'mail_body': mail.c:2597:28: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2597 | if (!(i = strtoul (section,(char **) §ion,10)) || | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_parse_date': mail.c:2728:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2728 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:2728:76: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 2728 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from mail.c:22: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ mail.c:2728:64: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 2728 | if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:2734:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2734 | if (!(m = strtoul (s,(char **) &s,10))) return NIL; | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2738:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2738 | if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2740:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2740 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2749:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2749 | if (strlen (s) < (size_t) 5) return NIL; | ^ | | | unsigned char * In file included from osdep.h:36, from mail.c:25: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mail.c:2777:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2777 | y = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2795:19: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2795 | d = strtoul (s+1,(char **) &s,10); | ~^~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2797:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2797 | m = strtoul (++s,(char **) &s,10); | ^~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:2798:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2798 | y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; | ^~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_uid_sequence': mail.c:3128:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3128 | else if (!(i = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:3139:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3139 | else if (!(j = strtoul (sequence,(char **) &sequence,10))) { | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_filter': mail.c:3237:60: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 3237 | if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) | ^~~ | | | char * In file included from mail.c:27: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_search_msg': mail.c:3368:44: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3368 | BODY *body = mail_body (stream,msgno,section); | ^~~~~~~ | | | char * mail.c:2587:72: note: expected 'unsigned char *' but argument is of type 'char *' 2587 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_search_text': mail.c:3539:46: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 3539 | else if ((body = mail_body (stream,msgno,section)) && | ^~~~~~~ | | | char * mail.c:2587:72: note: expected 'unsigned char *' but argument is of type 'char *' 2587 | BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) | ~~~~~~~~~~~~~~~^~~~~~~ mail.c: In function 'mail_search_keyword': mail.c:3688:50: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 3688 | if (!compare_csizedtext (stream->user_flags[i],&st->text)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from mail.c:27: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_criteria': mail.c:3819:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 3819 | switch (*ucase (criterion)) { | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_criteria_date': mail.c:3906:36: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 3906 | mail_parse_date (&elt,(char *) s->text.data) && | ^~~~~~~~~~~~~~~~~~~~~ | | | char * mail.c:2710:56: note: expected 'unsigned char *' but argument is of type 'char *' 2710 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sort_loadcache': mail.c:4112:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4112 | if (env) t = env->date; | ^ mail.c:4128:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4128 | if (!(t && mail_parse_date (&telt,t) && | ^ | | | char * mail.c:2710:56: note: expected 'unsigned char *' but argument is of type 'char *' 2710 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sort_compare': mail.c:4420:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4420 | i = compare_cstring (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4420:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4420 | i = compare_cstring (s1->from,s2->from); | ~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4423:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4423 | i = compare_cstring (s1->to,s2->to); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4423:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4423 | i = compare_cstring (s1->to,s2->to); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4426:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4426 | i = compare_cstring (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4426:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4426 | i = compare_cstring (s1->cc,s2->cc); | ~~^~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4429:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4429 | i = compare_cstring (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4429:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4429 | i = compare_cstring (s1->subject,s2->subject); | ~~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_msgs': mail.c:4528:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4528 | if (!compare_cstring (type,t->name)) { | ^~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4528:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4528 | if (!compare_cstring (type,t->name)) { | ~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_orderedsubject': mail.c:4572:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4572 | if (compare_cstring (top->sc->subject,s->subject)) { | ~~~~~~~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:4572:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4572 | if (compare_cstring (top->sc->subject,s->subject)) { | ~^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_thread_loadcache': mail.c:4890:58: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 4890 | if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) | ~~^~~~~~ | | | char * mail.c:2710:56: note: expected 'unsigned char *' but argument is of type 'char *' 2710 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) | ~~~~~~~~~~~~~~~^ mail.c: In function 'mail_sequence': mail.c:5126:29: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5126 | else if (!(i = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c:5142:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5142 | else if (!(j = strtoul (sequence,(char **) &sequence,10)) || | ^~~~~~~~ | | | unsigned char * In file included from osdep.h:35, from mail.c:25: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mail.c: In function 'mail_parse_flags': mail.c:5197:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5197 | ucase (strcpy (flg,t)); | ^~~~~~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mail.c:5229:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5229 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5229:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5229 | if (!compare_cstring (t,s)) *uf |= i = 1 << j; | ^ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_usable_network_stream': mail.c:5280:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5280 | ((!compare_cstring (smb.host, | ~~~^~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5281:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5281 | trustdns ? tcp_canonical (nmb.host) : nmb.host)&& | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5286:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5286 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5286:43: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5286 | (!compare_cstring (omb.host,nmb.host) && | ~~~^~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_auth': mail.c:5856:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5856 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5856:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5856 | if (auth->server && !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c: In function 'mail_lookup_auth_name': mail.c:5888:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5888 | !compare_cstring (auth->name,mechanism)) | ~~~~^~~~~~ | | | char * In file included from mail.c:27: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mail.c:5888:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5888 | !compare_cstring (auth->name,mechanism)) | ^~~~~~~~~ | | | char * In file included from mail.c:27: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ `cat CCTYPE` -c `cat CFLAGS` misc.c In file included from osdep.h:60, from misc.c:31: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from misc.c:31: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | misc.c: In function 'compare_csizedtext': misc.c:408:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 408 | for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) | ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c In file included from osdep.h:60, from newsrc.c:25: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from newsrc.c:25: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | newsrc.c: In function 'newsrc_lsub': newsrc.c:160:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 160 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:160:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 160 | if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ newsrc.c:163:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 163 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ newsrc.c:163:33: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 163 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from newsrc.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ newsrc.c: In function 'newsrc_state': newsrc.c:460:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 460 | fread (s,(size_t) 1,size,f); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smanager.c In file included from osdep.h:60, from smanager.c:25: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from smanager.c:25: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | smanager.c: In function 'sm_subscribe': smanager.c:38:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 38 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:38:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 38 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c: In function 'sm_unsubscribe': smanager.c:71:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 71 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smanager.c:71:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 71 | if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; | ^~~~~~~ | | | char * In file included from smanager.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ `cat CCTYPE` -c `cat CFLAGS` utf8.c In file included from osdep.h:60, from utf8.c:25: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from utf8.c:25: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | utf8.c:110:39: warning: missing braces around initializer [-Wmissing-braces] 110 | static const CHARSET utf8_csvalid[] = { | ^ utf8.c:238:38: warning: missing braces around initializer [-Wmissing-braces] 238 | static const SCRIPT utf8_scvalid[] = { | ^ utf8.c: In function 'utf8_script': utf8.c:275:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 275 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ^~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:275:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 275 | if (!compare_cstring (script,utf8_scvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_charset': utf8.c:291:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 291 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ^~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:291:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 291 | if (!compare_cstring (charset,utf8_csvalid[i].name)) | ~~~~~~~~~~~~~~~^~~~~ | | | char * In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_rmap': utf8.c:397:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 397 | if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; | ^~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:397:43: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 397 | if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; | ^~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_cstext': utf8.c:504:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c:504:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); | ^~~~~~~~~~~~~ | | | char * In file included from utf8.c:26: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ utf8.c: In function 'utf8_text_euc': utf8.c:797:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 797 | c1 + ((unsigned int) p2->tab) : UBOGON; | ^ utf8.c:812:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 812 | c1 + ((unsigned int) p3->tab) : UBOGON; | ^ utf8.c: In function 'utf8_rmap': utf8.c:465:18: warning: iteration 94 invokes undefined behavior [-Waggressive-loop-optimizations] 465 | if ((u = jis0208tab[ku][ten]) != UBOGON) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ utf8.c:464:27: note: within this loop 464 | for (ten = 0; ten <= MAX_JIS0208_TEN; ten++) utf8.c:465:18: warning: iteration 83 invokes undefined behavior [-Waggressive-loop-optimizations] 465 | if ((u = jis0208tab[ku][ten]) != UBOGON) { | ~~~^~~~~~~~~~~~~~~~~~~~~~ utf8.c:463:23: note: within this loop 463 | for (ku = 0; ku <= MAX_JIS0208_KU; ku++) `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c In file included from osdep.h:60, from dummy.c:27: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from dummy.c:27: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | dummy.c: In function 'dummy_valid': dummy.c:117:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 117 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:117:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 117 | else if (!compare_cstring (name,"INBOX")) return &dummydriver; | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_scan': dummy.c:177:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 177 | if (pmatch ("INBOX",ucase (test))) | ^~~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:177:17: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 177 | if (pmatch ("INBOX",ucase (test))) | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c: In function 'dummy_lsub': dummy.c:208:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 208 | if (!compare_cstring (s,"INBOX") && | ^ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:208:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 208 | if (!compare_cstring (s,"INBOX") && | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:209:34: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 209 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~~~~~~~~~~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dummy.c:209:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 209 | pmatch ("INBOX",ucase (strcpy (tmp,test)))) | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:211:29: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 211 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:211:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 211 | else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:214:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 214 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:214:28: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 214 | if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c: In function 'dummy_list_work': dummy.c:263:39: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 263 | if (!level && dir && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:263:43: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 263 | if (!level && dir && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:270:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 270 | (((int) mail_parameters (NIL,GET_HIDEDOTFILES,NIL)) ? NIL : | ^ dummy.c:278:27: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((pmatch_full (tmp,pat,'/') || | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:278:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 278 | if ((pmatch_full (tmp,pat,'/') || | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:279:27: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:279:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:279:64: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:279:68: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 279 | pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:287:30: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 287 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:287:34: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 287 | if (pmatch_full (tmp,pat,'/')) { | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:292:35: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 292 | else if (pmatch_full (strcat (tmp,"/"),pat,'/') && | ^~~~~~~~~~~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:292:52: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 292 | else if (pmatch_full (strcat (tmp,"/"),pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:295:25: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 295 | if (dmatch (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:295:29: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 295 | if (dmatch (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:302:58: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 302 | if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ dummy.c:302:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 302 | if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from dummy.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ dummy.c:303:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 303 | compare_cstring (tmp,"INBOX")) | ^~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:303:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 303 | compare_cstring (tmp,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_create': dummy.c:389:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 389 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:389:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 389 | if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_create_path': dummy.c:433:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 433 | (int) mail_parameters(NIL,GET_MBXPROTECTION,NIL))) >= 0) | ^ dummy.c: In function 'dummy_rename': dummy.c:495:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 495 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:495:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 495 | if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_open': dummy.c:524:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 524 | if (compare_cstring (stream->mailbox,"INBOX")) | ~~~~~~^~~~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:524:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 524 | if (compare_cstring (stream->mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_copy': dummy.c:628:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 628 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from dummy.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c:629:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 629 | mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); | ^~~~~~~~ | | | char * In file included from dummy.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ dummy.c: In function 'dummy_append': dummy.c:649:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 649 | if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c:649:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 649 | if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && | ^~~~~~~ | | | char * In file included from dummy.c:31: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ dummy.c: In function 'dummy_scan_contents': dummy.c:335:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 335 | read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from osdep.h:60, from dummy.c:27: dummy.c: In function 'dummy_listed': flocksim.h:50:4: warning: 'csiz' may be used uninitialized in this function [-Wmaybe-uninitialized] 50 | dummy_scan_contents (name,contents,csiz,fsiz) | ^~~~~~~~~~~~~~~~~~~ dummy.c:362:17: note: 'csiz' was declared here 362 | unsigned long csiz; | ^~~~ In file included from /usr/include/stdio.h:888, from dummy.c:22: In function 'sprintf', inlined from 'dummy_delete' at dummy.c:454:5: /usr/include/bits/stdio2.h:38:10: warning: '%.80s' directive argument is null [-Wformat-overflow=] 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c In file included from osdep.h:60, from netmsg.c:26: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from netmsg.c:26: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | `cat CCTYPE` -c `cat CFLAGS` flstring.c In file included from osdep.h:60, from flstring.c:24: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from flstring.c:24: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | `cat CCTYPE` -c `cat CFLAGS` fdstring.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:35, from fdstring.c:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from osdep.h:60, from fdstring.c:22: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from fdstring.c:22: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | fdstring.c: In function 'fd_string_init': fdstring.c:48:13: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 48 | s->data = (void *) d->fd; /* note fd */ | ^ fdstring.c: In function 'fd_string_setpos': fdstring.c:87:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 87 | lseek ((int) s->data,s->data1 + s->offset,L_SET); | ^ fdstring.c:88:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 88 | read ((int) s->data,s->curpos,(size_t) s->cursize); | ^ fdstring.c:88:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 88 | read ((int) s->data,s->curpos,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fdstring.c: In function 'fd_string_init': fdstring.c:58:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 58 | read (d->fd,s->chunk,(size_t) s->cursize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` rfc822.c In file included from osdep.h:60, from rfc822.c:33: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from rfc822.c:33: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | rfc822.c: In function 'rfc822_header': rfc822.c:97:45: warning: pointer targets in passing argument 4 of 'rfc822_header_line' differ in signedness [-Wpointer-sign] 97 | rfc822_header_line (&header,"Date",env,env->date); | ~~~^~~~~~ | | | unsigned char * In file included from rfc822.c:34: rfc822.h:41:71: note: expected 'char *' but argument is of type 'unsigned char *' 41 | void rfc822_header_line (char **header,char *type,ENVELOPE *env,char *text); | ~~~~~~^~~~ rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:385:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 385 | ucase (tmp); /* coerce to uppercase */ | ^~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:411:60: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 411 | if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); | ^ rfc822.c: In function 'rfc822_parse_content': rfc822.c:683:63: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 683 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ~~^~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:683:54: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] 683 | rfc822_parse_content_header (&part->body,ucase (s1+8),s); | ^~~~~~~~~~~~ | | | unsigned char * In file included from rfc822.c:34: rfc822.h:52:52: note: expected 'char *' but argument is of type 'unsigned char *' 52 | void rfc822_parse_content_header (BODY *body,char *name,char *s); | ~~~~~~^~~~ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:750:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 750 | body->disposition.type = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:750:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 750 | body->disposition.type = ucase (cpystr (s)); | ^ rfc822.c:764:51: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 764 | stl->text.data = (unsigned char *) ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:788:18: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 788 | s = ucase (rfc822_cpy(s));/* search for body type */ | ^~~~~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:788:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 788 | s = ucase (rfc822_cpy(s));/* search for body type */ | ^ rfc822.c:803:39: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 803 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^~~~~~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:803:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 803 | if (s) body->subtype = ucase (rfc822_cpy (s)); | ^ rfc822.c:816:18: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 816 | s = ucase (rfc822_cpy(s));/* search for body encoding */ | ^~~~~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:816:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 816 | s = ucase (rfc822_cpy(s));/* search for body encoding */ | ^ rfc822.c:823:52: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 823 | else body_encodings[body->encoding] = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:823:43: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 823 | else body_encodings[body->encoding] = ucase (cpystr (s)); | ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:850:33: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 850 | param->attribute = ucase (cpystr (s)); | ^~~~~~~~~~ | | | char * In file included from rfc822.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ rfc822.c:850:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 850 | param->attribute = ucase (cpystr (s)); | ^ `cat CCTYPE` -c `cat CFLAGS` nntp.c In file included from osdep.h:60, from nntp.c:25: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from nntp.c:25: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | nntp.c: In function 'nntp_list': nntp.c:358:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 358 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:358:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 358 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c:361:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 361 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ nntp.c:361:33: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 361 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from nntp.c:28: nntp.c: In function 'nntp_lsub': nntp.c:393:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 393 | if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from nntp.c:28: nntp.c:393:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 393 | if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from nntp.c:25: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ nntp.c: In function 'nntp_status': nntp.c:562:31: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] 562 | newsrc_check_uid (state,k,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:29: newsrc.h:34:39: note: expected 'unsigned char *' but argument is of type 'char *' 34 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c:571:27: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] 571 | newsrc_check_uid (state,i++,&status.recent,&status.unseen); | ^~~~~ | | | char * In file included from nntp.c:29: newsrc.h:34:39: note: expected 'unsigned char *' but argument is of type 'char *' 34 | void newsrc_check_uid (unsigned char *state,unsigned long uid, | ~~~~~~~~~~~~~~~^~~~~ nntp.c: In function 'nntp_mopen': nntp.c:727:12: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 727 | lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * 728 | net_host (nstream->netstream) : mb.host)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from nntp.c:28: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c:737:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 737 | sprintf (tmp,"{%s:%lu/nntp",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ nntp.c: In function 'nntp_fetchfast': nntp.c:845:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 845 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:846:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 846 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function 'nntp_flags': nntp.c:888:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 888 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c:888:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 888 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from nntp.c:24: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ nntp.c: In function 'nntp_over': nntp.c:991:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 991 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ nntp.c:991:72: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 991 | while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ | ^ | | | unsigned char * In file included from osdep.h:36, from nntp.c:25: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ nntp.c: In function 'nntp_parse_overview': nntp.c:1037:45: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1037 | if (!elt->day) mail_parse_date (elt,ov->date); | ~~^~~~~~ | | | char * In file included from nntp.c:24: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_search_msg': nntp.c:1312:36: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1312 | (!mail_parse_date (&delt,ov->date) || | ~~^~~~~~ | | | char * In file included from nntp.c:24: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1524:40: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1524 | if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); | ^ | | | char * In file included from nntp.c:24: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ nntp.c: In function 'nntp_open_full': nntp.c:1676:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1676 | stream->host = cpystr ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ nntp.c:1729:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1729 | if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { | ^ nntp.c:1731:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1731 | strncpy (mb.host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? | ^ nntp.c:1754:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1754 | if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { | ^ nntp.c:1755:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1755 | strncpy (mb.host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? | ^ nntp.c: In function 'nntp_extensions': nntp.c:1806:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1806 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1806:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1806 | if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; | ^~~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1807:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1807:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1807 | else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; | ^~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1808:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1808 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1808:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1808 | else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; | ^~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1809:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1809:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1809 | else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; | ^~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1810:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1810 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1810:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1810 | else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; | ^~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1811:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1811 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1811:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1811 | else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; | ^~~~~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1813:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1813 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1813:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1813 | else if (!compare_cstring (t,"AUTHINFO") && args) { | ^~~~~~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1816:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1816 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~ | | | char * In file included from nntp.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c:1816:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1816 | if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; | ^~~~~~ | | | char * In file included from nntp.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ nntp.c: In function 'nntp_mail': nntp.c:1897:22: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] 1897 | if (s = strstr (env->date," (")) *s = NIL; | ~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from nntp.c:25: /usr/include/string.h:334:34: note: expected 'const char *' but argument is of type 'unsigned char *' 334 | extern char *strstr (const char *__haystack, const char *__needle) | ~~~~~~~~~~~~^~~~~~~~~~ nntp.c: In function 'nntp_send_auth': nntp.c:1980:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1980 | sprintf (tmp,"{%.200s/nntp",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ nntp.c:1981:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1981 | ((int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? | ^ nntp.c: In function 'nntp_mopen': nntp.c:756:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 756 | fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 757 | (size_t) 1,(size_t) k,f); | ~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c: In function 'nntp_header': nntp.c:1092:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 1092 | fread (elt->private.msg.header.text.data = | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1093 | (unsigned char *) fs_get ((size_t) *size + 3), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1094 | (size_t) 1,(size_t) *size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` smtp.c In file included from osdep.h:60, from smtp.c:32: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from smtp.c:32: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | smtp.c: In function 'smtp_open_full': smtp.c:161:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 161 | else if (!compare_cstring (mb.service,"submit")) { | ~~^~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:161:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 161 | else if (!compare_cstring (mb.service,"submit")) { | ^~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:174:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 174 | stream->host = cpystr ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ smtp.c:179:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | s = compare_cstring ("localhost",mb.host) ? | ^~~~~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:179:44: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 179 | s = compare_cstring ("localhost",mb.host) ? | ~~^~~~~ | | | char * In file included from smtp.c:35: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ smtp.c:230:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 230 | if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { | ^ smtp.c:233:26: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 233 | (int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? | ^ smtp.c: In function 'smtp_mail': smtp.c:438:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 438 | (int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ smtp.c:439:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 439 | ((int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? | ^ smtp.c: In function 'smtp_ehlo': smtp.c:658:12: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 658 | ucase (strncpy (tmp,stream->reply+4,MAILTMPLEN-1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from smtp.c:35: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c In file included from osdep.h:60, from imap4r1.c:33: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from imap4r1.c:33: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | In file included from imap4r1.c:36: imap4r1.c: In function 'imap_lsub': imap4r1.c:487:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 487 | if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from imap4r1.c:33: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from imap4r1.c:36: imap4r1.c:487:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 487 | if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from imap4r1.c:33: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ imap4r1.c: In function 'imap_list_work': imap4r1.c:546:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 546 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:546:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 546 | if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:548:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 548 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:548:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 548 | else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:560:63: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 560 | strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:561:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 561 | !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_manage': imap4r1.c:663:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] 663 | if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && | ^~ imap4r1.c:684:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 684 | mm_log (reply->text,ret ? NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_open': imap4r1.c:852:32: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 852 | if (!reply || strcmp (reply->tag,"*") || | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:853:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 853 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:853:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 853 | (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:854:31: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 854 | if (reply) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:859:42: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 859 | if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:883:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 883 | if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { | ^ imap4r1.c:885:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 885 | strncpy (mb.host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL)? | ^ imap4r1.c:931:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 931 | sprintf (tmp,"{%s",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ imap4r1.c:963:45: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 963 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ~~^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:963:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 963 | stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:973:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 973 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_rimap': imap4r1.c:1019:68: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1019 | !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1023:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1023 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1023:56: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1023 | if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_anon': imap4r1.c:1059:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1059 | if (compare_cstring (reply->tag,tag)) { | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1061:70: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1061 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1076:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1076 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_auth': imap4r1.c:1126:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1126 | else if (compare_cstring (reply->tag,tag)) | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1127:74: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1127 | while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:1136:31: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1136 | lsterr = cpystr (reply->text); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:36: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_login': imap4r1.c:1188:24: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1188 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_challenge': imap4r1.c:1218:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1218 | !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:1223:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1223 | strlen (reply->text),len))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c: In function 'imap_close': imap4r1.c:1280:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1280 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_fast': imap4r1.c:1320:45: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1320 | if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_flags': imap4r1.c:1341:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1341 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_overview': imap4r1.c:1394:15: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1394 | ov.date = env->date; | ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1442:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1442 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1567:29: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1567 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1569:27: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1569 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1799:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1799 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1809:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1809 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1818:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1818 | mm_log (reply->text,WARN); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:1822:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1822 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_uid': imap4r1.c:1875:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1875 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_msgno': imap4r1.c:1911:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1911 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_flag': imap4r1.c:1952:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 1952 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_search': imap4r1.c:2019:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2019 | !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2038:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2038 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2044:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2044 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c:2080:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2080 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_sort': imap4r1.c:2142:46: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2142 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2149:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2149 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2158:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2158 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_thread': imap4r1.c:2243:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2243 | if (!compare_cstring (thr->name,type)) | ~~~^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2243:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2243 | if (!compare_cstring (thr->name,type)) | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_thread_work': imap4r1.c:2303:44: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2303 | if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2310:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2310 | if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:2318:21: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2318 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_check': imap4r1.c:2342:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2342 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_expunge': imap4r1.c:2353:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2353 | mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_copy': imap4r1.c:2381:62: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 2381 | if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && | ^~~~~~~~ | | | char * In file included from imap4r1.c:32: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imap4r1.c:2384:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2384 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append': imap4r1.c:2436:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2436 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2497:20: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2497 | mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_append_single': imap4r1.c:2527:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 2527 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from imap4r1.c:32: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:2531:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2531 | LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); | ^ imap4r1.c:2532:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2532 | LOCAL->reply.key = "BAD"; | ^ imap4r1.c:2533:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2533 | LOCAL->reply.text = "Bad date in append"; | ^ imap4r1.c:2543:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2543 | if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2729:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2729 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_setquota': imap4r1.c:2753:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2753 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_getquota': imap4r1.c:2775:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2775 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:2798:23: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 2798 | else mm_log (reply->text,ERROR); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ imap4r1.c: In function 'imap_send': imap4r1.c:2835:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2835 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2835:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2835 | (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2836:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2836 | compare_cstring (cmd,"STORE") && | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2836:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2836 | compare_cstring (cmd,"STORE") && | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2837:42: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2837 | compare_cstring (cmd,"SEARCH")) ? | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2837:46: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2837 | compare_cstring (cmd,"SEARCH")) ? | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:2990:52: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 2990 | if (!map->date || mail_parse_date (&elt,map->date)) { | ~~~^~~~~~ | | | char * In file included from imap4r1.c:32: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3115:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3115 | if (strcmp (reply->tag,"+")) {/* prompt for more data? */ | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c: In function 'imap_reply': imap4r1.c:3450:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3450 | if (!strcmp (reply->tag,"+")) return reply; | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3452:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3452 | else if (!strcmp (reply->tag,"*")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3457:38: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3457 | if (tag && !compare_cstring (tag,reply->tag)) return reply; | ^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:3482:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3482 | if (!(LOCAL->reply.line = text)) { | ^ imap4r1.c:3488:43: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 3488 | if (stream->debug) mm_dlog (LOCAL->reply.line); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1503:21: note: expected 'char *' but argument is of type 'unsigned char *' 1503 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:3489:57: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3489 | if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3489:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3489 | if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { | ^ imap4r1.c:3495:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3495 | if (strcmp (LOCAL->reply.tag,"+")) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3497:28: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3497 | if (!(LOCAL->reply.key = (char *) strtok (NIL," "))) { | ^ imap4r1.c:3507:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3507 | if (!(LOCAL->reply.text = (char *) strtok (NIL,"\n"))) | ^ imap4r1.c:3508:66: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3508 | LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:3511:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3511 | LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ | ^ imap4r1.c:3512:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3512 | if (!(LOCAL->reply.text = (char *) strtok (NIL,"\n"))) | ^ imap4r1.c:3513:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3513 | LOCAL->reply.text = ""; | ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3533:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3533 | LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); | ^ imap4r1.c:3534:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3534 | LOCAL->reply.key = "NO"; | ^ imap4r1.c:3535:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3535 | LOCAL->reply.text = text; | ^ imap4r1.c: In function 'imap_OK': imap4r1.c:3550:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3550 | if (!strcmp (reply->key,"OK")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3551:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 3551 | imap_parse_response (stream,reply->text,NIL,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:3555:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3555 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3556:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 3556 | imap_parse_response (stream,reply->text,WARN,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:3558:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3558 | if (!strcmp (reply->key,"BAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3559:40: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 3559 | imap_parse_response (stream,reply->text,ERROR,NIL); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:3582:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3582 | msgno = strtoul (reply->key,(char **) &s,10); | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3596:38: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3596 | s = ucase ((char *) strtok (reply->text," ")); | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3596:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 3596 | s = ucase ((char *) strtok (reply->text," ")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3598:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3598 | t = (char *) strtok (NIL,"\n"); | ^ imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3601 | if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3602 | else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3603 | else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3611 | else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3611 | else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3622:39: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3622 | while (prop = ((char *) strtok (t," )"))) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3623:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3623 | t = (char *) strtok (NIL,"\n"); | ^ imap4r1.c:3627:29: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 3627 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3627 | if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); | ^~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3635:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 3635 | mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:32: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3641:60: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3641 | LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3682:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3682 | if (!(s = strchr (md.what,']'))) { | ^ imap4r1.c:3684:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3684 | for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); | ^ imap4r1.c:3686:28: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 3686 | if (strncmp (s,"HEADER.FIELDS",13) && | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imap4r1.c:3687:39: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3687 | (!s[13] || strcmp (s+13,".NOT"))) | ~^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3697:38: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3697 | else if (t = strchr (s = t,' ')) *t++ = '\0'; | ~~^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:3697:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3697 | else if (t = strchr (s = t,' ')) *t++ = '\0'; | ^ imap4r1.c:3702:38: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3702 | md.first = strtoul (s+1,(char **) &s,10) + 1; | ~^~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3745:41: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3745 | elt->rfc822_size = strtoul (t,(char **) &t,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3776 | else if (strcmp (s,"COPY")) { | ^ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3783:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3783 | else if (!strcmp (reply->key,"FLAGS") && reply->text && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3784:70: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3784 | (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3784:40: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3784 | (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) | ^ imap4r1.c:3787:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3787 | compare_cstring (s,stream->user_flags[i]); i++); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3793:74: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 3793 | else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); | ^ | | | unsigned char * In file included from imap4r1.c:36: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imap4r1.c:3795:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3795 | while (s = (char *) strtok (NIL," )")); | ^ imap4r1.c:3796:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3796 | else if (!strcmp (reply->key,"SEARCH")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3798:51: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3798 | if (reply->text && (t = (char *) strtok (reply->text," "))) do | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3798:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3798 | if (reply->text && (t = (char *) strtok (reply->text," "))) do | ^ imap4r1.c:3799:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3799 | if (i = strtoul (t,NIL,10)) { | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3808:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3808 | } while (t = (char *) strtok (NIL," ")); | ^ imap4r1.c:3810:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3810 | else if (!strcmp (reply->key,"SORT")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3818:51: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3818 | if (reply->text && (t = (char *) strtok (reply->text," "))) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3818:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3818 | if (reply->text && (t = (char *) strtok (reply->text," "))) { | ^ imap4r1.c:3819:25: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] 3819 | do if ((i = atol (t)) && (LOCAL->filter ? | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/stdlib.h:366:1: note: expected 'const char *' but argument is of type 'unsigned char *' 366 | __NTH (atol (const char *__nptr)) | ^~~~~ imap4r1.c:3822:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3822 | while ((t = (char *) strtok (NIL," ")) && | ^ imap4r1.c:3829:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3829 | else if (!strcmp (reply->key,"THREAD")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3844:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3844 | else if (!strcmp (reply->key,"STATUS") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3848:60: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3848 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:3848:50: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3848 | (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && | ^ imap4r1.c:3854:35: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3854 | while (*txt && (s = strchr (txt,' '))) { | ^~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:3854:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3854 | while (*txt && (s = strchr (txt,' '))) { | ^ imap4r1.c:3857:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3857 | i = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:3858:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3858 | if (!compare_cstring (txt,"MESSAGES")) { | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3862:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3862 | else if (!compare_cstring (txt,"RECENT")) { | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3866:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3866 | else if (!compare_cstring (txt,"UNSEEN")) { | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3870:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3870 | else if (!compare_cstring (txt,"UIDNEXT")) { | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3874:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3874 | else if (!compare_cstring (txt,"UIDVALIDITY")) { | ^~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3883:60: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 3883 | strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imap4r1.c:3891:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3891 | else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3891:58: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3891 | else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3893:30: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3893 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imap4r1.c:3893:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3893 | (s = strchr (reply->text,')')) && (s[1] == ' ')) { | ^ imap4r1.c:3897:41: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3897 | if (t = (char *) strtok (reply->text+1," ")) do { | ~~~~~~~~~~~^~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imap4r1.c:3897:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3897 | if (t = (char *) strtok (reply->text+1," ")) do { | ^ imap4r1.c:3898:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3898 | if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; | ^~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3899:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3899 | else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3900:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3900 | else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3901:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3901 | else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3902:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3902 | else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; | ^~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3903:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 3903 | else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:3906:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3906 | while (t = (char *) strtok (NIL," ")); | ^ imap4r1.c:3920:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3920 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ^ imap4r1.c:3920:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 3920 | sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:3923:59: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] 3923 | if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1500:54: note: expected 'char *' but argument is of type 'unsigned char *' 1500 | void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:3924:38: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] 3924 | else mm_list (stream,delimiter,s,i); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1499:54: note: expected 'char *' but argument is of type 'unsigned char *' 1499 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c:3928:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3928 | else if (!strcmp (reply->key,"NAMESPACE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3951:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3951 | else if (!strcmp (reply->key,"ACL") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3957:30: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3957 | do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && | ^ imap4r1.c:3959:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3959 | ac->rights = imap_parse_astring (stream,&s,reply,NIL); | ^ imap4r1.c:3968:34: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] 3968 | else if (ar) (*ar) (stream,t,al); | ^ | | | unsigned char * imap4r1.c:3968:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:3972:32: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] 3972 | else if (ar) (*ar) (stream,t,NIL); | ^ | | | unsigned char * imap4r1.c:3972:32: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:3976:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 3976 | else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:3980:35: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3980 | if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ | ^ imap4r1.c:3982:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3982 | (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:3996:38: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] 3996 | else if (lr) (*lr) (stream,t,id,r,rl); | ^ | | | unsigned char * imap4r1.c:3996:38: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4001:36: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] 4001 | else if (lr) (*lr) (stream,t,id,r,NIL); | ^ | | | unsigned char * imap4r1.c:4001:36: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4019:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4019 | else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4023:34: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4023 | if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { | ^ imap4r1.c:4029:34: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] 4029 | else if (mr) (*mr) (stream,t,r); | ^ | | | unsigned char * imap4r1.c:4029:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4041:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4041 | else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4052:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4052 | if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && | ^ imap4r1.c:4054:32: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4054 | qc->usage = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4056:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4056 | qc->limit = strtoul (s,(char **) &s,10); | ^ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4061:37: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] 4061 | if (qt) (*qt) (stream,t,ql); | ^ | | | unsigned char * imap4r1.c:4061:37: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4080:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4080 | else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4095:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] 4095 | else if (qr) (*qr) (stream,t,rl); | ^ | | | unsigned char * imap4r1.c:4095:34: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4106:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4106 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4106:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4106 | else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4107:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4107 | imap_parse_response (stream,reply->text,NIL,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4108:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4108 | else if (!strcmp (reply->key,"NO")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4109:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4109 | imap_parse_response (stream,reply->text,WARN,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4110:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4110 | else if (!strcmp (reply->key,"BAD")) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4111:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4111 | imap_parse_response (stream,reply->text,ERROR,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4112:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4112 | else if (!strcmp (reply->key,"BYE")) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4114:38: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] 4114 | imap_parse_response (stream,reply->text,BYE,T); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:221:52: note: expected 'char *' but argument is of type 'unsigned char *' 221 | void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); | ~~~~~~^~~~ imap4r1.c:4116:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4116 | else if (!strcmp (reply->key,"CAPABILITY") && reply->text) | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4117:42: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] 4117 | imap_parse_capabilities (stream,reply->text); | ~~~~~^~~~~~ | | | unsigned char * imap4r1.c:256:56: note: expected 'char *' but argument is of type 'unsigned char *' 256 | void imap_parse_capabilities (MAILSTREAM *stream,char *t); | ~~~~~~^ imap4r1.c:4118:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 4118 | else if (!strcmp (reply->key,"MAILBOX") && reply->text) { | ~~~~~^~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imap4r1.c:4120:49: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 4120 | ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) | ~~~~~^~~~~~ | | | unsigned char * In file included from osdep.h:36, from imap4r1.c:33: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imap4r1.c:4121:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4121 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ^ imap4r1.c:4121:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 4121 | sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); | ~~^~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imap4r1.c:4123:25: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] 4123 | mm_list (stream,NIL,t,NIL); | ^ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1499:54: note: expected 'char *' but argument is of type 'unsigned char *' 1499 | void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); | ~~~~~~^~~~ imap4r1.c: In function 'imap_parse_response': imap4r1.c:4153:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4153 | if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4153:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4153 | if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && | ^~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4161:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4161 | else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4161:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4161 | else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4163:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4163 | else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4163:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4163 | else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && | ^~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4171:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4171 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4171:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4171 | if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4172:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4172 | else if (!compare_cstring (s,"\\Deleted")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4172:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4172 | else if (!compare_cstring (s,"\\Deleted")) | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4174:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4174 | else if (!compare_cstring (s,"\\Flagged")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4174:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4174 | else if (!compare_cstring (s,"\\Flagged")) | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4176:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4176 | else if (!compare_cstring (s,"\\Answered")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4176:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4176 | else if (!compare_cstring (s,"\\Answered")) | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4178:40: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4178 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4178:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4178 | else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4185:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4185 | else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4185:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4185 | else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4189:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4189 | if (!compare_cstring (LOCAL->tmp,"REFERRAL")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4189:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4189 | if (!compare_cstring (LOCAL->tmp,"REFERRAL")) | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4194:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4194 | if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4194:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4194 | if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { | ^~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4198:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4198 | else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4198:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4198 | else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4199:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4199 | else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4199:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4199 | else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4201:39: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4201 | else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4201:45: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4201 | else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4243:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4243 | nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); | ^ imap4r1.c:4268:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4268 | if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, | ^ imap4r1.c:4280:32: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4280 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, | ^ In file included from imap4r1.c:29: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4353:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4353 | else if (isdigit (*(s = *txtptr)) && | ^ imap4r1.c:4355:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4355 | strtoul (*txtptr,(char **) txtptr,10))) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:4439:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4439 | (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:4446:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4446 | (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:4448:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4448 | (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:4544:21: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4544 | adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:4545:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4545 | adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:4546:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4546 | adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:4547:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4547 | adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:4632:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4632 | while (*(flag = ++*txtptr) == ' '); | ^ imap4r1.c:4640:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4640 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4640:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4640 | if (!compare_cstring (flag,"\\Seen")) elt->seen = T; | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4641:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4641 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4641:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4641 | else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4642:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4642 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4642:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4642 | else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4643:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4643 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4643:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4643 | else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; | ^~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4644:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4644 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4644:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4644 | else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4645:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4645 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4645:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4645 | else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:4669:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4669 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:4669:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 4669 | if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:4702:46: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 4702 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imap4r1.c:4702:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4702 | ret = strncpy ((char *) fs_get (i + 1),s,i); | ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:4743:6: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4743 | st = ++*txtptr; /* remember start of string */ | ^ imap4r1.c:4762:16: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 4762 | return string; | ^~~~~~ imap4r1.c:4792:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 4792 | if ((i = strtoul (*txtptr,(char **) txtptr,10)) > 0x7fffffff) { | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4822:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4822 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:4823:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 4823 | reply->line = cpystr (""); | ^ imap4r1.c:4824:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 4824 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1503:21: note: expected 'char *' but argument is of type 'unsigned char *' 1503 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:4834:10: warning: pointer targets in returning 'char *' from a function with return type 'unsigned char *' differ in signedness [-Wpointer-sign] 4834 | return string; | ^~~~~~ imap4r1.c: In function 'imap_cache': imap4r1.c:4892:39: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 4892 | if (!(b = mail_body (stream,msgno,seg))) { | ^~~ | | | char * In file included from imap4r1.c:32: mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:4969:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4969 | if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) | ^ imap4r1.c:4970:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 4970 | ucase (body->subtype); | ~~~~^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:4988:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 4988 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5009:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5009 | if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { | ^ imap4r1.c:5010:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5010 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from imap4r1.c:36: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5019:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5019 | if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) | ^ imap4r1.c:5020:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5020 | ucase (body->subtype); /* parse subtype */ | ~~~~^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5027:16: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5027 | body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5028:25: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5028 | body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5030:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5030 | if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { | ^ imap4r1.c:5031:16: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 5031 | ucase (s); /* application always gets uppercase form */ | ^ | | | char * In file included from imap4r1.c:36: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5044:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5044 | body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5054:37: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5054 | body->size.lines = strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5060:19: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5060 | body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c:5073:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5073 | body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); | ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5121:24: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5121 | if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c:5127:22: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5127 | if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ | ^ imap4r1.c:5149:18: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5149 | ((*(s = *txtptr) == 'I') || (*s == 'i')) && | ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5173:28: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5173 | body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, | ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5216:14: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 5216 | else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { | ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5284:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5284 | if (i = strtoul (*txtptr,(char **) txtptr,10)) do | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c:5289:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5289 | if (!(reply->line = net_getline (LOCAL->netstream))) | ^ imap4r1.c:5290:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 5290 | reply->line = cpystr (""); | ^ imap4r1.c:5291:38: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] 5291 | if (stream->debug) mm_dlog (reply->line); | ~~~~~^~~~~~ | | | unsigned char * In file included from imap4r1.c:32: mail.h:1503:21: note: expected 'char *' but argument is of type 'unsigned char *' 1503 | void mm_dlog (char *string); | ~~~~~~^~~~~~ imap4r1.c:5296:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 5296 | strtoul (*txtptr,(char **) txtptr,10); | ^~~~~~~ | | | unsigned char * In file included from osdep.h:35, from imap4r1.c:33: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5330:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5330 | if (!compare_cstring (t,"IMAP4")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5330:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5330 | if (!compare_cstring (t,"IMAP4")) | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5332:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5332 | else if (!compare_cstring (t,"IMAP4rev1")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5332:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5332 | else if (!compare_cstring (t,"IMAP4rev1")) | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5334:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5334 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5334:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5334 | else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5335:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5335 | else if (!compare_cstring (t,"IMAP2bis")) | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5335:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5335 | else if (!compare_cstring (t,"IMAP2bis")) | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5337:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5337 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5337:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5337 | else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; | ^~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5338:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5338 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5338:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5338 | else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; | ^~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5339:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5339 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5339:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5339 | else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5340:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5340 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5340:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5340 | else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5341:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5341 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5341:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5341 | else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; | ^~~~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5342:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5342 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5342:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5342 | else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; | ^~~~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5343:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5343 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5343:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5343 | else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5344:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5344 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5344:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5344 | else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5345:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5345 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5345:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5345 | else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5346:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5346 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5346:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5346 | else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; | ^~~~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5347:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5347 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5347:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5347 | else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; | ^~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5348:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5348 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5348:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5348 | else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5349:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5349 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5349:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5349 | else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; | ^~~~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5350:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5350 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5350:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5350 | else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5351:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5351 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5351:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5351 | else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; | ^~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5352:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5352 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5352:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5352 | else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; | ^~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5353:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5353 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5353:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5353 | else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5361:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5361 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5361:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5361 | if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { | ^~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5368:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5368 | else if (!compare_cstring (t,"AUTH")) { | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5368:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5368 | else if (!compare_cstring (t,"AUTH")) { | ^~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5371:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5371 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^ | | | char * In file included from imap4r1.c:36: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imap4r1.c:5371:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 5371 | else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; | ^~~~~~~~~~~ | | | char * In file included from imap4r1.c:36: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ `cat CCTYPE` -c `cat CFLAGS` pop3.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdlib.h:25, from osdep.h:35, from pop3.c:23: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from osdep.h:60, from pop3.c:23: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from pop3.c:23: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | pop3.c: In function 'pop3_valid': pop3.c:176:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 176 | !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ pop3.c:176:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 176 | !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from pop3.c:23: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ In file included from pop3.c:28: pop3.c: In function 'pop3_scan': pop3.c:229:36: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 229 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from pop3.c:28: pop3.c:229:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 229 | (pop3_valid (ref) && pmatch ("INBOX",pat)) : | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from pop3.c:28: pop3.c:230:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 230 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from pop3.c:28: pop3.c:230:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 230 | (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from pop3.c:28: pop3.c: In function 'pop3_list': pop3.c:245:37: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 245 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from pop3.c:28: pop3.c:245:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 245 | if (pop3_valid (ref) && pmatch ("INBOX",pat)) { | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from pop3.c:28: pop3.c:250:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 250 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~~~~~ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from pop3.c:28: pop3.c:250:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 250 | else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ In file included from pop3.c:28: pop3.c: In function 'pop3_lsub': pop3.c:276:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 276 | if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) | ^ | | | char * misc.h:74:16: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ In file included from pop3.c:28: pop3.c:276:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 276 | if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) | ^~~ | | | char * misc.h:74:18: note: in definition of macro 'pmatch' 74 | pmatch_full (s,pat,NIL) | ^~~ In file included from env_unix.h:63, from osdep.h:55, from pop3.c:23: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ pop3.c: In function 'pop3_open': pop3.c:418:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 418 | (int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? | ^ pop3.c: In function 'pop3_capa': pop3.c:496:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 496 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:496:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 496 | if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:497:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 497 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:497:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 497 | else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; | ^~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:498:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 498 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:498:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 498 | else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; | ^~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:499:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 499 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:499:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 499 | else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; | ^~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:500:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 500 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:500:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 500 | else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:501:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 501 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:501:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 501 | else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:502:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 502 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:502:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 502 | else if (!compare_cstring (t,"IMPLEMENTATION") && args) | ^~~~~~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:504:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:504:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 504 | else if (!compare_cstring (t,"EXPIRE") && args) { | ^~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:512:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 512 | (!compare_cstring (args,"NEVER")) ? 65535 : | ^~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:513:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 513 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:513:38: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 513 | ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:515:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 515 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:515:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 515 | else if (!compare_cstring (t,"LOGIN-DELAY") && args) { | ^~~~~~~~~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:54: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 523 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:523:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 523 | LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:526:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 526 | else if (!compare_cstring (t,"SASL") && args) | ^ | | | char * In file included from pop3.c:28: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c:526:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 526 | else if (!compare_cstring (t,"SASL") && args) | ^~~~~~ | | | char * In file included from pop3.c:28: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ pop3.c: In function 'pop3_auth': pop3.c:600:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 600 | if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { | ^ pop3.c:602:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 602 | strncpy (mb->host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? | ^ pop3.c: In function 'pop3_fetchfast': pop3.c:779:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 779 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from pop3.c:22: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c:780:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 780 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from pop3.c:22: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ pop3.c: In function 'pop3_header': pop3.c:843:7: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 843 | fread (elt->private.msg.header.text.data = (unsigned char *) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 844 | fs_get ((size_t) elt->private.msg.header.text.size + 1), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 845 | (size_t) 1,(size_t) elt->private.msg.header.text.size,f); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` unix.c In file included from osdep.h:60, from unix.c:40: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from unix.c:40: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | unix.c: In function 'unix_valid': unix.c:204:9: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 204 | utime (file,tp); /* set the times */ | ^~~~~ | ctime unix.c: In function 'unix_create': unix.c:311:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 311 | (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { | ^ unix.c: In function 'unix_open': unix.c:438:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 438 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:438:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 438 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:450:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 450 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = CHUNK) + 1); | ^ unix.c:477:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 477 | chmod (LOCAL->lname,(int) mail_parameters (NIL,GET_LOCKPROTECTION,NIL)); | ^ unix.c: In function 'unix_header': unix.c:590:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 590 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:604:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 604 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ unix.c:612:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] 612 | *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); | ^ | | | unsigned char * In file included from unix.c:39: mail.h:1599:34: note: expected 'char *' but argument is of type 'unsigned char *' 1599 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ unix.c:613:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 613 | return LOCAL->buf; /* return processed copy */ | ^ unix.c: In function 'unix_text_work': unix.c:662:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 662 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ unix.c:674:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 674 | return LOCAL->buf; | ^ unix.c:690:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 690 | d.chunk = tmp; /* initial buffer chunk */ | ^ unix.c:693:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 693 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (CHR (&bs)) { | ^ unix.c: In function 'unix_expunge': unix.c:804:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 804 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ unix.c: In function 'unix_copy': unix.c:836:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 836 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from unix.c:39: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:837:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 837 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from unix.c:39: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ unix.c:841:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 841 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:841:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 841 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:852:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 852 | sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:853:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 853 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:853:18: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:857:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 857 | sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:858:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 858 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:858:18: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:866:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 866 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:867:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 867 | MM_LOG (LOCAL->buf,ERROR);/* log the error */ | ^ | | | unsigned char * unix.c:867:18: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:877:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 877 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from unix.c:40: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:884:41: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 884 | j = unix_xstatus (stream,LOCAL->buf,elt,NIL); | ^ | | | unsigned char * unix.c:121:54: note: expected 'char *' but argument is of type 'unsigned char *' 121 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:885:30: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 885 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from unix.c:40: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:894:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 894 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:907:26: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 907 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:907:26: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'unix_append': unix.c:947:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 947 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:947:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 947 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:978:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 978 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from unix.c:39: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ unix.c:936:15: warning: unused variable 'tstream' [-Wunused-variable] 936 | MAILSTREAM *tstream = NIL; | ^~~~~~~ unix.c: In function 'unix_parse': unix.c:1256:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1256 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1257:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1257 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * unix.c:1257:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1266:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1266 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1268:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1268 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * unix.c:1268:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1280:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1280 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ unix.c:1289:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1289 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c:1293:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1293 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1295:17: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1295 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * unix.c:1295:17: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1344:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1344 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1345:19: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1345 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * unix.c:1345:19: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1349:17: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1349 | s = t = unix_mbxline (stream,&bs,&i); | ^ unix.c:1366:38: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1366 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1366:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1366 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ unix.c:1366:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1366 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ unix.c:1372:66: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 1372 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from unix.c:46: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1420:36: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1420 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:36, from unix.c:40: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ unix.c:1420:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1420 | u = strpbrk (s," \n\r"); | ^ unix.c:1426:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1426 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ unix.c:1454:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1454 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1459:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1459 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1464:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1464 | sprintf (tmp,"Message %lu UID %lu greater than last %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1471:27: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1471 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * unix.c:1471:27: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1527:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1527 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1528:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1528 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1529:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1529 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1530:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1530 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1531:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1531 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1532:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1532 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:1555:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1555 | if (u = strpbrk (err,"\r\n")) *u = '\0'; | ^ unix.c:1580:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1580 | s = unix_mbxline (stream,&bs,&i); | ^ unix.c: In function 'unix_rewrite': unix.c:1837:65: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 1837 | unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * unix.c:1722:53: note: expected 'char *' but argument is of type 'unsigned char *' 1722 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:1844:35: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 1844 | unix_xstatus (stream,LOCAL->buf,elt,flag) + | ^ | | | unsigned char * unix.c:1748:54: note: expected 'char *' but argument is of type 'unsigned char *' 1748 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:1851:37: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 1851 | size = unix_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * unix.c:1722:53: note: expected 'char *' but argument is of type 'unsigned char *' 1722 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:1871:58: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] 1871 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:1722:53: note: expected 'char *' but argument is of type 'unsigned char *' 1722 | unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ unix.c:1871:27: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 1871 | unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * unix.c:125:36: note: expected 'char *' but argument is of type 'unsigned char *' 125 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:1887:41: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 1887 | unix_xstatus (stream,LOCAL->buf,elt,flag)))) { | ^ | | | unsigned char * unix.c:1748:54: note: expected 'char *' but argument is of type 'unsigned char *' 1748 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:1901:31: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 1901 | unix_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * unix.c:125:36: note: expected 'char *' but argument is of type 'unsigned char *' 125 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:1915:53: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] 1915 | j = unix_xstatus (stream,LOCAL->buf,elt,flag)); | ^ | | | unsigned char * unix.c:1748:54: note: expected 'char *' but argument is of type 'unsigned char *' 1748 | unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ unix.c:1914:31: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] 1914 | unix_write (&f,LOCAL->buf, | ^ | | | unsigned char * unix.c:125:36: note: expected 'char *' but argument is of type 'unsigned char *' 125 | void unix_write (UNIXFILE *f,char *s,unsigned long i); | ~~~~~~^ unix.c:1997:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1997 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:1998:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1998 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:1998:20: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'unix_extend': unix.c:2019:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2019 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ unix.c:2024:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2024 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:55, from unix.c:40: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ unix.c:2030:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2030 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2031:45: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2031 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:2031:45: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'mbox_valid': unix.c:2218:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2218 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~ | | | char * In file included from unix.c:46: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c:2218:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 2218 | if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && | ^~~~~~~ | | | char * In file included from unix.c:46: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ unix.c: In function 'mbox_ping': unix.c:2354:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2354 | sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2356:22: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2356 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:2356:22: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:2368:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2368 | sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2369:24: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2369 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * unix.c:2369:24: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:2375:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2375 | sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2377:24: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2377 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * unix.c:2377:24: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:2393:27: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2393 | sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ unix.c:2398:31: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2398 | else MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * unix.c:2398:31: note: expected 'char *' but argument is of type 'unsigned char *' unix.c: In function 'unix_open': unix.c:483:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 483 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ unix.c: In function 'unix_header': unix.c:594:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 594 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:604:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 604 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 605 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_text_work': unix.c:666:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 666 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_copy': unix.c:876:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 876 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:895:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 895 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_append': unix.c:1027:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1027 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_rewrite': unix.c:1891:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1891 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1984:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1984 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'unix_extend': unix.c:2027:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2027 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c: In function 'mbox_ping': unix.c:2361:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2361 | read (sfd,s = (char *) fs_get (size + 1),size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2371:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2371 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2379:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2379 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2390:11: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2390 | ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ | ^~~~~~~~~~~~~~~~~ unix.c: In function 'unix_parse': unix.c:1534:48: warning: '%s' directive writing up to 1023 bytes into a region of size 1007 [-Wformat-overflow=] 1534 | sprintf (err,"Discarding bogus %s header in message %lu", | ^~ 1535 | (char *) tmp,elt->msgno); | ~~~ In file included from /usr/include/stdio.h:888, from unix.c:34: /usr/include/bits/stdio2.h:38:10: note: '__sprintf_chk' output between 38 and 1080 bytes into a destination of size 1024 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 40 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from osdep.h:60, from mbx.c:34: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mbx.c:34: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mbx.c: In function 'mbx_isvalid': mbx.c:190:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 190 | if ((s = mbx_file (tmp,name)) && !stat (s,&sbuf) && | ^ mbx.c:190:43: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 190 | if ((s = mbx_file (tmp,name)) && !stat (s,&sbuf) && | ^ | | | unsigned char * In file included from mbx.c:36: /usr/include/sys/stat.h:205:41: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:209:45: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 209 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:209:35: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 209 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ mbx.c:212:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 212 | if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:212:75: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 212 | if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from mbx.c:39: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mbx.c:220:7: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 220 | utime (tmp,tp); /* set the times */ | ^~~~~ | utimes mbx.c:224:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 224 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:224:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 224 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_create': mbx.c:308:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 308 | (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { | ^ mbx.c: In function 'mbx_rename': mbx.c:417:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 417 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:417:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 417 | if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_open': mbx.c:498:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 498 | LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); | ^ mbx.c:503:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 503 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:503:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 503 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c: In function 'mbx_flags': mbx.c:591:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 591 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:592:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 592 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c: In function 'mbx_header': mbx.c:620:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 620 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mbx.c:623:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 623 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^ mbx.c: In function 'mbx_text': mbx.c:72:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 72 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:640:13: note: in expansion of macro 'LOCAL' 640 | char *s = LOCAL->text.data; | ^~~~~ mbx.c:671:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 671 | read (LOCAL->fd,s = LOCAL->text.data,i); | ^ mbx.c: In function 'mbx_ping': mbx.c:773:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 773 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:774:24: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 774 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mbx.c:774:24: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_expunge': mbx.c:806:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 806 | sprintf (LOCAL->buf,"Expunged %lu messages",nexp); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:807:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 807 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mbx.c:807:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:810:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 810 | sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:811:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 811 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mbx.c:811:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_snarf': mbx.c:848:27: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 848 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mbx.c:33: mail.h:1587:24: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:849:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 849 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:849:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 849 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:855:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 855 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:855:38: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 855 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:871:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 871 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:872:22: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 872 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mbx.c:872:22: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_copy': mbx.c:905:43: warning: pointer targets in passing argument 3 of 'mbx_isvalid' differ in signedness [-Wpointer-sign] 905 | if (!mbx_isvalid (&dstream,mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mbx.c:181:55: note: expected 'char *' but argument is of type 'unsigned char *' 181 | int mbx_isvalid (MAILSTREAM **stream,char *name,char *tmp) | ~~~~~~^~~ mbx.c:911:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 911 | sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:912:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 912 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mbx.c:912:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:916:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 916 | sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:917:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 917 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mbx.c:917:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:920:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 920 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:921:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 921 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mbx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mbx.c:925:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 925 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:926:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 926 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mbx.c:926:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c:944:22: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 944 | mail_date(LOCAL->buf,elt);/* build target header */ | ^ | | | unsigned char * In file included from mbx.c:33: mail.h:1587:24: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mbx.c:949:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 949 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:949:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 949 | if (!compare_cstring (s,t) && (k |= 1 << m)) break; | ^ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:950:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 950 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:950:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 950 | sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:956:52: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 956 | if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:956:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 956 | if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:959:32: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 959 | ret = write (fd,LOCAL->buf,j) >= 0; | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c:964:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 964 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:965:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 965 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mbx.c:965:18: note: expected 'char *' but argument is of type 'unsigned char *' mbx.c: In function 'mbx_append': mbx.c:1014:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1014 | if (!compare_cstring (mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1014:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1014 | if (!compare_cstring (mailbox,"INBOX")) | ^~~~~~~ | | | char * In file included from mbx.c:39: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mbx.c:1059:36: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1059 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mbx.c:33: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1156:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1156 | stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1159:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1159 | i = strtoul (LOCAL->buf + 15,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1163:41: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1163 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1163:31: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1163 | (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); | ^ mbx.c:1166:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1166 | if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mbx.c:1167:39: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 1167 | stream->user_flags[i] = cpystr (s); | ^ | | | unsigned char * In file included from mbx.c:39: misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ mbx.c:1177:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1177 | strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1194:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1194 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1194:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1194 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mbx.c:1203:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1203 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1203:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1203 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1203:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1203 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:36, from mbx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mbx.c:1203:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1203 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mbx.c:1233:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1233 | if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1251:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1251 | if ((m = strtoul (t+13,NIL,16)) && | ~^~~ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1267:24: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1267 | if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { | ~^~ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1301:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1301 | elt->user_flags = strtoul (t,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_read_flags': mbx.c:1383:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1383 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1385:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1385 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1392:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1392 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1393:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1393 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1397:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1397 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1400:22: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1400 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1404:26: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1404 | i = strtoul (LOCAL->buf+9,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1413:40: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1413 | elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c: In function 'mbx_update_header': mbx.c:72:15: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 72 | #define LOCAL ((MBXLOCAL *) stream->local) | ^ mbx.c:1429:13: note: in expansion of macro 'LOCAL' 1429 | char *s = LOCAL->buf; | ^~~~~ mbx.c:1440:33: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1440 | sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1444:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1444 | if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_update_status': mbx.c:1467:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1467 | sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1469:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1469 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1476:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1476 | sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1477:19: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1477 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1481:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1481 | sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1484:24: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1484 | fatal (LOCAL->buf+50); | ^ | | | unsigned char * In file included from osdep.h:57, from mbx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mbx.c:1489:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1489 | fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + | ^ | | | unsigned char * In file included from osdep.h:35, from mbx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mbx.c:1487:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1487 | sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mbx.c:1497:33: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1497 | if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_hdrpos': mbx.c:1545:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1545 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1552:23: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1552 | if (hdr) *hdr = LOCAL->buf; | ^ mbx.c:1562:17: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1562 | if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ | ^ mbx.c: In function 'mbx_rewrite': mbx.c:1643:41: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1643 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mbx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mbx.c: In function 'mbx_header': mbx.c:623:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 623 | read (LOCAL->fd,s = LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_text': mbx.c:671:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 671 | read (LOCAL->fd,s = LOCAL->text.data,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_snarf': mbx.c:873:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 873 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_copy': mbx.c:958:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 958 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:966:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 966 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_append': mbx.c:1083:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1083 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_parse': mbx.c:1151:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1151 | read (LOCAL->fd,LOCAL->buf,HDRSIZE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c: In function 'mbx_rewrite': mbx.c:1639:13: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1639 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1663:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1663 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mmdf.c In file included from osdep.h:60, from mmdf.c:28: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mmdf.c:28: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mmdf.c: In function 'mmdf_isvalid': mmdf.c:372:9: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 372 | utime (file,tp); /* set the times */ | ^~~~~ | ctime mmdf.c: In function 'mmdf_create': mmdf.c:468:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 468 | (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { | ^ mmdf.c: In function 'mmdf_open': mmdf.c:594:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 594 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:594:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 594 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:606:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 606 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = CHUNK) + 1); | ^ mmdf.c:633:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 633 | chmod (LOCAL->lname,(int) mail_parameters (NIL,GET_LOCKPROTECTION,NIL)); | ^ mmdf.c: In function 'mmdf_header': mmdf.c:746:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 746 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:760:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 760 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^ mmdf.c:768:31: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] 768 | *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); | ^ | | | unsigned char * In file included from mmdf.c:27: mail.h:1599:34: note: expected 'char *' but argument is of type 'unsigned char *' 1599 | unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, | ~~~~~~^~~~ mmdf.c:769:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 769 | return LOCAL->buf; /* return processed copy */ | ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:818:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 818 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = | ^ mmdf.c:830:17: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 830 | return LOCAL->buf; | ^ mmdf.c:846:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 846 | d.chunk = tmp; /* initial buffer chunk */ | ^ mmdf.c:849:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 849 | for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (CHR (&bs)) { | ^ mmdf.c: In function 'mmdf_expunge': mmdf.c:961:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 961 | if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); | ^ mmdf.c: In function 'mmdf_copy': mmdf.c:994:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 994 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mmdf.c:27: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:995:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 995 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mmdf.c:27: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mmdf.c:999:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 999 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:999:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 999 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1010:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1010 | sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1011:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1011 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mmdf.c:1011:18: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1015:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1015 | sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1016:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1016 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mmdf.c:1016:18: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1024:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1024 | sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1025:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1025 | MM_LOG (LOCAL->buf,ERROR); /* log the error */ | ^ | | | unsigned char * mmdf.c:1025:18: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1035:26: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1035 | if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1042:41: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 1042 | j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL); | ^ | | | unsigned char * mmdf.c:278:54: note: expected 'char *' but argument is of type 'unsigned char *' 278 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:1043:30: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1043 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:1053:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1053 | sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1066:26: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1066 | if (!ret) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mmdf.c:1066:26: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c: In function 'mmdf_append': mmdf.c:1106:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1106 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1106:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1106 | if (!compare_cstring (mailbox,"INBOX")) { | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1137:32: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1137 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mmdf.c:27: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mmdf.c: In function 'mmdf_append_msg': mmdf.c:1232:15: warning: operation on 'c' may be undefined [-Wsequence-point] 1232 | while ((c = (SIZE (msg)) ? (c = 0xff & SNX (msg)) : '\n') == '\r'); | ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_parse': mmdf.c:1410:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1410 | sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1411:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1411 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mmdf.c:1411:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1420:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1420 | sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1422:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1422 | MM_LOG (tmp,ERROR); /* this is pretty bad */ | ^~~ | | | unsigned char * mmdf.c:1422:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1434:13: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1434 | d.chunk = LOCAL->buf; /* initial buffer chunk */ | ^ mmdf.c:1443:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1443 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1447:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1447 | sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1453:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1453 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1458:21: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1458 | MM_LOG (tmp,ERROR); | ^~~ | | | unsigned char * mmdf.c:1458:21: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1475:11: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1475 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1511:22: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1511 | sprintf (tmp,"Unable to parse internal date: %s",(char *) date); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1512:21: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1512 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mmdf.c:1512:21: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1528:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1528 | if (t) s = t = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1549:38: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1549 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1549:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1549 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ mmdf.c:1549:67: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1549 | if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); | ^ | | | unsigned char * In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mmdf.c:1555:66: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] 1555 | if (!compare_csizedtext (stream->user_flags[j],&uf)) { | ~~~~~~~~~~~~~~~~~~^~~ | | | char * In file included from mmdf.c:33: misc.h:99:40: note: expected 'unsigned char *' but argument is of type 'char *' 99 | int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1603:36: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1603 | u = strpbrk (s," \n\r"); | ^ | | | unsigned char * In file included from osdep.h:36, from mmdf.c:28: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ mmdf.c:1603:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1603 | u = strpbrk (s," \n\r"); | ^ mmdf.c:1609:56: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 1609 | strncpy (stream->user_flags[j],s,k); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ mmdf.c:1637:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1637 | sprintf (tmp,"Message %lu UID %lu already has UID %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1642:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1642 | sprintf (tmp,"Message %lu UID %lu less than %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1647:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1647 | sprintf (tmp,"Message %lu UID %lu greater than last %lu", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:1654:27: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 1654 | MM_LOG (tmp,WARN); | ^~~ | | | unsigned char * mmdf.c:1654:27: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1710:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1710 | if (!compare_cstring (tmp,"STATUS") || | ^~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1711:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1711 | !compare_cstring (tmp,"X-STATUS") || | ^~~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1712:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1712 | !compare_cstring (tmp,"X-KEYWORDS") || | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1713:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1713 | !compare_cstring (tmp,"X-UID") || | ^~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1714:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1714 | !compare_cstring (tmp,"X-IMAP") || | ^~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1715:41: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1715 | !compare_cstring (tmp,"X-IMAPBASE")) { | ^~~~~~~~~~~~ | | | char * In file included from mmdf.c:33: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mmdf.c:1738:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1738 | if (u = strpbrk (err,"\r\n")) *u = '\0'; | ^ mmdf.c:1762:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1762 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c:1777:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1777 | s = mmdf_mbxline (stream,&bs,&i); | ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2025:65: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2025 | unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; | ^ | | | unsigned char * mmdf.c:1910:53: note: expected 'char *' but argument is of type 'unsigned char *' 1910 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2032:35: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2032 | mmdf_xstatus (stream,LOCAL->buf,elt,flag) + | ^ | | | unsigned char * mmdf.c:1936:54: note: expected 'char *' but argument is of type 'unsigned char *' 1936 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2039:37: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2039 | size = mmdf_pseudo (stream,LOCAL->buf); | ^ | | | unsigned char * mmdf.c:1910:53: note: expected 'char *' but argument is of type 'unsigned char *' 1910 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2059:58: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] 2059 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:1910:53: note: expected 'char *' but argument is of type 'unsigned char *' 1910 | unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) | ~~~~~~^~~ mmdf.c:2059:27: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2059 | mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); | ^ | | | unsigned char * mmdf.c:282:36: note: expected 'char *' but argument is of type 'unsigned char *' 282 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2075:41: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2075 | mmdf_xstatus (stream,LOCAL->buf,elt,flag)))) { | ^ | | | unsigned char * mmdf.c:1936:54: note: expected 'char *' but argument is of type 'unsigned char *' 1936 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2089:31: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2089 | mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); | ^ | | | unsigned char * mmdf.c:282:36: note: expected 'char *' but argument is of type 'unsigned char *' 282 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2103:53: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] 2103 | j = mmdf_xstatus (stream,LOCAL->buf,elt,flag)); | ^ | | | unsigned char * mmdf.c:1936:54: note: expected 'char *' but argument is of type 'unsigned char *' 1936 | unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, | ~~~~~~^~~~~~ mmdf.c:2102:31: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] 2102 | mmdf_write (&f,LOCAL->buf, | ^ | | | unsigned char * mmdf.c:282:36: note: expected 'char *' but argument is of type 'unsigned char *' 282 | void mmdf_write (MMDFFILE *f,char *s,unsigned long i); | ~~~~~~^ mmdf.c:2168:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2168 | sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2169:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2169 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mmdf.c:2169:20: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c: In function 'mmdf_extend': mmdf.c:2190:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2190 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); | ^ mmdf.c:2195:34: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 2195 | if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mmdf.c:28: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mmdf.c:2201:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 2201 | sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mmdf.c:2202:45: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 2202 | if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mmdf.c:2202:45: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c: In function 'mmdf_open': mmdf.c:639:7: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 639 | ftruncate (fd,i); /* make sure tied off */ | ^~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_header': mmdf.c:750:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 750 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:760:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 760 | read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 761 | elt->private.msg.header.text.size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_text_work': mmdf.c:822:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 822 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_copy': mmdf.c:1034:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1034 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1054:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1054 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_append': mmdf.c:1185:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1185 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2079:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 2079 | read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2155:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2155 | ftruncate (LOCAL->fd,LOCAL->filesize = size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c: In function 'mmdf_extend': mmdf.c:2198:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 2198 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` tenex.c In file included from osdep.h:60, from tenex.c:39: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from tenex.c:39: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | tenex.c: In function 'tenex_isvalid': tenex.c:198:9: warning: implicit declaration of function 'utime'; did you mean 'ctime'? [-Wimplicit-function-declaration] 198 | utime (file,tp); /* set the times */ | ^~~~~ | ctime tenex.c:203:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 203 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:203:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 203 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_rename': tenex.c:341:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 341 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:341:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 341 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_open': tenex.c:418:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 418 | LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); | ^ tenex.c:424:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 424 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:424:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 424 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c: In function 'tenex_fast': tenex.c:491:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 491 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:492:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 492 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:502:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 502 | LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); | ^ tenex.c: In function 'tenex_flags': tenex.c:529:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 529 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:530:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 530 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:555:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 555 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:565:54: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 565 | *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); | ^ | | | char * In file included from osdep.h:58, from tenex.c:39: nl.h:25:42: note: expected 'unsigned char *' but argument is of type 'char *' 25 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c:568:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 568 | return LOCAL->buf; | ^ tenex.c: In function 'tenex_text': tenex.c:600:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 600 | LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); | ^ tenex.c:623:57: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 623 | strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); | ^ | | | char * In file included from osdep.h:58, from tenex.c:39: nl.h:25:42: note: expected 'unsigned char *' but argument is of type 'char *' 25 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ tenex.c: In function 'tenex_snarf': tenex.c:765:27: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 765 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from tenex.c:38: mail.h:1587:24: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ tenex.c:766:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 766 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:766:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 766 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:772:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 772 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ tenex.c:772:38: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 772 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:788:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 788 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:789:22: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 789 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * tenex.c:789:22: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c: In function 'tenex_expunge': tenex.c:879:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 879 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:894:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 894 | sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:896:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 896 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * tenex.c:896:20: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:900:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 900 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:902:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 902 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * tenex.c:902:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c: In function 'tenex_copy': tenex.c:940:36: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] 940 | if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * tenex.c:168:37: note: expected 'char *' but argument is of type 'unsigned char *' 168 | int tenex_isvalid (char *name,char *tmp) | ~~~~~~^~~ tenex.c:948:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 948 | sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:949:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 949 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * tenex.c:949:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:953:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 953 | sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:954:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 954 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * tenex.c:954:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:957:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 957 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:958:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 958 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from tenex.c:38: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ tenex.c:961:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 961 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:962:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 962 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * tenex.c:962:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c:984:28: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 984 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c:989:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 989 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:990:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 990 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * tenex.c:990:18: note: expected 'char *' but argument is of type 'unsigned char *' tenex.c: In function 'tenex_append': tenex.c:1045:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1045 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1045:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1045 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); | ^~~~~~~ | | | char * In file included from tenex.c:41: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ tenex.c:1091:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1091 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from tenex.c:38: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_parse': tenex.c:1210:28: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1210 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1210:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1210 | if (!(s = strchr (LOCAL->buf,'\012'))) { | ^ tenex.c:1219:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1219 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1219:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1219 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1219:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1219 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:36, from tenex.c:39: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ tenex.c:1219:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1219 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ tenex.c:1242:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1242 | (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && | ^ | | | unsigned char * In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c:1266:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1266 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_read_flags': tenex.c:1344:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1344 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1345:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1345 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from tenex.c:39: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ tenex.c:1353:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1353 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from tenex.c:39: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ tenex.c: In function 'tenex_update_status': tenex.c:1379:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1379 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ tenex.c:1387:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1387 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:55, from tenex.c:39: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1422:27: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1422 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^ tenex.c: In function 'tenex_fast': tenex.c:507:11: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 507 | read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_header': tenex.c:558:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 558 | read (LOCAL->fd,LOCAL->buf,*length = i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:563:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 563 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_text': tenex.c:605:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 605 | read (LOCAL->fd,LOCAL->buf,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:620:7: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 620 | read (LOCAL->fd,s,i); /* slurp the data */ | ^~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_snarf': tenex.c:790:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 790 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_expunge': tenex.c:874:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 874 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:899:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 899 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_copy': tenex.c:983:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 983 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:991:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 991 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_append': tenex.c:1119:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1119 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c: In function 'tenex_hdrpos': tenex.c:1422:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1422 | read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mtx.c In file included from osdep.h:60, from mtx.c:34: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mtx.c:34: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mtx.c: In function 'mtx_isvalid': mtx.c:192:9: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 192 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mtx.c:197:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 197 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:197:56: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 197 | else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_rename': mtx.c:335:32: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 335 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:335:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 335 | if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_open': mtx.c:413:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 413 | LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); | ^ mtx.c:418:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 418 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:418:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 418 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c: In function 'mtx_flags': mtx.c:482:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 482 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:483:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 483 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c: In function 'mtx_header': mtx.c:506:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 506 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); | ^ mtx.c:511:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 511 | return LOCAL->buf; | ^ mtx.c: In function 'mtx_snarf': mtx.c:692:27: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] 692 | mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); | ^ | | | unsigned char * In file included from mtx.c:33: mail.h:1587:24: note: expected 'char *' but argument is of type 'unsigned char *' 1587 | char *mail_date (char *string,MESSAGECACHE *elt); | ~~~~~~^~~~~~ mtx.c:693:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 693 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:693:31: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 693 | sprintf (LOCAL->buf + strlen (LOCAL->buf), | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:699:57: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 699 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ mtx.c:699:38: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 699 | if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:715:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 715 | sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:716:22: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 716 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mtx.c:716:22: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c: In function 'mtx_expunge': mtx.c:805:37: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 805 | if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:820:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 820 | sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:822:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 822 | MM_LOG (LOCAL->buf,WARN); | ^ | | | unsigned char * mtx.c:822:20: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:826:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 826 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:828:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 828 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mtx.c:828:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c: In function 'mtx_copy': mtx.c:866:34: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] 866 | if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { | ^ | | | unsigned char * mtx.c:162:35: note: expected 'char *' but argument is of type 'unsigned char *' 162 | int mtx_isvalid (char *name,char *tmp) | ~~~~~~^~~ mtx.c:874:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 874 | sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:875:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 875 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mtx.c:875:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:879:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 879 | sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:880:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 880 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mtx.c:880:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:883:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 883 | if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:884:31: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 884 | mail_sequence (stream,sequence))) return NIL; | ^~~~~~~~ | | | char * In file included from mtx.c:33: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mtx.c:887:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 887 | sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:888:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 888 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mtx.c:888:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c:910:28: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 910 | if (write (fd,LOCAL->buf,j) < 0) ret = NIL; | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c:915:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 915 | sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:916:18: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 916 | MM_LOG (LOCAL->buf,ERROR); | ^ | | | unsigned char * mtx.c:916:18: note: expected 'char *' but argument is of type 'unsigned char *' mtx.c: In function 'mtx_append': mtx.c:971:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 971 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:971:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 971 | if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); | ^~~~~~~ | | | char * In file included from mtx.c:38: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mtx.c:1017:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 1017 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mtx.c:33: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_parse': mtx.c:1114:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1114 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1114:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1114 | if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { | ^ mtx.c:1123:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1123 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1123:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1123 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1123:58: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1123 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ~^~ | | | unsigned char * In file included from osdep.h:36, from mtx.c:34: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ mtx.c:1123:47: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1123 | if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { | ^ mtx.c:1146:38: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1146 | (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && | ^ | | | unsigned char * In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c:1170:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1170 | j = strtoul (t,NIL,8); /* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_read_flags': mtx.c:1248:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1248 | sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1249:17: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] 1249 | fatal (LOCAL->buf); | ^ | | | unsigned char * In file included from osdep.h:57, from mtx.c:34: ftl.h:24:19: note: expected 'char *' but argument is of type 'unsigned char *' 24 | void fatal (char *string); | ~~~~~~^~~~~~ mtx.c:1257:20: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1257 | j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ | ^ | | | unsigned char * In file included from osdep.h:35, from mtx.c:34: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mtx.c: In function 'mtx_update_status': mtx.c:1283:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1283 | sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mtx.c:1291:27: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] 1291 | write (LOCAL->fd,LOCAL->buf,12); | ^ | | | unsigned char * In file included from osdep.h:55, from mtx.c:34: env_unix.h:91:31: note: expected 'char *' but argument is of type 'unsigned char *' 91 | long safe_write (int fd,char *buf,long nbytes); | ~~~~~~^~~ mtx.c: In function 'mtx_header': mtx.c:510:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 510 | read (LOCAL->fd,LOCAL->buf,*length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_text': mtx.c:551:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 551 | read (LOCAL->fd,LOCAL->text.data,i); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_snarf': mtx.c:717:9: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 717 | ftruncate (LOCAL->fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_expunge': mtx.c:800:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 800 | read (LOCAL->fd,LOCAL->buf,m); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:825:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 825 | ftruncate (LOCAL->fd,LOCAL->filesize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_copy': mtx.c:909:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 909 | read (LOCAL->fd,LOCAL->buf,j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:917:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 917 | ftruncate (fd,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c: In function 'mtx_append': mtx.c:1038:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1038 | ftruncate (fd,sbuf.st_size);/* revert file */ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` news.c In file included from osdep.h:60, from news.c:27: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from news.c:27: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | news.c: In function 'news_list': news.c:222:24: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 222 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:222:29: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 222 | if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c:225:26: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 225 | if (pmatch_full (name,pattern,'.')) | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ news.c:225:31: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 225 | if (pmatch_full (name,pattern,'.')) | ^~~~~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from news.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ news.c: In function 'news_open': news.c:347:36: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 347 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:39, from news.c:27: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c:347:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 347 | if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { | ^~~~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:39, from news.c:27: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ news.c:353:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 353 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); | ^ news.c: In function 'news_fast': news.c:436:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 436 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:437:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 437 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function 'news_flags': news.c:453:33: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 453 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c:453:67: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 453 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from news.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ news.c: In function 'news_header': news.c:485:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 485 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from news.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ news.c:486:26: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 486 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:41, from news.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ news.c:498:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 498 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ news.c: In function 'news_valid': news.c:146:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 146 | read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_list': news.c:213:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 213 | read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ news.c: In function 'news_header': news.c:501:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 501 | read (fd,LOCAL->buf,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` phile.c In file included from osdep.h:60, from phile.c:28: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from phile.c:28: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | phile.c: In function 'phile_open': phile.c:297:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 297 | LOCAL->env->date = cpystr (tmp); | ^ phile.c:319:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] 319 | buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); | ^ | | | char * In file included from osdep.h:58, from phile.c:28: nl.h:25:42: note: expected 'unsigned char *' but argument is of type 'char *' 25 | unsigned char *src,unsigned long srcl); | ~~~~~~~~~~~~~~~^~~ phile.c:309:3: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 309 | read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mh.c In file included from osdep.h:60, from mh.c:27: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mh.c:27: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mh.c: In function 'mh_isvalid': mh.c:161:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 161 | ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { | ~~~~^~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:161:52: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 161 | ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { | ^~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:187:29: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] 187 | if (!strcmp (lcase (s),"path:")) { | ^ | | | char * In file included from mh.c:32: misc.h:79:38: note: expected 'unsigned char *' but argument is of type 'char *' 79 | unsigned char *lcase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mh.c:187:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 187 | if (!strcmp (lcase (s),"path:")) { | ^~~~~~~~~ | | | unsigned char * In file included from osdep.h:36, from mh.c:27: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ mh.c: In function 'mh_list': mh.c:288:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 288 | if (!compare_cstring (test,"#MHINBOX")) | ^~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:288:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 288 | if (!compare_cstring (test,"#MHINBOX")) | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_lsub': mh.c:305:25: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 305 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:305:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 305 | do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function 'mh_list_work': mh.c:337:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 337 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:337:33: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 337 | if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c:339:23: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 339 | if (dmatch (name,pat,'/') && | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mh.c:339:28: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 339 | if (dmatch (name,pat,'/') && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mh.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mh.c: In function 'mh_open': mh.c:513:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 513 | stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:513:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 513 | stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:517:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 517 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); | ^ mh.c: In function 'mh_fast': mh.c:562:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 562 | mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:563:49: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 563 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c: In function 'mh_header': mh.c:595:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 595 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:596:26: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 596 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:608:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 608 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ mh.c: In function 'mh_ping': mh.c:688:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 688 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:688:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 688 | long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:726:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 726 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:729:31: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 729 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:751:28: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] 751 | mh_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mh.c:82:24: note: expected 'char *' but argument is of type 'unsigned char *' 82 | void mh_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mh.c:758:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 758 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:37, from mh.c:27: /usr/include/unistd.h:855:32: note: expected 'const char *' but argument is of type 'unsigned char *' 855 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c: In function 'mh_expunge': mh.c:808:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 808 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:809:24: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 809 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:37, from mh.c:27: /usr/include/unistd.h:855:32: note: expected 'const char *' but argument is of type 'unsigned char *' 855 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mh.c:810:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 810 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:812:22: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 812 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:26: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c:828:19: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 828 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:829:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] 829 | mm_log (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * In file included from mh.c:26: mail.h:1502:20: note: expected 'char *' but argument is of type 'unsigned char *' 1502 | void mm_log (char *string,long errflg); | ~~~~~~^~~~~~ mh.c: In function 'mh_copy': mh.c:855:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 855 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:856:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 856 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from mh.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mh.c:859:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 859 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mh.c:860:30: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 860 | if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mh.c:873:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 873 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ mh.c: In function 'mh_append': mh.c:919:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 919 | if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:919:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 919 | if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:938:37: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 938 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c:938:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 938 | if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:39, from mh.c:27: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mh.c:956:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 956 | if (!mail_parse_date (&elt,date)) { | ^~~~ | | | char * In file included from mh.c:26: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mh.c: In function 'mh_file': mh.c:1034:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1034 | compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); | ^~~~ | | | char * In file included from mh.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c:1034:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1034 | compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); | ^~~~~~~~~~ | | | char * In file included from mh.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mh.c: In function 'mh_setdate': mh.c:1074:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1074 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mh.c: In function 'mh_isvalid': mh.c:179:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 179 | read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_header': mh.c:611:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 611 | read (fd,LOCAL->buf,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mh.c: In function 'mh_copy': mh.c:876:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 876 | read (fd,LOCAL->buf,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat CCTYPE` -c `cat CFLAGS` mx.c In file included from osdep.h:60, from mx.c:27: flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mx.c:27: osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mx.c: In function 'mx_list_work': mx.c:259:23: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] 259 | if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && | ^~~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:24:29: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mx.c:259:28: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] 259 | if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:24:46: note: expected 'unsigned char *' but argument is of type 'char *' 24 | long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mx.c:264:66: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] 264 | else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:23:34: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^ mx.c:264:70: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] 264 | else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) | ^~~ | | | char * In file included from env_unix.h:63, from osdep.h:55, from mx.c:27: env.h:23:51: note: expected 'unsigned char *' but argument is of type 'char *' 23 | long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); | ~~~~~~~~~~~~~~~^~~ mx.c: In function 'mx_create': mx.c:327:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 327 | (int) mail_parameters (NIL,GET_MBXPROTECTION,mailbox)))<0) | ^ mx.c: In function 'mx_rename': mx.c:413:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 413 | if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); | ^~~ | | | char * In file included from mx.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:413:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 413 | if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c: In function 'mx_open': mx.c:436:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 436 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ~~~~~~^~~~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:436:53: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 436 | stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:440:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 440 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); | ^ mx.c: In function 'mx_fast': mx.c:489:53: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 489 | ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:490:30: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 490 | mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c: In function 'mx_fast_work': mx.c:507:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 507 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:509:16: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] 509 | stat (LOCAL->buf,&sbuf); /* get size of message */ | ^ | | | unsigned char * In file included from mx.c:29: /usr/include/sys/stat.h:205:41: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 205 | extern int stat (const char *__restrict __file, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ mx.c:519:15: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 519 | return LOCAL->buf; /* return file name */ | ^ mx.c: In function 'mx_header': mx.c:549:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 549 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); | ^ mx.c:564:48: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 564 | cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); | ^ | | | unsigned char * In file included from mx.c:32: misc.h:81:36: note: expected 'char *' but argument is of type 'unsigned char *' 81 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c:565:51: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] 565 | cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); | ^ | | | unsigned char * In file included from mx.c:32: misc.h:81:36: note: expected 'char *' but argument is of type 'unsigned char *' 81 | char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); | ~~~~~~^~~~ mx.c: In function 'mx_ping': mx.c:647:46: warning: passing argument 3 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 647 | long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); | ^~~~~~~~~ | | | int (*)(struct dirent *) In file included from osdep.h:39, from mx.c:27: /usr/include/dirent.h:257:27: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' 257 | int (*__selector) (const struct dirent *), | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:647:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] 647 | long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); | ^~~~~~~~~~ | | | int (*)(const void *, const void *) In file included from osdep.h:39, from mx.c:27: /usr/include/dirent.h:258:27: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' 258 | int (*__cmp) (const struct dirent **, | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 259 | const struct dirent **)) | ~~~~~~~~~~~~~~~~~~~~~~~ mx.c:687:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 687 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:690:31: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] 690 | if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, | ^ | | | unsigned char * In file included from /usr/include/fcntl.h:342, from osdep.h:41, from mx.c:27: /usr/include/bits/fcntl2.h:41:19: note: expected 'const char *' but argument is of type 'unsigned char *' 41 | open (const char *__path, int __oflag, ...) | ~~~~~~~~~~~~^~~~~~ mx.c:713:28: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] 713 | mx_setdate (LOCAL->buf,elt); | ^ | | | unsigned char * mx.c:86:24: note: expected 'char *' but argument is of type 'unsigned char *' 86 | void mx_setdate (char *file,MESSAGECACHE *elt); | ~~~~~~^~~~ mx.c:718:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 718 | unlink (LOCAL->buf);/* flush this file */ | ^ | | | unsigned char * In file included from osdep.h:37, from mx.c:27: /usr/include/unistd.h:855:32: note: expected 'const char *' but argument is of type 'unsigned char *' 855 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_expunge': mx.c:765:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 765 | sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:766:26: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] 766 | if (unlink (LOCAL->buf)) {/* try to delete the message */ | ^ | | | unsigned char * In file included from osdep.h:37, from mx.c:27: /usr/include/unistd.h:855:32: note: expected 'const char *' but argument is of type 'unsigned char *' 855 | extern int unlink (const char *__name) __THROW __nonnull ((1)); | ~~~~~~~~~~~~^~~~~~ mx.c:767:25: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 767 | sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:769:24: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 769 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mx.c:769:24: note: expected 'char *' but argument is of type 'unsigned char *' mx.c:785:21: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 785 | sprintf (LOCAL->buf,"Expunged %lu messages",n); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ mx.c:786:20: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] 786 | MM_LOG (LOCAL->buf,(long) NIL); | ^ | | | unsigned char * mx.c:786:20: note: expected 'char *' but argument is of type 'unsigned char *' mx.c: In function 'mx_copy': mx.c:814:54: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 814 | if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:815:29: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 815 | mail_sequence (stream,sequence)) | ^~~~~~~~ | | | char * In file included from mx.c:26: mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ mx.c:823:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 823 | LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); | ^ mx.c: In function 'mx_append': mx.c:875:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:37: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:875:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 875 | if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); | ^~~~~~~ | | | char * In file included from mx.c:32: misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ mx.c:912:35: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 912 | if (!mail_parse_date (&selt,date)) { | ^~~~ | | | char * In file included from mx.c:26: mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mx.c: In function 'mx_setdate': mx.c:1139:3: warning: implicit declaration of function 'utime'; did you mean 'utimes'? [-Wimplicit-function-declaration] 1139 | utime (file,tp); /* set the times */ | ^~~~~ | utimes mx.c: In function 'mx_header': mx.c:552:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 552 | read (fd,LOCAL->buf,elt->rfc822_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_copy': mx.c:826:9: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 826 | read (fd,LOCAL->buf,sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_lockindex': mx.c:1032:5: warning: ignoring return value of 'read' declared with attribute 'warn_unused_result' [-Wunused-result] 1032 | read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c: In function 'mx_unlockindex': mx.c:1122:5: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] 1122 | ftruncate (LOCAL->fd,size); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o;ranlib c-client.a make[3]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/c-client' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from mtest.c:31: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from ../c-client/c-client.h:34, from mtest.c:31: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mtest.c: In function 'main': mtest.c:116:10: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 116 | ucase (tmp); | ^~~ | | | char * In file included from ../c-client/c-client.h:38, from mtest.c:31: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtest.c: In function 'mm': mtest.c:158:21: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 158 | switch (*ucase (cmd)) { /* dispatch based on command */ | ^~~ | | | char * In file included from ../c-client/c-client.h:38, from mtest.c:31: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtest.c: In function 'overview_header': mtest.c:370:30: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] 370 | mail_parse_date (&selt,ov->date); | ~~^~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from mtest.c:31: ../c-client/mail.h:1589:56: note: expected 'unsigned char *' but argument is of type 'char *' 1589 | long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ mtest.c: In function 'prompt': mtest.c:585:3: warning: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration] 585 | gets (txt); | ^~~~ | fgets mtest.c: In function 'smtptest': mtest.c:778:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 778 | msg->date = (char *) fs_get (1+strlen (line)); | ^ mtest.c:779:14: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 779 | strcpy (msg->date,line); | ~~~^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from mtest.c:28: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/cczjH8ZY.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2004g/mtest/mtest.c:585: warning: the `gets' function is dangerous and should not be used. ld: /usr/src/tmp/cczjH8ZY.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2004g/mtest/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/mtest' cd ipopd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/ipopd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from ipop2d.c:30: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from ../c-client/c-client.h:34, from ipop2d.c:30: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | ipop2d.c: In function 'main': ipop2d.c:145:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 145 | ucase (s); /* canonicalize case */ | ^ | | | char * In file included from ../c-client/c-client.h:38, from ipop2d.c:30: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ ipop2d.c: In function 'c_fold': ipop2d.c:330:10: warning: unused variable 'mb' [-Wunused-variable] 330 | NETMBX mb; | ^~ ipop2d.c:329:9: warning: unused variable 's' [-Wunused-variable] 329 | char *s = NIL,tmp[2*TMPLEN]; | ^ In file included from /usr/include/string.h:532, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from ipop2d.c:30: In function 'strncpy', inlined from 'mm_login' at ipop2d.c:652:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccvWo1dW.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2004g/ipopd/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from ipop3d.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from ../c-client/c-client.h:34, from ipop3d.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | ipop3d.c: In function 'main': ipop3d.c:167:14: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 167 | ucase (s); /* canonicalize case */ | ^ | | | char * In file included from ../c-client/c-client.h:38, from ipop3d.c:29: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ ipop3d.c: In function 'pass_login': ipop3d.c:564:8: warning: unused variable 'tmp' [-Wunused-variable] 564 | char tmp[TMPLEN]; | ^~~ In file included from /usr/include/string.h:532, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from ipop3d.c:29: In function 'strncpy', inlined from 'mm_login' at ipop3d.c:925:3: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccgmMMy9.ltrans1.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2004g/ipopd/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/ipopd' cd imapd;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/imapd' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c In file included from ../c-client/osdep.h:60, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | imapd.c: In function 'main': imapd.c:264:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 264 | (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? | ^ imapd.c:264:41: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 264 | (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? | ^ imapd.c:269:16: warning: pointer targets in passing argument 1 of 'rfc822_date' differ in signedness [-Wpointer-sign] 269 | rfc822_date (tmp); /* get date/time at startup */ | ^~~ | | | unsigned char * In file included from ../c-client/env_unix.h:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:26:25: note: expected 'char *' but argument is of type 'unsigned char *' 26 | void rfc822_date (char *date); | ~~~~~~^~~~ imapd.c:285:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 285 | if (s = strchr (proxy,'\n')) *s = '\0'; | ^ imapd.c:292:7: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 292 | s = myusername_full (&i); /* get user name and flags */ | ^ imapd.c:300:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 300 | s = "ANONYMOUS"; | ^ imapd.c:304:22: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 304 | user = cpystr (s); /* copy user name */ | ^ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:304:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 304 | user = cpystr (s); /* copy user name */ | ^ imapd.c:305:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 305 | pass = cpystr ("*"); /* set fake password */ | ^ imapd.c:314:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 314 | PSOUT (user); | ^~~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:326:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 326 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:340:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] 340 | slurp (cmdbuf,CMDLEN); /* slurp command */ | ^~~~~~ | | | unsigned char * imapd.c:110:19: note: expected 'char *' but argument is of type 'unsigned char *' 110 | void slurp (char *s,int n); | ~~~~~~^ imapd.c:347:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 347 | if (!strchr (cmdbuf,'\012')) { | ^~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:348:23: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 348 | if (t = strchr (cmdbuf,' ')) *t = '\0'; | ^~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:348:13: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 348 | if (t = strchr (cmdbuf,' ')) *t = '\0'; | ^ imapd.c:354:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 354 | sprintf (tmp,response,t ? (char *) cmdbuf : "*"); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:355:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 355 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:357:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 357 | else if (!(tag = strtok (cmdbuf," \015\012"))) { | ^~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:364:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 364 | else if (!(cmd = strtok (NIL," \015\012"))) { | ^ imapd.c:376:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 376 | if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:383:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 383 | if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && | ^ imapd.c:383:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 383 | if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:387:55: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 387 | if (arg[i] == '{') litplus = strtoul (arg + i + 1,NIL,10); | ~~~~~~~~^~~ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c:391:20: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 391 | if (!strcmp (cmd,"NOOP")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:396:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 396 | else if (!strcmp (cmd,"LOGOUT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:408:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 408 | else if (!strcmp (cmd,"CAPABILITY")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:430:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 430 | if (!strcmp (cmd,"AUTHENTICATE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:439:29: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 439 | else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:440:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 440 | if (!(s = imap_responder ("",0,NIL))) | ^ imapd.c:444:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 444 | user = cpystr ("ANONYMOUS"); | ^ imapd.c:445:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 445 | pass = cpystr ("*"); | ^ imapd.c:456:46: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] 456 | else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1695:24: note: expected 'char *' but argument is of type 'unsigned char *' 1695 | char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]); | ~~~~~~^~~~~~~~~ imapd.c:456:25: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 456 | else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { | ^ imapd.c:457:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 457 | pass = cpystr ("*"); | ^ imapd.c:467:30: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 467 | lsterr = cpystr (s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:468:51: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 468 | while (auth && compare_cstring (s,auth->name)) auth = auth->next; | ~~~~^~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:486:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 486 | else if (!strcmp (cmd,"LOGIN")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:490:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 490 | if (!((user = cpystr (snarf (&arg))) && | ^~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:490:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 490 | if (!((user = cpystr (snarf (&arg))) && | ^ imapd.c:491:33: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 491 | (pass = cpystr (snarf (&arg))))) response = misarg; | ^~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:491:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 491 | (pass = cpystr (snarf (&arg))))) response = misarg; | ^ imapd.c:514:29: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 514 | if (s = strchr (user,'*')) *s++ ='\0'; | ^~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:514:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 514 | if (s = strchr (user,'*')) *s++ ='\0'; | ^ imapd.c:516:31: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign] 516 | if (server_login (user,pass,s,argc,argv)) { | ^~~~ | | | unsigned char * In file included from ../c-client/env_unix.h:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32:26: note: expected 'char *' but argument is of type 'unsigned char *' 32 | long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); | ~~~~~~^~~~ imapd.c:516:36: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign] 516 | if (server_login (user,pass,s,argc,argv)) { | ^~~~ | | | unsigned char * In file included from ../c-client/env_unix.h:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32:37: note: expected 'char *' but argument is of type 'unsigned char *' 32 | long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); | ~~~~~~^~~~ imapd.c:516:41: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign] 516 | if (server_login (user,pass,s,argc,argv)) { | ^ | | | unsigned char * In file included from ../c-client/env_unix.h:63, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32:48: note: expected 'char *' but argument is of type 'unsigned char *' 32 | long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); | ~~~~~~^~~~~~~~ imapd.c:528:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 528 | else if (!strcmp (cmd,"STARTTLS")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:538:22: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 538 | if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:538:47: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 538 | if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:539:37: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 539 | if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:539:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 539 | if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) | ^ imapd.c:539:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 539 | if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) | ^ imapd.c:542:53: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign] 542 | mail_sequence (stream,s)) fetch (t,uid); | ^ | | | unsigned char * imapd.c:129:19: note: expected 'char *' but argument is of type 'unsigned char *' 129 | void fetch (char *t,unsigned long uid); | ~~~~~~^ imapd.c:546:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 546 | else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:546:52: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 546 | else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:548:37: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 548 | if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:548:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 548 | if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && | ^ imapd.c:548:53: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 548 | if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && | ^ imapd.c:549:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 549 | (t = strtok (NIL,"\015\012")))) response = misarg; | ^ imapd.c:554:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 554 | if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:554:57: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 554 | if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:555:23: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 555 | strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen"); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imapd.c:557:43: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 557 | (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) | ^ imapd.c:558:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 558 | if (strlen (v) < | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:559:60: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 559 | ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:561:27: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] 561 | strcpy (u,v); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:77:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imapd.c:561:29: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] 561 | strcpy (u,v); | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:77:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 77 | __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imapd.c:563:33: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] 563 | mail_flag (stream,s,tmp,f & ~ST_SET); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:42: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); | ~~~~~~^~~~~~~~ imapd.c:563:35: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] 563 | mail_flag (stream,s,tmp,f & ~ST_SET); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:57: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); | ~~~~~~^~~~ imapd.c:565:31: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 565 | else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:565:55: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 565 | else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:567:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 567 | else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:567:53: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 567 | else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:573:31: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] 573 | mail_flag (stream,s,t,f); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:42: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); | ~~~~~~^~~~~~~~ imapd.c:573:33: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] 573 | mail_flag (stream,s,t,f); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1567:57: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); | ~~~~~~^~~~ imapd.c:584:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 584 | else if (!strcmp (cmd,"CHECK")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:594:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 594 | else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:604:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 604 | else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:604:52: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 604 | else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:619:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 619 | (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:619:52: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 619 | (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:621:37: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 621 | if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:621:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 621 | if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) | ^ imapd.c:621:55: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 621 | if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) | ^ imapd.c:628:44: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign] 628 | else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1575:47: note: expected 'char *' but argument is of type 'unsigned char *' 1575 | long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, | ~~~~~~^~~~~~~~ imapd.c:628:46: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign] 628 | else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1575:62: note: expected 'char *' but argument is of type 'unsigned char *' 1575 | long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, | ~~~~~~^~~~~~~ imapd.c:635:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 635 | else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:635:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 635 | else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:637:56: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 637 | if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && | ~~^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:637:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 637 | if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && | ^ imapd.c:645:31: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 645 | if (!(s = strtok (ucase (s)," "))) response = badatt; | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:645:21: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 645 | if (!(s = strtok (ucase (s)," "))) response = badatt; | ^ imapd.c:650:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 650 | if (!strcmp (s,"REVERSE")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:652:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 652 | if (!(s = strtok (NIL," "))) { | ^ imapd.c:653:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 653 | s = ""; /* end of attributes */ | ^ imapd.c:657:30: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 657 | if (!strcmp (s,"DATE")) pg->function = SORTDATE; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:658:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 658 | else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:659:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 659 | else if (!strcmp (s,"FROM")) pg->function = SORTFROM; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:660:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 660 | else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:661:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 661 | else if (!strcmp (s,"TO")) pg->function = SORTTO; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:662:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 662 | else if (!strcmp (s,"CC")) pg->function = SORTCC; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:663:35: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 663 | else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:665:26: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 665 | } while (s = strtok (NIL," ")); | ^ imapd.c:669:62: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 669 | else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg && | ^ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:692:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 692 | else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:692:53: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 692 | else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:697:37: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 697 | if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:697:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 697 | if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && | ^ imapd.c:698:44: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 698 | (cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012")))) | ^ imapd.c:704:43: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign] 704 | if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1632:51: note: expected 'char *' but argument is of type 'unsigned char *' 1632 | THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, | ~~~~~~^~~~ imapd.c:717:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 717 | else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:717:53: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 717 | else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:732:53: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 732 | if (s = snarf (&arg)) charset = cpystr (s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:763:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 763 | if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:763:50: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 763 | if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:764:25: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 764 | strcmp (cmd,"BBOARD"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:768:48: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ^~~ | | | unsigned char * imapd.c:174:25: note: expected 'char *' but argument is of type 'unsigned char *' 174 | char *bboardname (char *cmd,char *name); | ~~~~~~^~~ imapd.c:768:52: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ^ | | | unsigned char * imapd.c:174:35: note: expected 'char *' but argument is of type 'unsigned char *' 174 | char *bboardname (char *cmd,char *name); | ~~~~~~^~~~ imapd.c:768:34: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ^ imapd.c:768:34: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 768 | else if (nameok (NIL,s = bboardname (cmd,s))) { | ~~^~~~~~~~~~~~~~~~~~~~ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:769:47: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign] 769 | DRIVER *factory = mail_valid (NIL,s,NIL); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1514:46: note: expected 'char *' but argument is of type 'unsigned char *' 1514 | DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); | ~~~~~~^~~~~~~ imapd.c:779:45: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] 779 | (stream = mail_open (stream,s,f | OP_SILENT)) && | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1528:52: note: expected 'char *' but argument is of type 'unsigned char *' 1528 | MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); | ~~~~~~^~~~ imapd.c:785:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 785 | (t = mail_fetch_text (stream,1,NIL,&i,NIL)) && | ^ imapd.c:788:26: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 788 | strncpy (tmp,t,i)[i] = '\0'; | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:92:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imapd.c:788:30: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 788 | strncpy (tmp,t,i)[i] = '\0'; | ^ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ imapd.c:790:34: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 790 | if (t = strpbrk (tmp,"\r\n")) *t = '\0'; | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imapd.c:790:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 790 | if (t = strpbrk (tmp,"\r\n")) *t = '\0'; | ^ imapd.c:792:47: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] 792 | if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) && | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1528:52: note: expected 'char *' but argument is of type 'unsigned char *' 1528 | MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); | ~~~~~~^~~~ imapd.c:805:47: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] 805 | else if (!factory && isnewsproxy (s)) { | ^ | | | unsigned char * imapd.c:175:25: note: expected 'char *' but argument is of type 'unsigned char *' 175 | long isnewsproxy (char *name); | ~~~~~~^~~~ imapd.c:806:24: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 806 | sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:807:42: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] 807 | stream = mail_open (stream,tmp,f); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1528:52: note: expected 'char *' but argument is of type 'unsigned char *' 1528 | MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); | ~~~~~~^~~~ imapd.c:810:45: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] 810 | else stream = mail_open (stream,s,f); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1528:52: note: expected 'char *' but argument is of type 'unsigned char *' 1528 | MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); | ~~~~~~^~~~ imapd.c:816:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 816 | if (!compare_cstring (s,"#MHINBOX")) | ^~~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:818:57: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 818 | else lastsel = cpystr (compare_cstring (s,"INBOX") ? | ^~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:839:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 839 | else if (!(anonymous || strcmp (cmd,"APPEND"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:849:44: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign] 849 | if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) { | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1579:53: note: expected 'char *' but argument is of type 'unsigned char *' 1579 | long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, | ~~~~~~^~~~~~~ imapd.c:865:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 865 | else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:865:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 865 | else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:871:28: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] 871 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:20: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~ imapd.c:871:30: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 871 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:872:35: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 872 | if (newsproxypattern (s,t,tmp,LONGT)) { | ^ | | | unsigned char * imapd.c:176:30: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~ imapd.c:872:37: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 872 | if (newsproxypattern (s,t,tmp,LONGT)) { | ^ | | | unsigned char * imapd.c:176:40: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~ imapd.c:872:39: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 872 | if (newsproxypattern (s,t,tmp,LONGT)) { | ^~~ | | | unsigned char * imapd.c:176:50: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~~~~~ imapd.c:874:33: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] 874 | mail_list (NIL,"",tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:52: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | void mail_list (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:877:33: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign] 877 | else mail_list (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:42: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | void mail_list (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:877:35: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] 877 | else mail_list (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:52: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | void mail_list (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:883:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 883 | else if (!strcmp (cmd,"SCAN")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:889:28: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] 889 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:20: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~ imapd.c:889:30: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 889 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:890:35: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 890 | if (newsproxypattern (s,t,tmp,NIL)) | ^ | | | unsigned char * imapd.c:176:30: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~ imapd.c:890:37: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 890 | if (newsproxypattern (s,t,tmp,NIL)) | ^ | | | unsigned char * imapd.c:176:40: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~ imapd.c:890:39: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 890 | if (newsproxypattern (s,t,tmp,NIL)) | ^~~ | | | unsigned char * imapd.c:176:50: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~~~~~ imapd.c:892:33: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign] 892 | else mail_scan (NIL,s,t,u); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1518:42: note: expected 'char *' but argument is of type 'unsigned char *' 1518 | void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); | ~~~~~~^~~ imapd.c:892:35: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign] 892 | else mail_scan (NIL,s,t,u); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1518:52: note: expected 'char *' but argument is of type 'unsigned char *' 1518 | void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); | ~~~~~~^~~ imapd.c:892:37: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign] 892 | else mail_scan (NIL,s,t,u); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1518:62: note: expected 'char *' but argument is of type 'unsigned char *' 1518 | void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); | ~~~~~~^~~~~~~~ imapd.c:898:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 898 | else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:898:51: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 898 | else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:904:28: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] 904 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:20: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~ imapd.c:904:30: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 904 | else if (nameok (s,t)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:905:35: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^ | | | unsigned char * imapd.c:176:30: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~ imapd.c:905:37: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^ | | | unsigned char * imapd.c:176:40: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~ imapd.c:905:39: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^~~ | | | unsigned char * imapd.c:176:50: note: expected 'char *' but argument is of type 'unsigned char *' 176 | long newsproxypattern (char *ref,char *pat,char *pattern,long flag); | ~~~~~~^~~~~~~ imapd.c:905:66: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign] 905 | if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); | ^~~ | | | unsigned char * In file included from imapd.c:30: ../c-client/newsrc.h:29:44: note: expected 'char *' but argument is of type 'unsigned char *' 29 | void newsrc_lsub (MAILSTREAM *stream,char *pattern); | ~~~~~~^~~~~~~ imapd.c:906:33: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign] 906 | else mail_lsub (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:42: note: expected 'char *' but argument is of type 'unsigned char *' 1520 | void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:906:35: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] 906 | else mail_lsub (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:52: note: expected 'char *' but argument is of type 'unsigned char *' 1520 | void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:913:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 913 | else if (!strcmp (cmd,"FIND")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:916:37: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 916 | if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:916:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 916 | if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && | ^ imapd.c:917:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 917 | (arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg)))) | ^ imapd.c:921:29: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 921 | else if (strpbrk (s,"%?")) response = | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imapd.c:923:32: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] 923 | else if (nameok (NIL,s)) { | ^ | | | unsigned char * imapd.c:173:30: note: expected 'char *' but argument is of type 'unsigned char *' 173 | long nameok (char *ref,char *name); | ~~~~~~^~~~ imapd.c:926:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 926 | if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:926:77: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] 926 | if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1520:52: note: expected 'char *' but argument is of type 'unsigned char *' 1520 | void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:927:31: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 927 | else if (!strcmp (cmd,"ALL.MAILBOXES")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:930:34: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] 930 | mail_list (NIL,NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1519:52: note: expected 'char *' but argument is of type 'unsigned char *' 1519 | void mail_list (MAILSTREAM *stream,char *ref,char *pat); | ~~~~~~^~~ imapd.c:939:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 939 | else if (!strcmp (cmd,"STATUS")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:941:30: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 941 | (t = strchr (arg,')')) && (t - arg) && !t[1])) | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:941:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 941 | (t = strchr (arg,')')) && (t - arg) && !t[1])) | ^ imapd.c:947:25: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 947 | t = strtok (ucase (arg)," "); | ^~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:947:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 947 | t = strtok (ucase (arg)," "); | ^ imapd.c:949:28: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 949 | if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:950:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 950 | else if (!strcmp (t,"RECENT")) f |= SA_RECENT; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:951:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 951 | else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:952:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 952 | else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:953:33: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 953 | else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:956:24: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 956 | PSOUT (t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:959:24: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 959 | } while (t = strtok (NIL," ")); | ^ imapd.c:962:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 962 | if (!compare_cstring (s,"INBOX")) s = "INBOX"; | ^~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:962:49: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 962 | if (!compare_cstring (s,"INBOX")) s = "INBOX"; | ^ imapd.c:963:42: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 963 | else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; | ^~~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:963:57: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 963 | else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; | ^ imapd.c:966:43: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 966 | else if (lastsel && (!strcmp (s,lastsel) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:967:54: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 967 | (stream && !strcmp (s,stream->mailbox)))) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:972:22: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 972 | PSOUT (s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:977:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 977 | sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:977:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 977 | sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:979:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 979 | sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:979:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 979 | sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:983:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 983 | sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:983:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 983 | sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:986:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 986 | sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:986:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 986 | sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); | ~~~~^~~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:988:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 988 | sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:988:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 988 | sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", | ~~~~^~~~~~~~~~~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:991:23: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] 991 | strcat (tmp,")\015\012"); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:125:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 125 | __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) | ^~~~~ imapd.c:993:25: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign] 993 | pastring (s); | ^ | | | unsigned char * imapd.c:161:22: note: expected 'char *' but argument is of type 'unsigned char *' 161 | void pastring (char *s); | ~~~~~~^ imapd.c:994:22: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 994 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:996:40: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] 996 | else if (!mail_status (NIL,s,f)) response = lose; | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1526:44: note: expected 'char *' but argument is of type 'unsigned char *' 1526 | long mail_status (MAILSTREAM *stream,char *mbx,long flags); | ~~~~~~^~~ imapd.c:1003:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1003 | else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1007:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1007 | if (compare_cstring (s,"MAILBOX")) response = badarg; | ^~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:1010:38: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] 1010 | else mail_subscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1521:47: note: expected 'char *' but argument is of type 'unsigned char *' 1521 | long mail_subscribe (MAILSTREAM *stream,char *mailbox); | ~~~~~~^~~~~~~ imapd.c:1012:33: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] 1012 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); | ^ | | | unsigned char * imapd.c:175:25: note: expected 'char *' but argument is of type 'unsigned char *' 175 | long isnewsproxy (char *name); | ~~~~~~^~~~ imapd.c:1012:57: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] 1012 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); | ~^~ | | | unsigned char * In file included from imapd.c:30: ../c-client/newsrc.h:30:46: note: expected 'char *' but argument is of type 'unsigned char *' 30 | long newsrc_update (MAILSTREAM *stream,char *group,char state); | ~~~~~~^~~~~ imapd.c:1013:36: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] 1013 | else mail_subscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1521:47: note: expected 'char *' but argument is of type 'unsigned char *' 1521 | long mail_subscribe (MAILSTREAM *stream,char *mailbox); | ~~~~~~^~~~~~~ imapd.c:1018:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1018 | else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1022:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] 1022 | if (compare_cstring (s,"MAILBOX")) response = badarg; | ^~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:98:55: note: expected 'unsigned char *' but argument is of type 'char *' 98 | int compare_cstring (unsigned char *s1,unsigned char *s2); | ~~~~~~~~~~~~~~~^~ imapd.c:1025:35: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] 1025 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); | ^ | | | unsigned char * imapd.c:175:25: note: expected 'char *' but argument is of type 'unsigned char *' 175 | long isnewsproxy (char *name); | ~~~~~~^~~~ imapd.c:1025:59: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] 1025 | else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); | ~^~ | | | unsigned char * In file included from imapd.c:30: ../c-client/newsrc.h:30:46: note: expected 'char *' but argument is of type 'unsigned char *' 30 | long newsrc_update (MAILSTREAM *stream,char *group,char state); | ~~~~~~^~~~~ imapd.c:1026:40: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] 1026 | else mail_unsubscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1522:49: note: expected 'char *' but argument is of type 'unsigned char *' 1522 | long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); | ~~~~~~^~~~~~~ imapd.c:1028:38: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] 1028 | else mail_unsubscribe (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1522:49: note: expected 'char *' but argument is of type 'unsigned char *' 1522 | long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); | ~~~~~~^~~~~~~ imapd.c:1033:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1033 | else if (!strcmp (cmd,"NAMESPACE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1084:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1084 | else if (!(anonymous || strcmp (cmd,"CREATE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1087:33: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign] 1087 | else mail_create (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1523:44: note: expected 'char *' but argument is of type 'unsigned char *' 1523 | long mail_create (MAILSTREAM *stream,char *mailbox); | ~~~~~~^~~~~~~ imapd.c:1092:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1092 | else if (!(anonymous || strcmp (cmd,"DELETE"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1095:33: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign] 1095 | else mail_delete (NIL,s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1524:44: note: expected 'char *' but argument is of type 'unsigned char *' 1524 | long mail_delete (MAILSTREAM *stream,char *mailbox); | ~~~~~~^~~~~~~ imapd.c:1100:41: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1100 | else if (!(anonymous || strcmp (cmd,"RENAME"))) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1103:33: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign] 1103 | else mail_rename (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1525:44: note: expected 'char *' but argument is of type 'unsigned char *' 1525 | long mail_rename (MAILSTREAM *stream,char *old,char *newname); | ~~~~~~^~~ imapd.c:1103:35: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign] 1103 | else mail_rename (NIL,s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1525:54: note: expected 'char *' but argument is of type 'unsigned char *' 1525 | long mail_rename (MAILSTREAM *stream,char *old,char *newname); | ~~~~~~^~~~~~~ imapd.c:1109:27: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1109 | else if (!strcmp (cmd,"IDLE")) { | ^~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1139:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1139 | sprintf (tmp,"* OK Timeout in %lu minutes\015\012", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1141:24: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1141 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1145:26: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1145 | sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1147:24: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1147 | PSOUT (tmp); /* prod client to wake up */ | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1155:24: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] 1155 | slurp (tmp,MAILTMPLEN); | ^~~ | | | unsigned char * imapd.c:110:19: note: expected 'char *' but argument is of type 'unsigned char *' 110 | void slurp (char *s,int n); | ~~~~~~^ imapd.c:1166:30: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1166 | sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1167:28: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1167 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1169:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1169 | sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1171:26: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1171 | PSOUT (tmp); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1190:23: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] 1190 | if (!PSINR (tmp,i)) inerror ("reading literal"); | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1732:19: note: expected 'char *' but argument is of type 'unsigned char *' 1732 | long PSINR (char *s,unsigned long n); | ~~~~~~^ imapd.c:1205:16: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1205 | PSOUT (user); | ^~~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1212:18: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1212 | sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1213:16: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1213 | PSOUT (tmp); /* output response */ | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c:1217:20: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1217 | sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1219:35: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1219 | else if (lstref) sprintf (tmp,altlose,tag,lstref); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1221:23: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 1221 | else sprintf (tmp,response,tag,cmd,lasterror ()); | ^~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:36:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 36 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ imapd.c:1223:16: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] 1223 | PSOUT (tmp); /* output response */ | ^~~ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1735:18: note: expected 'char *' but argument is of type 'unsigned char *' 1735 | int PSOUT (char *s); | ~~~~~~^ imapd.c: In function 'parse_astring': imapd.c:1672:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1672 | if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c:1691:18: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1691 | inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); | ^ imapd.c:1691:18: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign] 1691 | inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * imapd.c:1583:23: note: expected 'char *' but argument is of type 'unsigned char *' 1583 | void inliteral (char *s,unsigned long n) | ~~~~~~^ imapd.c:1693:17: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] 1693 | slurp (*arg = t,CMDLEN - (t - cmdbuf)); | ~~~~~^~~ | | | unsigned char * imapd.c:1567:19: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void slurp (char *s,int n) | ~~~~~~^ imapd.c:1694:18: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 1694 | if (!strchr (t,'\012')) return flush (); | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:1696:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 1696 | if (!strtok (t,"\015\012")) *t = '\0'; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:1698:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1698 | if (((i = strlen (t)) > 3) && (t[i - 1] == '}') && | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:1702:49: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 1702 | if (t[i] == '{') litplus = strtoul (t + i + 1,NIL,10); | ~~~~~~^~~ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c: In function 'parse_stringlist': imapd.c:1772:51: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] 1772 | while ((c == ' ') && (t = parse_astring (s,&i,&c))) { | ^~ | | | char * imapd.c:1641:46: note: expected 'unsigned char *' but argument is of type 'char *' 1641 | unsigned char *del) | ~~~~~~~~~~~~~~~^~~ imapd.c:1772:29: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1772 | while ((c == ' ') && (t = parse_astring (s,&i,&c))) { | ^ imapd.c:1784:9: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 1784 | if (t = *s) { /* need to reload strtok() state? */ | ^ imapd.c: In function 'parse_criterion': imapd.c:1846:30: warning: pointer targets in passing argument 1 of 'strpbrk' differ in signedness [-Wpointer-sign] 1846 | if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); | ~~~^~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:307:35: note: expected 'const char *' but argument is of type 'unsigned char *' 307 | extern char *strpbrk (const char *__s, const char *__accept) | ~~~~~~~~~~~~^~~ imapd.c:1846:16: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 1846 | if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); | ^ imapd.c:1846:68: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 1846 | if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); | ^~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:1862:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1862 | if (!strcmp (s+1,"LL")) ret = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1863:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1863 | else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1867:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1867 | if (!strcmp (s+1,"CC") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1869:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1869 | else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1871:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1871 | else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1875:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1875 | if (!strcmp (s+1,"C") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1879:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1879 | if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1880:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1880 | if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1883:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1883 | if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1884:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1884 | else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1888:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1888 | if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1892:38: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] 1892 | *hdr = mail_newsearchheader (s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1667:43: note: expected 'char *' but argument is of type 'unsigned char *' 1667 | SEARCHHEADER *mail_newsearchheader (char *line,char *text); | ~~~~~~^~~~ imapd.c:1892:40: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] 1892 | *hdr = mail_newsearchheader (s,t); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1667:54: note: expected 'char *' but argument is of type 'unsigned char *' 1667 | SEARCHHEADER *mail_newsearchheader (char *line,char *text); | ~~~~~~^~~~ imapd.c:1899:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1899 | if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1903:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1903 | if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1907:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1907 | if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1908:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1908 | else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1916:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1916 | if (!strcmp (s+1,"LD")) ret = pgm->old = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1917:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1917 | else if (!strcmp (s+1,"N") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1919:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1919 | else if (!strcmp (s+1,"R") && c == ' ') { | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1928:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1928 | if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1931:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1931 | if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1932:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1932 | else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1934:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1934 | else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1936:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1936 | else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1938:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1938 | else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1940:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1940 | else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1942:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1942 | else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1946:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1946 | if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1948:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1948 | else if (!strcmp (s+1,"O") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1953:21: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1953 | if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1962:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1962 | else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1963:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1963 | else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1964:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1964 | else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1965:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1965 | else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1966:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1966 | else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:1968:26: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 1968 | else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c: In function 'crit_string': imapd.c:2126:35: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] 2126 | char *s = parse_astring (arg,&i,&c); | ^~ | | | char * imapd.c:1641:46: note: expected 'unsigned char *' but argument is of type 'char *' 1641 | unsigned char *del) | ~~~~~~~~~~~~~~~^~~ imapd.c:2126:13: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 2126 | char *s = parse_astring (arg,&i,&c); | ^~~~~~~~~~~~~ imapd.c:2136:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2136 | if (!*arg) *arg = (char *) (*string)->text.data + i; | ^ imapd.c: In function 'fetch_work': imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 2183 | if (!strcmp (ucase (t),"ALL")) | ^ | | | char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ imapd.c:2183:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2183 | if (!strcmp (ucase (t),"ALL")) | ^~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2189:9: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2189 | if (s = strtok (t," ")) do { /* parse attribute list */ | ^ imapd.c:2190:30: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 2190 | if (list && (i = strlen (s)) && (s[i-1] == ')')) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:2195:18: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2195 | if (!strcmp (s,"UID")) { /* no-op if implicit */ | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2198:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2198 | else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2199:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2199 | else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2200:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2200 | else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2201:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2201 | else if (!strcmp (s,"ENVELOPE")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2205:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2205 | else if (!strcmp (s,"BODY")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2209:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2209 | else if (!strcmp (s,"BODYSTRUCTURE")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2213:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2213 | else if (!strcmp (s,"RFC822")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2217:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2217 | else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2218:23: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 2218 | else if (!strcmp (s,"RFC822.TEXT")) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ imapd.c:2223:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2223 | else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2223:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2223 | else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2224:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2224 | !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2224:52: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2224 | !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2225:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2225 | !strncmp (s,"BINARY.SIZE[",12)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2265:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2265 | if (!strncmp (v,"MIME",4)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2278:25: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2278 | if (!strncmp (v,"HEADER",6)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2283:27: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2283 | if (!strncmp (v,".FIELDS",7)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2285:29: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2285 | if (!strncmp (v,".NOT",4)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2289:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2289 | if (*v || !(v = strtok (NIL,"\015\012")) || | ^ imapd.c:2297:30: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] 2297 | else if (!strncmp (v,"TEXT",4)) { | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:33: note: expected 'const char *' but argument is of type 'unsigned char *' 143 | extern int strncmp (const char *__s1, const char *__s2, size_t __n) | ~~~~~~~~~~~~^~~~ imapd.c:2320:56: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2320 | !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) || | ~^~ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c:2322:52: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 2322 | (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) && | ^ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c:2333:17: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 2333 | strtok (v," "); /* reset strtok mechanism */ | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:2340:19: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 2340 | strtok (v," "); /* reset strtok mechanism */ | ^ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:2351:42: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 2351 | if (s && *s) ta->section = cpystr (s); | ^ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:2358:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 2358 | } while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list); | ^ imapd.c: In function 'fetch_body_part_binary': imapd.c:2494:40: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] 2494 | BODY *body = mail_body (stream,i,ta->section); | ~~^~~~~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1586:33: note: expected 'unsigned char *' but argument is of type 'char *' 1586 | unsigned char *section); | ~~~~~~~~~~~~~~~^~~~~~~ imapd.c: In function 'penv': imapd.c:2919:18: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign] 2919 | pnstring (env->date); /* output envelope fields */ | ~~~^~~~~~ | | | unsigned char * imapd.c:160:22: note: expected 'char *' but argument is of type 'unsigned char *' 160 | void pnstring (char *s); | ~~~~~~^ imapd.c: In function 'nameok': imapd.c:3440:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3440 | for (s = ref, t = oktab[i]; | ^ imapd.c:3440:23: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3440 | for (s = ref, t = oktab[i]; | ^ imapd.c:3450:12: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3450 | for (s = name, t = oktab[i]; | ^ imapd.c:3450:22: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 3450 | for (s = name, t = oktab[i]; | ^ imapd.c: In function 'imap_responder': imapd.c:3556:70: warning: pointer targets in returning 'unsigned char *' from a function with return type 'char *' differ in signedness [-Wpointer-sign] 3556 | if (!(t = (unsigned char *) strchr ((char *) resp,'\012'))) return flush (); | ^~~~~~~~ imapd.c: In function 'proxycopy': imapd.c:3586:35: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] 3586 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1653:59: note: expected 'unsigned char *' but argument is of type 'char *' 1653 | long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imapd.c:3586:69: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] 3586 | mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) | ^~~~~~~~ | | | char * In file included from ../c-client/c-client.h:33, from imapd.c:29: ../c-client/mail.h:1652:55: note: expected 'unsigned char *' but argument is of type 'char *' 1652 | long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); | ~~~~~~~~~~~~~~~^~~~~~~~ imapd.c: In function 'append_msg': imapd.c:3690:7: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] 3690 | t = ++arg; /* pointer to flag list contents */ | ^ imapd.c:3697:47: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] 3697 | if (*arg == '"') *date = ad->date = cpystr (snarf (&arg)); | ^~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/c-client.h:38, from imapd.c:29: ../c-client/misc.h:80:27: note: expected 'const char *' but argument is of type 'unsigned char *' 80 | char *cpystr (const char *string); | ~~~~~~~~~~~~^~~~~~ imapd.c:3702:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3702 | else if (!(i = strtoul (arg+1,&t,10))) | ~~~^~ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c:3710:14: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] 3710 | slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf)); | ~~^~~~~ | | | unsigned char * imapd.c:1567:19: note: expected 'char *' but argument is of type 'unsigned char *' 1567 | void slurp (char *s,int n) | ~~~~~~^ imapd.c:3711:19: warning: pointer targets in passing argument 1 of 'strchr' differ in signedness [-Wpointer-sign] 3711 | if (strchr (ad->arg,'\012')) { | ~~^~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:230:34: note: expected 'const char *' but argument is of type 'unsigned char *' 230 | extern char *strchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ imapd.c:3713:22: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] 3713 | if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0'; | ~~^~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:340:39: note: expected 'char * restrict' but argument is of type 'unsigned char *' 340 | extern char *strtok (char *__restrict __s, const char *__restrict __delim) | ~~~~~~~~~~~~~~~~~^~~ imapd.c:3715:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 3715 | if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') && | ~~^~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:391:35: note: expected 'const char *' but argument is of type 'unsigned char *' 391 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ imapd.c:3719:63: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] 3719 | if (ad->arg[j] == '{') litplus = strtoul (ad->arg + j + 1,NIL,10); | ~~~~~~~~~~~~^~~ | | | unsigned char * In file included from ../c-client/osdep.h:35, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:180:58: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 180 | extern unsigned long int strtoul (const char *__restrict __nptr, | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ imapd.c: In function 'mm_login': imapd.c:4049:21: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 4049 | strncpy (password,pass,256); /* and password */ | ^~~~ | | | unsigned char * In file included from /usr/include/features.h:488, from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string_fortified.h:92:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccx8X7e3.ltrans2.ltrans.o: in function `ssl_onceonlyinit.part.0': /usr/src/RPM/BUILD/imap-2004g/imapd/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/imapd' cd mailutil;make make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c In file included from ../c-client/osdep.h:60, from mailutil.c:26: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from mailutil.c:26: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | mailutil.c: In function 'mbxcopy': mailutil.c:407:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 407 | fgets (tmp,MAILTMPLEN-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailutil.c: In function 'mm_login': mailutil.c:664:5: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 664 | fgets (username,NETMAXUSER-1,stdin); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/cc6OTNkD.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2004g/mailutil/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/mailutil' cd mlock;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:52:3: warning: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 52 | write (1,"?",1); /* indicate "impossible" failure */ | ^~~~~ | fwrite mlock.c:53:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 53 | _exit (code); /* sayonara */ | ^~~~~ mlock.c:53:3: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] mlock.c: In function 'main': mlock.c:68:31: warning: implicit declaration of function 'getegid'; did you mean 'getgrgid'? [-Wimplicit-function-declaration] 68 | if (!grp || (grp->gr_gid != getegid ())) die ("not setgid mail",EX_USAGE); | ^~~~~~~ | getgrgid mlock.c:71:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 71 | len = strlen (argv[2]); /* make buffers */ | ^~~~~~ mlock.c:35:1: note: include '' or provide a declaration of 'strlen' 34 | #include +++ |+#include 35 | mlock.c:71:9: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 71 | len = strlen (argv[2]); /* make buffers */ | ^~~~~~ mlock.c:71:9: note: include '' or provide a declaration of 'strlen' mlock.c:91:9: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] 91 | t = time (0); /* get the time now */ | ^~~~ mlock.c:100:30: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] 100 | (unsigned long) getpid ()); | ^~~~~~ mlock.c:102:5: warning: implicit declaration of function 'gethostname'; did you mean 'gethostbyname'? [-Wimplicit-function-declaration] 102 | gethostname (hitch + len,MAXHOSTNAMELEN); | ^~~~~~~~~~~ | gethostbyname mlock.c:107:7: warning: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 107 | close (ld); /* close the hitching-post */ | ^~~~~ | pclose mlock.c:108:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] 108 | link (hitch,lock); /* tie hitching-post to lock, ignore failure */ | ^~~~ mlock.c:110:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 110 | unlink (hitch); /* flush hitching post */ | ^~~~~~ mlock.c:120:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 120 | if (tries--) sleep (1); /* sleep 1 second and try again */ | ^~~~~ mlock.c:123:9: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] 123 | _exit (EX_CANTCREAT); | ^~~~~ mlock.c:128:3: warning: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 128 | read (0,tmp,1); /* read continue signal from parent */ | ^~~~ | fread `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/mlock' cd dmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c In file included from ../c-client/osdep.h:60, from dmail.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from dmail.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | dmail.c: In function 'deliver': dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 211 | if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) | ^~~~~~~~~~~~~~~~~~~~ | | | char * In file included from dmail.c:30: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dmail.c:211:39: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 211 | if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from dmail.c:29: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dmail.c: In function 'mm_notify': dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 533 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from dmail.c:30: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ dmail.c:533:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 533 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from dmail.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ dmail.c: In function 'file_string_setpos': dmail.c:115:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 115 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccmyUhFl.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2004g/dmail/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/dmail' cd tmail;make || true make[2]: Entering directory '/usr/src/RPM/BUILD/imap-2004g/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c In file included from ../c-client/osdep.h:60, from tmail.c:29: ../c-client/flocksim.h:22: warning: "flock" redefined 22 | #define flock flocksim /* use ours instead of theirs */ | In file included from tmail.c:29: ../c-client/osdep.h:52: note: this is the location of the previous definition 52 | #define flock safe_flock | tmail.c: In function 'deliver': tmail.c:260:5: warning: implicit declaration of function 'initgroups'; did you mean 'getgroups'? [-Wimplicit-function-declaration] 260 | initgroups (user,pwd->pw_gid); | ^~~~~~~~~~ | getgroups tmail.c: In function 'getusername': tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 567 | if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; | ^~~~~~~~~~~~~~~ | | | char * In file included from tmail.c:30: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ tmail.c:567:34: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] 567 | if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from tmail.c:29: /usr/include/string.h:140:50: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ tmail.c: In function 'mm_notify': tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] 664 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~ | | | char * In file included from tmail.c:30: ../c-client/misc.h:78:38: note: expected 'unsigned char *' but argument is of type 'char *' 78 | unsigned char *ucase (unsigned char *string); | ~~~~~~~~~~~~~~~^~~~~~ tmail.c:664:16: warning: pointer targets in passing argument 1 of 'strcmp' differ in signedness [-Wpointer-sign] 664 | if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | unsigned char * In file included from ../c-client/osdep.h:36, from tmail.c:29: /usr/include/string.h:140:32: note: expected 'const char *' but argument is of type 'unsigned char *' 140 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ tmail.c: In function 'file_string_setpos': tmail.c:116:5: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tmail.c: In function 'deliver': tmail.c:259:5: warning: ignoring return value of 'setgid' declared with attribute 'warn_unused_result' [-Wunused-result] 259 | setgid (pwd->pw_gid); /* initialize groups */ | ^~~~~~~~~~~~~~~~~~~~ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ld: /usr/src/tmp/ccMTiNef.ltrans0.ltrans.o: in function `main': /usr/src/RPM/BUILD/imap-2004g/tmail/../c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[2]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g/tmail' make[1]: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' make: Leaving directory '/usr/src/RPM/BUILD/imap-2004g' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.63730 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/uw-imap-buildroot + : + /bin/rm -rf -- /usr/src/tmp/uw-imap-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd imap-2004g + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/man/man8 + install -p -m644 src/imapd/imapd.8 src/ipopd/ipopd.8 /usr/src/tmp/uw-imap-buildroot/usr/share/man/man8 + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/sbin + install -p -m755 ipopd/ipop2d ipopd/ipop3d imapd/imapd /usr/src/tmp/uw-imap-buildroot/usr/sbin + ln -s imapd /usr/src/tmp/uw-imap-buildroot/usr/sbin/rimapd + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/lib64 + install -p -m0644 /usr/src/RPM/SOURCES/uw-imap-2001a-README.IMAPS.ALT README.IMAPS + rm -f docs/SSLBUILD.ssl + mv docs/internal.txt . + mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./c-client/c-client.h ./c-client/dummy.h ./c-client/env.h ./c-client/env_unix.h ./c-client/fdstring.h ./c-client/flockcyg.h ./c-client/flocksim.h ./c-client/flstring.h ./c-client/fs.h ./c-client/ftl.h ./c-client/imap4r1.h ./c-client/linkage.h ./c-client/mail.h ./c-client/mbx.h ./c-client/mh.h ./c-client/misc.h ./c-client/mx.h ./c-client/netmsg.h ./c-client/newsrc.h ./c-client/nl.h ./c-client/nntp.h ./c-client/os_a32.h ./c-client/os_a41.h ./c-client/os_aix.h ./c-client/os_aos.h ./c-client/os_art.h ./c-client/os_asv.h ./c-client/os_aux.h ./c-client/os_bsd.h ./c-client/os_bsf.h ./c-client/os_bsi.h ./c-client/os_cvx.h ./c-client/os_cyg.h ./c-client/os_d-g.h ./c-client/os_do4.h ./c-client/os_drs.h ./c-client/os_dyn.h ./c-client/os_hpp.h ./c-client/os_isc.h ./c-client/os_lnx.h ./c-client/os_lyn.h ./c-client/os_mct.h ./c-client/os_mnt.h ./c-client/os_nto.h ./c-client/os_nxt.h ./c-client/os_os4.h ./c-client/os_osf.h ./c-client/os_osx.h ./c-client/os_ptx.h ./c-client/os_pyr.h ./c-client/os_qnx.h ./c-client/os_s40.h ./c-client/os_sc5.h ./c-client/os_sco.h ./c-client/os_sgi.h ./c-client/os_shp.h ./c-client/os_slx.h ./c-client/os_soln.h ./c-client/os_solo.h ./c-client/os_sos.h ./c-client/os_sun.h ./c-client/os_sv2.h ./c-client/os_sv4.h ./c-client/os_ult.h ./c-client/os_vu2.h ./c-client/osdep.h ./c-client/pseudo.h ./c-client/rfc822.h ./c-client/smtp.h ./c-client/sslio.h ./c-client/tcp.h ./c-client/tcp_unix.h ./c-client/unix.h ./c-client/utf8.h /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./src/osdep/tops-20/shortsym.h /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap + install -p -m644 ./c-client/c-client.a /usr/src/tmp/uw-imap-buildroot/usr/lib64/libc-client.a + install -p -m640 -D /usr/src/RPM/SOURCES/imap.pamd /usr/src/tmp/uw-imap-buildroot/etc/pam.d/imap + install -p -m640 -D /usr/src/RPM/SOURCES/imap.pamd /usr/src/tmp/uw-imap-buildroot/etc/pam.d/pop + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-imap.xinetd + d=uw-imap + install -p -m640 -D /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-imap + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop3.xinetd + d=uw-pop3 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop3 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-simap.xinetd + d=uw-simap + install -p -m640 -D /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-simap + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-spop3.xinetd + d=uw-spop3 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-spop3 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop2.xinetd + d=uw-pop2 + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop2 + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-imaps.xinetd + d=uw-imaps + install -p -m640 -D /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-imaps + for f in /usr/src/RPM/SOURCES/uw-imap.xinetd /usr/src/RPM/SOURCES/uw-pop3.xinetd /usr/src/RPM/SOURCES/uw-simap.xinetd /usr/src/RPM/SOURCES/uw-spop3.xinetd /usr/src/RPM/SOURCES/uw-pop2.xinetd /usr/src/RPM/SOURCES/uw-imaps.xinetd /usr/src/RPM/SOURCES/uw-pop3s.xinetd + d=uw-pop3s.xinetd + d=uw-pop3s + install -p -m640 -D /usr/src/RPM/SOURCES/uw-pop3s.xinetd /usr/src/tmp/uw-imap-buildroot/etc/xinetd.d/uw-pop3s + mkdir -p /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs + touch /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/imapd.pem /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/ipop3d.pem + chmod 600 /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/imapd.pem /usr/src/tmp/uw-imap-buildroot/var/lib/ssl/certs/ipop3d.pem + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/uw-imap-buildroot (auto) Verifying and fixing files in /usr/src/tmp/uw-imap-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/uw-imap-buildroot/ (default) Compressing files in /usr/src/tmp/uw-imap-buildroot (auto) Adjusting library links in /usr/src/tmp/uw-imap-buildroot ./var/lib: (from :0) ./usr/lib64: (from :0) Verifying ELF objects in /usr/src/tmp/uw-imap-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Processing files: uw-imap-2004g-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.58110 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + cp -prL README CPYRIGHT docs/BUILD docs/CONFIG docs/FAQ.html docs/FAQ.txt docs/IPv6.txt docs/RELNOTES docs/SSLBUILD docs/Y2K docs/bugs.txt docs/calendar.txt docs/commndmt.txt docs/draft docs/drivers.txt docs/formats.txt docs/imaprc.txt docs/locking.txt docs/md5.txt docs/naming.txt docs/rfc /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + cp -prL README.IMAPS /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-2004g + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0SwjxQ find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kaESoB find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.BRRSas find-scriptlet-requires: FINDPACKAGE-COMMANDS: install sh Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.R4VLyG Adding an insignificant disttag (z) to Conflicts: IMAPD > uw-imap:2004g-alt5 Adding an insignificant disttag (z) to Conflicts: POP3D > uw-imap:2004g-alt5 Provides: IMAPD = uw-imap:2004g-alt5, POP3D = uw-imap:2004g-alt5, pam0(imap), pam0(pop) Requires: /var/lib/ssl, pam >= 0.72-ipl11mdk, /etc/pam.d, /etc/xinetd.d, /lib64/ld-linux-x86-64.so.2, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.15)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.33)(64bit), libc.so.6(GLIBC_2.34)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.1.1()(64bit) >= set:qmvV2AQS14vAhRCFULgjcGjFG60ZCqBkxUQFfd, libcrypto.so.1.1(OPENSSL_1_1_0)(64bit), libpam(substack), libpam.so.0()(64bit) >= set:jg5sOFGjKLOi2JaZk, libpam.so.0(LIBPAM_1.0)(64bit), libssl.so.1.1()(64bit) >= set:mhh50mMzRSeAZAB1P5Zz5Z1du0nykrCRjleWT20mx4lyQRK2ZiSXRy8KvpXdUuoQi44SSoi6p1, libssl.so.1.1(OPENSSL_1_1_0)(64bit), pam0(system-auth), rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /var/lib/ssl, /bin/sh, coreutils, sh, /sbin/service Requires(postun): /bin/sh, /sbin/service Conflicts: IMAPD < uw-imap:2004g-alt5, IMAPD > uw-imap:2004g-alt5:z, POP3D < uw-imap:2004g-alt5, POP3D > uw-imap:2004g-alt5:z, courier-imap, cyrus-imapd Obsoletes: imap < 1:2001a-alt1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.u8XvSS Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2004g-alt5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.96996 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + DOCDIR=/usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + export DOCDIR + rm -rf /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + /bin/mkdir -p /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + cp -prL internal.txt /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + chmod -R go-w /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + chmod -R a+rX /usr/src/tmp/uw-imap-buildroot/usr/share/doc/uw-imap-devel-2004g + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UBqXzM find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.c6DO3k find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h: cpp failed, trying c++ mode x86_64-alt-linux-cpp: fatal error: cannot execute 'cc1plus': execvp: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a32.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a41.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_a41.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_art.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_art.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_asv.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_asv.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h:27:10: fatal error: machine/endian.h: No such file or directory 27 | #include /* needed for htons() prototypes */ | ^~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_drs.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_drs.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_hpp.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_hpp.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_isc.h:23:10: fatal error: sys/bsdtypes.h: No such file or directory 23 | #include | ^~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_isc.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_mnt.h:30:10: fatal error: portlib.h: No such file or directory 30 | #include | ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_mnt.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_nxt.h:21:10: fatal error: libc.h: No such file or directory 21 | #include | ^~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_nxt.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_os4.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_os4.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_ptx.h:31:10: fatal error: stropts.h: No such file or directory 31 | #include /* needed in daemons */ | ^~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_ptx.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h:30:10: fatal error: /usr/include/unix.h: No such file or directory 30 | #include | ^~~~~~~~~~~~~~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sc5.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sc5.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sco.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sco.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sgi.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sgi.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_shp.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_shp.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sos.h:30:10: fatal error: ustat.h: No such file or directory 30 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sos.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv2.h:31:10: fatal error: ustat.h: No such file or directory 31 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv2.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv4.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_sv4.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_soln.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_soln.h: cpp failed /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_solo.h:32:10: fatal error: ustat.h: No such file or directory 32 | #include | ^~~~~~~~~ compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_solo.h: cpp failed Adding an insignificant disttag (z) to Conflicts: uw-imap > 2004g-alt5 Provides: libc-client-devel = 2004g-alt5 Conflicts: uw-imap < 2004g-alt5, uw-imap > 2004g-alt5:z Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iJfExG Processing files: uw-imap-debuginfo-2004g-alt5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1qB2Br find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.AWOqks find-requires: running scripts (debuginfo) Requires: uw-imap = 2004g-alt5, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.1.1), debug64(libpam.so.0), debug64(libssl.so.1.1) Adding to uw-imap-debuginfo a strict dependency on uw-imap Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-2004g-alt5.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-devel-2004g-alt5.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-debuginfo-2004g-alt5.x86_64.rpm (w2.lzdio) 120.10user 5.99system 1:43.29elapsed 122%CPU (0avgtext+0avgdata 79124maxresident)k 0inputs+0outputs (0major+2410663minor)pagefaults 0swaps 125.28user 11.33system 1:59.62elapsed 114%CPU (0avgtext+0avgdata 104780maxresident)k 0inputs+0outputs (30500major+2723042minor)pagefaults 0swaps --- uw-imap-2004g-alt5.x86_64.rpm.repo 2021-10-16 12:19:15.000000000 +0000 +++ uw-imap-2004g-alt5.x86_64.rpm.hasher 2022-01-03 02:25:25.227397183 +0000 @@ -124,5 +124,5 @@ File: /etc/xinetd.d/uw-spop3 100640 root:root 7a69e44e68fa358d1a4c35993d16a825 -File: /usr/sbin/imapd 100755 root:root c723e384fa51a7f0c9dc8b6b6b580433 -File: /usr/sbin/ipop2d 100755 root:root 80d682d23189092d9585f10f86cae104 -File: /usr/sbin/ipop3d 100755 root:root 97fc72f49dd6af0e8ae970e472802c4f +File: /usr/sbin/imapd 100755 root:root 54ff581089a06445ff42c31210159e99 +File: /usr/sbin/ipop2d 100755 root:root adc30f2ade901bd684b43d9d25953ed2 +File: /usr/sbin/ipop3d 100755 root:root 24beb787fee036c0b20581514727d381 File: /usr/sbin/rimapd 120777 root:root imapd @@ -188,2 +188,2 @@ File: /var/lib/ssl/certs/ipop3d.pem 100600 root:root -RPMIdentity: e6f4f99486ece95280ade4370b6eab9e738959f61fab0d9a5fe316c307c50ce4970622ebe458bbd8cb33b6845c10443264759b270c9970c230c5e51fbba21988 +RPMIdentity: b1f52faaec3248c96d66fce80b3e2dd4d18cb581fe6c749795de60e4d4ae945224bcf77977ae37d43f63884d1956b4c1f758d1a05d50261416ef3bbb9a531d08 --- uw-imap-debuginfo-2004g-alt5.x86_64.rpm.repo 2021-10-16 12:19:15.000000000 +0000 +++ uw-imap-debuginfo-2004g-alt5.x86_64.rpm.hasher 2022-01-03 02:25:25.464400891 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/00 40755 root:root -/usr/lib/debug/.build-id/00/f982f84e7ef97158f24fe7c09fb49f423f61d3 120777 root:root ../../../../sbin/ipop3d -/usr/lib/debug/.build-id/00/f982f84e7ef97158f24fe7c09fb49f423f61d3.debug 120777 root:root ../../usr/sbin/ipop3d.debug -/usr/lib/debug/.build-id/34 40755 root:root -/usr/lib/debug/.build-id/34/aa98243dab06bb19346da128ea793487e9b5e4 120777 root:root ../../../../sbin/ipop2d -/usr/lib/debug/.build-id/34/aa98243dab06bb19346da128ea793487e9b5e4.debug 120777 root:root ../../usr/sbin/ipop2d.debug -/usr/lib/debug/.build-id/db 40755 root:root -/usr/lib/debug/.build-id/db/f06978c477ed11697f16aef7e4028c6d3d0738 120777 root:root ../../../../sbin/imapd -/usr/lib/debug/.build-id/db/f06978c477ed11697f16aef7e4028c6d3d0738.debug 120777 root:root ../../usr/sbin/imapd.debug +/usr/lib/debug/.build-id/75 40755 root:root +/usr/lib/debug/.build-id/75/580015f1314c736080678e74f6b94a5e3001bc 120777 root:root ../../../../sbin/ipop2d +/usr/lib/debug/.build-id/75/580015f1314c736080678e74f6b94a5e3001bc.debug 120777 root:root ../../usr/sbin/ipop2d.debug +/usr/lib/debug/.build-id/9f 40755 root:root +/usr/lib/debug/.build-id/9f/2f60c5cff4c927ed695fec5520bcf4f039b43c 120777 root:root ../../../../sbin/ipop3d +/usr/lib/debug/.build-id/9f/2f60c5cff4c927ed695fec5520bcf4f039b43c.debug 120777 root:root ../../usr/sbin/ipop3d.debug +/usr/lib/debug/.build-id/f9 40755 root:root +/usr/lib/debug/.build-id/f9/8217353912ee14bb7851cef2da941cd1812565 120777 root:root ../../../../sbin/imapd +/usr/lib/debug/.build-id/f9/8217353912ee14bb7851cef2da941cd1812565.debug 120777 root:root ../../usr/sbin/imapd.debug /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root @@ -109,14 +109,14 @@ Provides: uw-imap-debuginfo = 2004g-alt5:sisyphus+287342.100.1.1 -File: /usr/lib/debug/.build-id/00 40755 root:root -File: /usr/lib/debug/.build-id/00/f982f84e7ef97158f24fe7c09fb49f423f61d3 120777 root:root ../../../../sbin/ipop3d -File: /usr/lib/debug/.build-id/00/f982f84e7ef97158f24fe7c09fb49f423f61d3.debug 120777 root:root ../../usr/sbin/ipop3d.debug -File: /usr/lib/debug/.build-id/34 40755 root:root -File: /usr/lib/debug/.build-id/34/aa98243dab06bb19346da128ea793487e9b5e4 120777 root:root ../../../../sbin/ipop2d -File: /usr/lib/debug/.build-id/34/aa98243dab06bb19346da128ea793487e9b5e4.debug 120777 root:root ../../usr/sbin/ipop2d.debug -File: /usr/lib/debug/.build-id/db 40755 root:root -File: /usr/lib/debug/.build-id/db/f06978c477ed11697f16aef7e4028c6d3d0738 120777 root:root ../../../../sbin/imapd -File: /usr/lib/debug/.build-id/db/f06978c477ed11697f16aef7e4028c6d3d0738.debug 120777 root:root ../../usr/sbin/imapd.debug -File: /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root 8ef3820eddea2446236d375d3e4e63d8 -File: /usr/lib/debug/usr/sbin/ipop2d.debug 100644 root:root 0b72f060e562660d77f4c1ca5ce1189e -File: /usr/lib/debug/usr/sbin/ipop3d.debug 100644 root:root ef7e51153a0f10bef37c3234815c5296 +File: /usr/lib/debug/.build-id/75 40755 root:root +File: /usr/lib/debug/.build-id/75/580015f1314c736080678e74f6b94a5e3001bc 120777 root:root ../../../../sbin/ipop2d +File: /usr/lib/debug/.build-id/75/580015f1314c736080678e74f6b94a5e3001bc.debug 120777 root:root ../../usr/sbin/ipop2d.debug +File: /usr/lib/debug/.build-id/9f 40755 root:root +File: /usr/lib/debug/.build-id/9f/2f60c5cff4c927ed695fec5520bcf4f039b43c 120777 root:root ../../../../sbin/ipop3d +File: /usr/lib/debug/.build-id/9f/2f60c5cff4c927ed695fec5520bcf4f039b43c.debug 120777 root:root ../../usr/sbin/ipop3d.debug +File: /usr/lib/debug/.build-id/f9 40755 root:root +File: /usr/lib/debug/.build-id/f9/8217353912ee14bb7851cef2da941cd1812565 120777 root:root ../../../../sbin/imapd +File: /usr/lib/debug/.build-id/f9/8217353912ee14bb7851cef2da941cd1812565.debug 120777 root:root ../../usr/sbin/imapd.debug +File: /usr/lib/debug/usr/sbin/imapd.debug 100644 root:root eabc968d0581d0efe73c280483cc49fc +File: /usr/lib/debug/usr/sbin/ipop2d.debug 100644 root:root f1b31abb01a2cf745a71634fd2399d20 +File: /usr/lib/debug/usr/sbin/ipop3d.debug 100644 root:root 26565f0be07b37c082241df2fdbd26aa File: /usr/lib/debug/usr/sbin/rimapd.debug 120777 root:root imapd.debug @@ -210,2 +210,2 @@ File: /usr/src/debug/imap-2004g/ipopd/ipop3d.c 100644 root:root 3474d88eb30d74d245d876aa3bad54d0 -RPMIdentity: e28d9f6b1c6e6a72d59ed01d53978934051aab2c95f2ee8e9219e9cce2ba541cac9d9e74f867d279ea3d12a7bb824313b1df9127a58f70280e7c898bbb1eccf7 +RPMIdentity: 39e98adda7c59bf57d1fa69d2aa74511cf91b56fcc2db6325eced08a3d8d3f8baa0632d6b516c0c1c1bcce1aed54e6e42ea028cdcd4e7a195bf590b6ff9b891f --- uw-imap-devel-2004g-alt5.x86_64.rpm.repo 2021-10-16 12:19:16.000000000 +0000 +++ uw-imap-devel-2004g-alt5.x86_64.rpm.hasher 2022-01-03 02:25:25.690404427 +0000 @@ -160,5 +160,5 @@ File: /usr/include/uw-imap/utf8.h 100644 root:root df578386fa70f6c3a1901073fe4a1055 -File: /usr/lib64/libc-client.a 100644 root:root 0831f04452ef1597a60336c16428949d +File: /usr/lib64/libc-client.a 100644 root:root 137f56f407a7447608ca7198edba0c59 File: /usr/share/doc/uw-imap-devel-2004g 40755 root:root File: /usr/share/doc/uw-imap-devel-2004g/internal.txt 100644 root:root 1706a699de59a7fce89619f6f2932106 -RPMIdentity: 2b6d504b5b42269aec5de2a05ae024fb160eff4abc48eb29fc8c0adbec1db2981f3333a3621b3cccb2feddb247f6cc5438aa1f1153d350909207101b1299c850 +RPMIdentity: f0e5d69b6df45704236f64ef07cf4deca1ff39738658d682f151a6792b742970fcbd4e97cdbb2d7a77c9d4b3b3c830ca8cb204cae1b0bdbbb37ed87fa28de7eb