<86>Apr 21 01:49:05 userdel[74944]: delete user 'rooter' <86>Apr 21 01:49:05 userdel[74944]: removed group 'rooter' owned by 'rooter' <86>Apr 21 01:49:05 groupadd[74965]: group added to /etc/group: name=rooter, GID=663 <86>Apr 21 01:49:05 groupadd[74965]: group added to /etc/gshadow: name=rooter <86>Apr 21 01:49:05 groupadd[74965]: new group: name=rooter, GID=663 <86>Apr 21 01:49:05 useradd[74976]: new user: name=rooter, UID=663, GID=663, home=/root, shell=/bin/bash <86>Apr 21 01:49:05 userdel[74996]: delete user 'builder' <86>Apr 21 01:49:05 userdel[74996]: removed group 'builder' owned by 'builder' <86>Apr 21 01:49:05 userdel[74996]: removed shadow group 'builder' owned by 'builder' <86>Apr 21 01:49:05 groupadd[75011]: group added to /etc/group: name=builder, GID=664 <86>Apr 21 01:49:05 groupadd[75011]: group added to /etc/gshadow: name=builder <86>Apr 21 01:49:05 groupadd[75011]: new group: name=builder, GID=664 <86>Apr 21 01:49:05 useradd[75019]: new user: name=builder, UID=664, GID=664, home=/usr/src, shell=/bin/bash <13>Apr 21 01:49:15 rpmi: libcom_err-1.42.13-alt2 1449075846 installed <13>Apr 21 01:49:15 rpmi: libverto-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:49:15 rpmi: libverto-devel-0.2.6-alt1_6 1455633234 installed <13>Apr 21 01:49:15 rpmi: libcom_err-devel-1.42.13-alt2 1449075846 installed <13>Apr 21 01:49:15 rpmi: libkeyutils-1.5.10-alt0.M80P.2 p8+216694.100.6.1 1547827915 installed <13>Apr 21 01:49:15 rpmi: ca-certificates-2016.02.25-alt1 1462368370 installed <13>Apr 21 01:49:15 rpmi: libcrypto10-1.0.2n-alt0.M80P.1 1512766129 installed <13>Apr 21 01:49:15 rpmi: rpm-macros-pam0-1.3.0-alt1 1465951470 installed <13>Apr 21 01:49:15 rpmi: libpam0-devel-1.3.0-alt1 1465951439 installed <86>Apr 21 01:49:15 groupadd[85370]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 21 01:49:15 groupadd[85370]: group added to /etc/gshadow: name=_keytab <86>Apr 21 01:49:15 groupadd[85370]: new group: name=_keytab, GID=499 <13>Apr 21 01:49:15 rpmi: libkrb5-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:49:15 rpmi: libssl10-1.0.2n-alt0.M80P.1 1512766129 installed <86>Apr 21 01:49:15 groupadd[85378]: group added to /etc/group: name=sasl, GID=498 <86>Apr 21 01:49:15 groupadd[85378]: group added to /etc/gshadow: name=sasl <86>Apr 21 01:49:15 groupadd[85378]: new group: name=sasl, GID=498 <13>Apr 21 01:49:15 rpmi: libsasl2-3-2.1.26-alt7 1479477445 installed <13>Apr 21 01:49:15 rpmi: libldap-2.4.45-alt1.M80P.1 1513980376 installed <13>Apr 21 01:49:15 rpmi: libkrb5-ldap-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:49:15 rpmi: libkrb5-devel-1.14.6-alt1.M80P.1 1525355673 installed <13>Apr 21 01:49:15 rpmi: libssl-devel-1.0.2n-alt0.M80P.1 1512766129 installed Installing uw-imap-2004g-alt3.1.qa1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.50582 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + echo Using release number alt3.1.qa1 Using release number alt3.1.qa1 + cd /usr/src/RPM/BUILD + rm -rf imap-2004g + echo 'Source #0 (imap-2004g.tar.bz2):' Source #0 (imap-2004g.tar.bz2): + /bin/bzip2 -dc /usr/src/RPM/SOURCES/imap-2004g.tar.bz2 + /bin/tar -xf - + 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 #10 (uw-imap-2001a-debian-portability.patch):' Patch #10 (uw-imap-2001a-debian-portability.patch): + /usr/bin/patch -p1 -b --suffix .deb-port patching file src/c-client/auth_md5.c + echo 'Patch #11 (uw-imap-2001a-debian-nonull.patch):' Patch #11 (uw-imap-2001a-debian-nonull.patch): + /usr/bin/patch -p1 -b --suffix .deb-nonull 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 #13 (uw-imap-2001a-overflow.patch):' Patch #13 (uw-imap-2001a-overflow.patch): + /usr/bin/patch -p1 -b --suffix .overflow patching file src/c-client/rfc822.c Hunk #1 succeeded at 575 with fuzz 2 (offset -35 lines). + echo 'Patch #4 (uw-imap-2001a-alt7-flocksim.patch):' Patch #4 (uw-imap-2001a-alt7-flocksim.patch): + /usr/bin/patch -p1 -b --suffix .flock 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 + /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.50582 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd imap-2004g + '[' -n '' ']' + NPROCS=8 + make -j8 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: Entering directory `/usr/src/RPM/BUILD/imap-2004g' 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' 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 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. 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 -Wall -Wno-parentheses -g -O2 -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 -Wall -Wno-parentheses -g -O2 -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/stdlib.h:24:0, from osdep.h:35, from osdep.c:23: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from osdep.h:60:0, from osdep.c:23: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from osdep.c:23:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ In file included from osdep.c:40:0: nl_unix.c: In function 'strcrlfcpy': nl_unix.c:41:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: pmatch.c: In function 'pmatch_full': pmatch.c:33:43: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ pmatch.c:33:43: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, 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 differ in signedness [-Wpointer-sign] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ auth_md5.c:189:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] lusr = *s ? lcase (cpystr (user)) : NIL; ^ In file included from osdep.c:35:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from auths.c:1:0, 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] for (s = strtok (buf,"\015\012"),lret = NIL; s; ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ In file included from auths.c:1:0, from env_unix.c:141, from osdep.c:41: auth_md5.c:192:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = strtok (buf,"\015\012"),lret = NIL; s; ^ auth_md5.c:193:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok (NIL,"\015\012")) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:195:45: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:195:45: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, from env_unix.c:141, from osdep.c:41: auth_md5.c:195:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:197:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:197:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:197:15: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:197:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:197:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:197:15: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:197:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:197:15: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:197:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:197:15: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, from env_unix.c:141, from osdep.c:41: auth_md5.c:197:38: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ In file included from osdep.c:35:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:198:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:198:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:198:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:41: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:198:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:41: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ In file included from osdep.h:36:0, from osdep.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from osdep.c:23: auth_md5.c:198:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:41: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:39: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:198:41: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:198:41: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, 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] if (!ret && lret) ret = cpystr (lret); ^ In file included from osdep.c:35:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from osdep.c:41:0: 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] struct passwd *pw = getpwnam (user); ^ In file included from osdep.c:34:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^ In file included from osdep.c:41:0: env_unix.c:504:41: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:35:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from osdep.c:41:0: env_unix.c:504:33: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:35:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:41:0: env_unix.c:504:22: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:34:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name) __nonnull ((1)); ^ In file included from osdep.c:41:0: env_unix.c: In function 'valpwd': env_unix.c:530:16: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] ret = pwuser (user); /* validated, get passwd entry for user */ ^ env_unix.c:497:23: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (pw = pwuser (user)) {/* can get user? */ ^ env_unix.c:497:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c:538:44: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ env_unix.c:497:23: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); ^ env_unix.c:497:23: note: expected 'unsigned char *' but argument is of type 'char *' 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] return pw_login (pwuser (user),authuser,user,NIL,argc,argv); ^ env_unix.c:497:23: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (user && auser && *auser && compare_cstring (auser,user)) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:626:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:629:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:629:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c: In function 'mailboxfile': env_unix.c:907:47: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:907:54: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:917:63: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:917:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:937:55: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:937:59: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:951:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:951:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:965:27: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:965:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: 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] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1397:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1410:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1410:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1411:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1411:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1413:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1413:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1415:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1415:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1419:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1419:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1427:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1427:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1428:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1428:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1430:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1430:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1432:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1432:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1436:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1436:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1446:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1446:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1450:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1450:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1454:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1454:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1458:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1458:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1462:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1462:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1466:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1466:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1470:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1470:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1474:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1474:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1478:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1478:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1482:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1482:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1484:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1484:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1487:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1487:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1489:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1489:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1491:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1491:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1493:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1493:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1495:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1495:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1497:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1497:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1499:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1499:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1501:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1501:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1503:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1503:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1505:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1505:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1507:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1507:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1509:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1509:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1511:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1511:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1513:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1513:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1515:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1515:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1517:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1517:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1519:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1519:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1522:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1522:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1524:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1524:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1526:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1526:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1528:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1528:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1530:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1530:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1532:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1532:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1534:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1534:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1536:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1536:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1538:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1538:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1540:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1540:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1542:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1542:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1544:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1544:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1546:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1546:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1548:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1548:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1550:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1550:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1552:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1552:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1554:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1554:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1558:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1558:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1560:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1560:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1563:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1563:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1565:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1565:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1567:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1567:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1569:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1569:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1571:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1571:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) { ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1573:30: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1573:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1574:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1574:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1576:35: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1576:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1579:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1579:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1581:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1581:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1584:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1584:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1586:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1586:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1588:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: env_unix.c:1588:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:41:0: 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] ret = (void *) alarm (0); ^ env_unix.c:1638:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] if ((unsigned int) data) alarm ((unsigned int) data); ^ In file included from tcp_unix.c:21:0, from osdep.c:43: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:157:30: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (he = gethostbyname (lcase (strcpy (tmp,name))))) { ^ In file included from osdep.c:35:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from tcp_unix.c:21:0, from osdep.c:43: ip_unix.c:157:23: warning: pointer targets in passing argument 1 of 'gethostbyname' differ in signedness [-Wpointer-sign] (he = gethostbyname (lcase (strcpy (tmp,name))))) { ^ In file included from osdep.c:30:0: /usr/include/netdb.h:144:24: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct hostent *gethostbyname (const char *__name); ^ osdep.c: In function 'ssl_start_work': osdep.c:450:39: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] else err = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:265:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:450:44: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] else err = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:265:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ In file included from auths.c:1:0, 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] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ In file included from osdep.c:41:0: env_unix.c: In function 'pw_login': env_unix.c:644:37: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^ `cat CCTYPE` -c `cat CFLAGS` mail.c In file included from osdep.h:60:0, from mail.c:25: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mail.c:25:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mail.c: In function 'mail_parameters': mail.c:344:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:349:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:354:49: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:362:25: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:362:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_valid_net_parse_work': mail.c:711:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:711:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:712:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:713:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:713:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:715:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:715:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:721:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:721:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:722:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:722:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:723:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:723:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:724:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:724:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:725:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:725:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:726:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:726:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:727:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:727:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) mb->tlsflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:728:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:728:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:730:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:730:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:732:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:732:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl")) mb->sslflag = T; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:733:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:733:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:736:46: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:736:48: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:739:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:739:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:740:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:740:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:741:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:741:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:742:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:742:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:743:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:743:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:744:11: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:745:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:745:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:746:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:746:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:747:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:747:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:748:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:748:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:750:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:750:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_open': mail.c:1151:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (stream->dtb && mail_uid_sequence (stream,sequence) && ^ In file included from mail.c:24:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (stream->dtb && mail_sequence (stream,sequence) && ^ In file included from mail.c:24:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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 differ in signedness [-Wpointer-sign] 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] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from mail.c:24:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ 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] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from mail.c:24:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ 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] if (!(section && *section && (b = mail_body (stream,msgno,section)))) ^ In file included from mail.c:24:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ 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] if (!(b = mail_body (stream,msgno,section))) return ""; ^ In file included from mail.c:24:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ 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] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from mail.c:24:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ 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] if (!(b = mail_body (stream,msgno,section))) return NIL; ^ In file included from mail.c:24:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ 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] ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mail.c:24:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence)) && ^ In file included from mail.c:24:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: 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] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from osdep.h:36:0, from mail.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from osdep.h:36:0, from mail.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ mail.c:2474:16: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from osdep.h:36:0, from mail.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ mail.c:2474:16: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ mail.c:2474:16: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ mail.c:2474:16: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2474:23: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from mail.c:27:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mail.c:25: mail.c:2474:16: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) ^ In file included from osdep.h:36:0, from mail.c:25: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mail.c: In function 'mail_body': mail.c:2597:21: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(i = strtoul (section,(char **) §ion,10)) || ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from osdep.h:36:0, from mail.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from mail.c:22: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __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] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from mail.c:27:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c:2734:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(m = strtoul (s,(char **) &s,10))) return NIL; ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] if (strlen (s) < (size_t) 5) return NIL; ^ In file included from osdep.h:36:0, from mail.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2795:18: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] d = strtoul (s+1,(char **) &s,10); ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] m = strtoul (++s,(char **) &s,10); ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] else if (!(i = strtoul (sequence,(char **) &sequence,10))) { ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] else if (!(j = strtoul (sequence,(char **) &sequence,10))) { ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_filter': mail.c:3237:53: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) ^ In file included from mail.c:27:0: misc.h:99:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] BODY *body = mail_body (stream,msgno,section); ^ mail.c:2587:7: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if ((body = mail_body (stream,msgno,section)) && ^ mail.c:2587:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c: In function 'mail_search_keyword': mail.c:3688:32: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[i],&st->text)) { ^ In file included from mail.c:27:0: misc.h:99:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] switch (*ucase (criterion)) { ^ In file included from mail.c:27:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c: In function 'mail_criteria_date': mail.c:3906:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,(char *) s->text.data) && ^ mail.c:2710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sort_loadcache': mail.c:4112:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4128:38: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!(t && mail_parse_date (&telt,t) && ^ mail.c:2710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sort_compare': mail.c:4420:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->from,s2->from); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4420:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->from,s2->from); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4423:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->to,s2->to); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4423:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->to,s2->to); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4426:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->cc,s2->cc); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4426:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->cc,s2->cc); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4429:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->subject,s2->subject); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4429:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->subject,s2->subject); ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (type,t->name)) { ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4528:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_orderedsubject': mail.c:4572:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4572:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_loadcache': mail.c:4890:56: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) ^ mail.c:2710:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!(i = strtoul (sequence,(char **) &sequence,10)) || ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] else if (!(j = strtoul (sequence,(char **) &sequence,10)) || ^ In file included from osdep.h:35:0, from mail.c:25: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] ucase (strcpy (flg,t)); ^ In file included from mail.c:27:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c:5229:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5229:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_usable_network_stream': mail.c:5280:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((!compare_cstring (smb.host, ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5281:10: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] trustdns ? tcp_canonical (nmb.host) : nmb.host)&& ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5286:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5286:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_auth': mail.c:5856:43: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (auth->server && !compare_cstring (auth->name,mechanism)) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_lookup_auth_name': mail.c:5888:20: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (auth->name,mechanism)) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5888:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (auth->name,mechanism)) ^ In file included from mail.c:27:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` misc.c In file included from osdep.h:60:0, from misc.c:31: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from misc.c:31:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ misc.c: In function 'compare_csizedtext': misc.c:408:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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:0, from newsrc.c:25: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from newsrc.c:25:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ newsrc.c: In function 'newsrc_lsub': newsrc.c:160:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from newsrc.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:160:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from newsrc.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:163:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from newsrc.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:163:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from newsrc.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c: In function 'newsrc_state': newsrc.c:460:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s,(size_t) 1,size,f); ^ `cat CCTYPE` -c `cat CFLAGS` smanager.c In file included from osdep.h:60:0, from smanager.c:25: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from smanager.c:25:0: osdep.h:52:0: note: this is the location of the previous definition #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] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from smanager.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from smanager.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from smanager.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from smanager.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` utf8.c In file included from osdep.h:60:0, from utf8.c:25: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from utf8.c:25:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ utf8.c:110:39: warning: missing braces around initializer [-Wmissing-braces] static const CHARSET utf8_csvalid[] = { ^ utf8.c:110:39: note: (near initialization for 'utf8_csvalid') utf8.c:238:38: warning: missing braces around initializer [-Wmissing-braces] static const SCRIPT utf8_scvalid[] = { ^ utf8.c:238:38: note: (near initialization for '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] if (!compare_cstring (script,utf8_scvalid[i].name)) ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:275:36: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char * const' 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] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:291:37: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char * const' 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] if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (rmapcs && !compare_cstring (charset,rmapcs)) return rmap; ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] short iso2022 = !compare_cstring (charset,"ISO-2022-JP"); ^ In file included from utf8.c:26:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_text_euc': utf8.c:797:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] c1 + ((unsigned int) p2->tab) : UBOGON; ^ utf8.c:812:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] c1 + ((unsigned int) p3->tab) : UBOGON; ^ utf8.c: In function 'utf8_rmap': utf8.c:465:11: warning: iteration 94u invokes undefined behavior [-Waggressive-loop-optimizations] if ((u = jis0208tab[ku][ten]) != UBOGON) { ^ utf8.c:464:2: note: containing loop for (ten = 0; ten <= MAX_JIS0208_TEN; ten++) ^ cc1: warning: iteration 83u invokes undefined behavior [-Waggressive-loop-optimizations] utf8.c:463:7: note: containing loop 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:0, from dummy.c:27: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from dummy.c:27:0: osdep.h:52:0: note: this is the location of the previous definition #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] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (pmatch ("INBOX",ucase (test))) ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (pmatch ("INBOX",ucase (test))) ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:209:27: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:209:12: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:214:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:214:21: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!level && dir && pmatch_full (dir,pat,'/')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!level && dir && pmatch_full (dir,pat,'/')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:270:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((int) mail_parameters (NIL,GET_HIDEDOTFILES,NIL)) ? NIL : ^ dummy.c:278:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (tmp,pat,'/') || ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:278:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (tmp,pat,'/') || ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:279:20: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:279:37: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:279:57: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:279:61: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] pmatch_full (strcat (tmp,"/"),pat,'/') || dmatch (tmp,pat,'/')) && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:287:23: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:287:27: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:292:28: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (strcat (tmp,"/"),pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:292:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (strcat (tmp,"/"),pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:295:18: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (tmp,pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:295:22: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (tmp,pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:302:51: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:302:55: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!(ismx && mx_select (d)) && pmatch_full (tmp,pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from dummy.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:303:20: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (tmp,"INBOX")) ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:303:24: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (tmp,"INBOX")) ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_create_path': dummy.c:433:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (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] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_open': dummy.c:524:26: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (compare_cstring (stream->mailbox,"INBOX")) ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from dummy.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); ^ In file included from dummy.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (compare_cstring (mailbox,"INBOX") && dummy_file (tmp,mailbox) && ^ In file included from dummy.c:31:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^ In file included from osdep.h:60:0, 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] dummy_scan_contents (name,contents,csiz,fsiz) ^ dummy.c:362:17: note: 'csiz' was declared here unsigned long csiz; ^ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c In file included from osdep.h:60:0, from netmsg.c:26: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from netmsg.c:26:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ `cat CCTYPE` -c `cat CFLAGS` flstring.c In file included from osdep.h:60:0, from flstring.c:24: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from flstring.c:24:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ `cat CCTYPE` -c `cat CFLAGS` fdstring.c In file included from /usr/include/stdlib.h:24:0, from osdep.h:35, from fdstring.c:22: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from osdep.h:60:0, from fdstring.c:22: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from fdstring.c:22:0: osdep.h:52:0: note: this is the location of the previous definition #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] 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] 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] 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] 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] read (d->fd,s->chunk,(size_t) s->cursize); ^ `cat CCTYPE` -c `cat CFLAGS` rfc822.c In file included from osdep.h:60:0, from rfc822.c:33: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from rfc822.c:33:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ rfc822.c: In function 'rfc822_header': rfc822.c:97:42: warning: pointer targets in passing argument 4 of 'rfc822_header_line' differ in signedness [-Wpointer-sign] rfc822_header_line (&header,"Date",env,env->date); ^ In file included from rfc822.c:34:0: rfc822.h:41:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] ucase (tmp); /* coerce to uppercase */ ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:411:53: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); ^ rfc822.c: In function 'rfc822_parse_content': rfc822.c:683:54: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:683:47: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^ In file included from rfc822.c:34:0: rfc822.h:52:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] body->disposition.type = ucase (cpystr (s)); ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:750:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ rfc822.c:764:44: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] stl->text.data = (unsigned char *) ucase (cpystr (s)); ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:788:18: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (rfc822_cpy(s));/* search for body type */ ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:788:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ucase (rfc822_cpy(s));/* search for body type */ ^ rfc822.c:803:32: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:803:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] s = ucase (rfc822_cpy(s));/* search for body encoding */ ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:816:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] else body_encodings[body->encoding] = ucase (cpystr (s)); ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:823:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] param->attribute = ucase (cpystr (s)); ^ In file included from rfc822.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:850:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ `cat CCTYPE` -c `cat CFLAGS` nntp.c In file included from osdep.h:60:0, from nntp.c:25: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from nntp.c:25:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ nntp.c: In function 'nntp_list': nntp.c:358:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from nntp.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:358:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from nntp.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:361:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from nntp.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:361:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from nntp.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from nntp.c:28:0: 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] if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from nntp.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from nntp.c:28:0: nntp.c:393:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from nntp.c:25: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c: In function 'nntp_status': nntp.c:562:24: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,k,&status.recent,&status.unseen); ^ In file included from nntp.c:29:0: newsrc.h:34:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c:571:20: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,i++,&status.recent,&status.unseen); ^ In file included from nntp.c:29:0: newsrc.h:34:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? ^ In file included from nntp.c:28:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ nntp.c:737:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] sprintf (tmp,"{%s:%lu/nntp",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ nntp.c: In function 'nntp_fetchfast': nntp.c:845:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from nntp.c:24:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:846:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from nntp.c:24:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from nntp.c:24:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from nntp.c:24:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c: In function 'nntp_over': nntp.c:991:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from nntp.c:25: nntp.c:991:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from osdep.h:36:0, from nntp.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from nntp.c:25: nntp.c:991:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:991:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:991:72: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ In file included from osdep.h:36:0, from nntp.c:25: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from nntp.c:25: nntp.c:991:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:991:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:991:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:991:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:991:72: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:991:72: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c: In function 'nntp_parse_overview': nntp.c:1037:43: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!elt->day) mail_parse_date (elt,ov->date); ^ In file included from nntp.c:24:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_search_msg': nntp.c:1312:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] (!mail_parse_date (&delt,ov->date) || ^ In file included from nntp.c:24:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1524:33: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); ^ In file included from nntp.c:24:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_open_full': nntp.c:1676:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ nntp.c:1731:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] 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] 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] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1816:24: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1816:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^ In file included from nntp.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c: In function 'nntp_mail': nntp.c:1897:19: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (s = strstr (env->date," (")) *s = NIL; ^ In file included from osdep.h:36:0, from nntp.c:25: /usr/include/string.h:337:14: note: expected 'const char *' but argument is of type 'unsigned char *' 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] sprintf (tmp,"{%.200s/nntp",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ nntp.c:1981:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((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] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^ nntp.c: In function 'nntp_header': nntp.c:1092:2: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^ `cat CCTYPE` -c `cat CFLAGS` smtp.c In file included from osdep.h:60:0, from smtp.c:32: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from smtp.c:32:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ smtp.c: In function 'smtp_open_full': smtp.c:161:34: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^ In file included from smtp.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (mb.service,"submit")) { ^ In file included from smtp.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:174:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] stream->host = cpystr ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ smtp.c:179:23: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^ In file included from smtp.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:179:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^ In file included from smtp.c:35:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:230:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ smtp.c:233:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ smtp.c: In function 'smtp_mail': smtp.c:438:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ smtp.c:439:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((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] ucase (strncpy (tmp,stream->reply+4,MAILTMPLEN-1)); ^ In file included from smtp.c:35:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c In file included from osdep.h:60:0, from imap4r1.c:33: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from imap4r1.c:33:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ In file included from imap4r1.c:36:0: 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] if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from imap4r1.c:33: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from imap4r1.c:36:0: imap4r1.c:487:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from imap4r1.c:33: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:560:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:560:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:560:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:560:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:560:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:560:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:560:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:560:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:560:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:560:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:561:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:561:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:561:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:561:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:561:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:561:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:561:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:561:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:561:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:561:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_manage': imap4r1.c:663:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^ imap4r1.c:684:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ret ? NIL : ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_open': imap4r1.c:852:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:852:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:852:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:852:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:852:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:852:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:852:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:852:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:852:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:852:27: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:853:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:853:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:853:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:853:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:853:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:853:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:854:26: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:859:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:859:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:859:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:859:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:859:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:859:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:859:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:859:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:859:37: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:859:37: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:883:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if ((int) mail_parameters (NIL,GET_TRUSTDNS,NIL)) { ^ imap4r1.c:885:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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] sprintf (tmp,"{%s",(int) mail_parameters (NIL,GET_TRUSTDNS,NIL) ? ^ imap4r1.c:963:36: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:963:47: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:973:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_rimap': imap4r1.c:1019:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1019:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1019:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1019:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1019:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1019:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1019:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1019:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1019:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1019:13: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1023:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1023:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1023:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1023:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:44: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1023:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1023:44: note: expected 'const char *' but argument is of type 'unsigned char *' 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] if (compare_cstring (reply->tag,tag)) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1076:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_auth': imap4r1.c:1126:39: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (compare_cstring (reply->tag,tag)) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1127:67: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1136:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (reply->text); ^ In file included from imap4r1.c:36:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c: In function 'imap_login': imap4r1.c:1188:12: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_challenge': imap4r1.c:1218:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1218:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1218:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1218:12: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:1218:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1218:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1218:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1218:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1218:12: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1218:12: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1223:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c: In function 'imap_close': imap4r1.c:1280:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_fast': imap4r1.c:1320:40: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_flags': imap4r1.c:1341:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_overview': imap4r1.c:1394:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1442:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1567:17: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1569:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1799:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1809:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1818:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1822:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_uid': imap4r1.c:1875:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_msgno': imap4r1.c:1911:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_flag': imap4r1.c:1952:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_search': imap4r1.c:2019:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2019:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2019:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2019:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2019:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2019:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2019:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2019:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2019:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2019:11: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2038:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2038:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2038:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2038:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2038:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2038:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2038:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2038:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2038:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2038:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2044:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:2080:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_sort': imap4r1.c:2142:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2142:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2142:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2142:41: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2142:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2142:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2142:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2142:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2142:41: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2142:41: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2149:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2149:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2149:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2149:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2149:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2149:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2149:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2149:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2149:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2149:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2158:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_thread': imap4r1.c:2243:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (thr->name,type)) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_thread_work': imap4r1.c:2303:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2303:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2303:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2303:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2303:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2303:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2303:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2303:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2303:39: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2303:39: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2310:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2310:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2310:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2310:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2310:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2310:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2310:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2310:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2310:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2310:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2318:16: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_check': imap4r1.c:2342:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_expunge': imap4r1.c:2353:11: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^ In file included from imap4r1.c:32:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2384:13: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append': imap4r1.c:2436:10: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2497:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] if (!mail_parse_date (&elt,date)) { ^ In file included from imap4r1.c:32:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:2531:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2532:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2533:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2543:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2543:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ^ imap4r1.c:2543:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2543:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:2543:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ^ imap4r1.c:2543:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2543:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ^ imap4r1.c:2543:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2543:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp ((reply = imap_send (stream,"APPEND",args))->key,"BAD") && ^ imap4r1.c:2543:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_acl_work': imap4r1.c:2729:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_setquota': imap4r1.c:2753:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_getquota': imap4r1.c:2775:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:2798:18: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from imap4r1.c:32:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2836:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2836:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2837:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2837:25: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2990:42: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!map->date || mail_parse_date (&elt,map->date)) { ^ In file included from imap4r1.c:32:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_send_literal': imap4r1.c:3115:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3115:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3115:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3115:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3115:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3115:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3115:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3115:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3115:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3115:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_reply': imap4r1.c:3450:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3450:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3450:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3450:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3450:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3450:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3450:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3450:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3450:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3450:20: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3452:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3452:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3452:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3452:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3452:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3452:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3452:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3452:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3452:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3452:25: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3457:31: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (tag && !compare_cstring (tag,reply->tag)) return reply; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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 differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3488:31: note: in expansion of macro 'LOCAL' if (stream->debug) mm_dlog (LOCAL->reply.line); ^ In file included from imap4r1.c:32:0: mail.h:1503:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3489:45: note: in expansion of macro 'LOCAL' if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imap4r1.c:3489:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = (char *) strtok (LOCAL->reply.line," "))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:100:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:100:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:100:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3495:15: note: in expansion of macro 'LOCAL' if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:3497:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = (char *) strtok (NIL," "))) { ^ imap4r1.c:3507:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = (char *) strtok (NIL,"\n"))) ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:3508:54: note: in expansion of macro 'LOCAL' LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3511:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:3512:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = (char *) strtok (NIL,"\n"))) ^ imap4r1.c:3513:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3533:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:3534:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:3535:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c: In function 'imap_OK': imap4r1.c:3550:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3550:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3550:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3550:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3550:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3550:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3550:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3550:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3550:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3550:16: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3551:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,NIL); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3555:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3555:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3555:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3555:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3555:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3555:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3555:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3555:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3555:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3555:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3556:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,NIL); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3558:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3558:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3558:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3558:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3558:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3558:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3558:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3558:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3558:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3558:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3559:35: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,NIL); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:3582:22: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] msgno = strtoul (reply->key,(char **) &s,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3596:33: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] s = ucase ((char *) strtok (reply->text," ")); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 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] s = ucase ((char *) strtok (reply->text," ")); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3598:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = (char *) strtok (NIL,"\n"); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ imap4r1.c:3601:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ imap4r1.c:3601:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ imap4r1.c:3601:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3601:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS")) mail_exists (stream,msgno); ^ imap4r1.c:3601:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ imap4r1.c:3602:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ imap4r1.c:3602:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ imap4r1.c:3602:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3602:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT")) mail_recent (stream,msgno); ^ imap4r1.c:3602:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3603:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3603:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3603:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3603:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3603:23: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:47: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:47: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:47: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3611:47: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3611:47: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3622:39: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] while (prop = ((char *) strtok (t," )"))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imap4r1.c:3623:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = (char *) strtok (NIL,"\n"); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3627:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3627:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3627:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:22: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3627:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3627:15: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3635:27: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); ^ In file included from imap4r1.c:32:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:3641:53: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3682:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:3684:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3686:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3686:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3686:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3686:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3686:21: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3687:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3687:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3687:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3687:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3687:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3687:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3687:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3687:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3687:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3687:24: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3697:29: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3697:29: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3697:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3702:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] md.first = strtoul (s+1,(char **) &s,10) + 1; ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3745:34: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->rfc822_size = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:3776:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:3776:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:3776:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3776:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:3776:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3783:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:3783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3783:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:3783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:3783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3783:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:3783:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3784:52: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imap4r1.c:3784:33: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*reply->text == '(') && (s = (char *) strtok (reply->text+1," )"))) ^ imap4r1.c:3787:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,stream->user_flags[i]); i++); ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); ^ In file included from imap4r1.c:36:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:3795:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (s = (char *) strtok (NIL," )")); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3796:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3796:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:3796:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3796:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3796:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:3796:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3796:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:3796:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3796:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:3796:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:46: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (reply->text && (t = (char *) strtok (reply->text," "))) do ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imap4r1.c:3798:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (i = strtoul (t,NIL,10)) { ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3808:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = (char *) strtok (NIL," ")); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3810:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3810:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:3810:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3810:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3810:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:3810:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3810:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:3810:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3810:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:3810:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3818:46: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (reply->text && (t = (char *) strtok (reply->text," "))) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imap4r1.c:3818:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] do if ((i = atol (t)) && (LOCAL->filter ? ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/stdlib.h:283:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^ imap4r1.c:3822:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((t = (char *) strtok (NIL," ")) && ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3829:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3829:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:3829:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3829:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3829:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:3829:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3829:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:3829:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3829:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:3829:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3844:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3844:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:3844:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3844:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3844:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:3844:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3844:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:3844:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3844:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:3844:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3848:53: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:3848:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3848:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3854:35: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:3854:35: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3854:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:3857:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3858:28: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (txt,"MESSAGES")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3862:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"RECENT")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3866:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UNSEEN")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3870:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDNEXT")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3874:33: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDVALIDITY")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3883:53: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3891:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3891:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3891:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:22: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3891:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3891:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3891:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:3891:53: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3893:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:3893:18: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3893:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:3897:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (t = (char *) strtok (reply->text+1," ")) do { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imap4r1.c:3897:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3906:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (t = (char *) strtok (NIL," ")); ^ imap4r1.c:3920:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:3920:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); ^ In file included from imap4r1.c:32:0: mail.h:1500:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] else mm_list (stream,delimiter,s,i); ^ In file included from imap4r1.c:32:0: mail.h:1499:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3928:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3928:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:3928:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3928:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3928:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:3928:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3928:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:3928:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3928:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:3928:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3951:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3951:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:3951:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3951:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3951:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:3951:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3951:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:3951:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3951:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:3951:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3957:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:3959:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] else if (ar) (*ar) (stream,t,al); ^ 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] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:3972:32: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3976:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3976:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:3976:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3976:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:3976:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:3976:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3976:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:3976:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3976:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:3976:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3980:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:3982:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:3996:31: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,rl); ^ imap4r1.c:3996:31: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4001:29: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,NIL); ^ imap4r1.c:4001:29: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4019:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4019:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4019:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4019:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4019:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4019:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4019:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4019:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4019:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4019:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4023:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4029:34: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4041:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4041:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4041:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4041:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4041:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4041:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4041:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4041:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4041:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4041:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4052:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4054:25: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] qc->usage = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4056:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] qc->limit = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4061:30: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4061:30: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4080:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4080:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4080:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4080:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4080:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4080:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4080:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4080:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4080:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4080:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4095:34: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4095:34: note: expected 'char *' but argument is of type 'unsigned char *' In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4106:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4106:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4106:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4106:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4106:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4106:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4106:50: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4107:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,T); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4108:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4108:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4108:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4108:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4108:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4108:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4108:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4108:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4108:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4108:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4109:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,T); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4110:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4110:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4110:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4110:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4110:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4110:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4110:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4110:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4110:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4110:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4111:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,T); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4112:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4112:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4112:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4112:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4112:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4112:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4112:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4112:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4112:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4112:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4114:33: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,BYE,T); ^ imap4r1.c:221:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4116:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4116:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4116:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4116:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4116:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4116:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4116:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4116:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4116:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4116:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4117:37: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ^ imap4r1.c:256:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4118:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4118:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4118:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4118:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from imap4r1.c:33: imap4r1.c:4118:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4118:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4118:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4118:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4118:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4118:21: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4120:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) ^ In file included from osdep.h:36:0, from imap4r1.c:33: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4121:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4121:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] mm_list (stream,NIL,t,NIL); ^ In file included from imap4r1.c:32:0: mail.h:1499:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c: In function 'imap_parse_response': imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4153:29: note: in expansion of macro 'LOCAL' if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (LOCAL->tmp,"UIDVALIDITY") && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4161:34: note: in expansion of macro 'LOCAL' else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (LOCAL->tmp,"UIDNEXT")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4163:34: note: in expansion of macro 'LOCAL' else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (LOCAL->tmp,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4171:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4171:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4172:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4172:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4174:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4174:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4176:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4176:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4178:33: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4178:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4185:34: note: in expansion of macro 'LOCAL' else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (LOCAL->tmp,"CAPABILITY")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4189:24: note: in expansion of macro 'LOCAL' if (!compare_cstring (LOCAL->tmp,"REFERRAL")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4189:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (LOCAL->tmp,"REFERRAL")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4194:29: note: in expansion of macro 'LOCAL' if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (LOCAL->tmp,"UIDNOTSTICKY")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4198:34: note: in expansion of macro 'LOCAL' else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (LOCAL->tmp,"READ-ONLY")) stream->rdonly = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4199:34: note: in expansion of macro 'LOCAL' else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (LOCAL->tmp,"READ-WRITE")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:100:15: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] #define LOCAL ((IMAPLOCAL *) stream->local) ^ imap4r1.c:4201:34: note: in expansion of macro 'LOCAL' else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (LOCAL->tmp,"PARSE") && !errflg) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4243:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4268:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4280:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ In file included from imap4r1.c:29:0: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4353:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4355:12: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10))) { ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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 differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4446:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:4448:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*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 differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4545:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4546:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4547:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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 differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:4640:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4669:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ In file included from /usr/include/features.h:368:0, from /usr/include/ctype.h:25, from imap4r1.c:29: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imap4r1.c:4702:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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 differ in signedness [-Wpointer-sign] st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:4762:9: warning: pointer targets in return differ in signedness [-Wpointer-sign] return string; ^ imap4r1.c:4792:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) > 0x7fffffff) { ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4822:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:4823:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:4824:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^ In file included from imap4r1.c:32:0: mail.h:1503:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:4834:10: warning: pointer targets in return differ in signedness [-Wpointer-sign] 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] if (!(b = mail_body (stream,msgno,seg))) { ^ In file included from imap4r1.c:32:0: mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:4969:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:4970:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:4988:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5009:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5010:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5019:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5020:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); /* parse subtype */ ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5027:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5028:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5030:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5031:9: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from imap4r1.c:36:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5044:35: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5054:30: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.lines = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5060:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5073:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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 differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5127:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ imap4r1.c:5149:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5173:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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 differ in signedness [-Wpointer-sign] 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] if (i = strtoul (*txtptr,(char **) txtptr,10)) do ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5289:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5290:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5291:33: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^ In file included from imap4r1.c:32:0: mail.h:1503:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:5296:14: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:35:0, from imap4r1.c:33: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] if (!compare_cstring (t,"IMAP4")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (t,"IMAP4")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"AUTH")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"AUTH")) { ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5371:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5371:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from imap4r1.c:36:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` pop3.c In file included from /usr/include/stdlib.h:24:0, from osdep.h:35, from pop3.c:23: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ In file included from osdep.h:60:0, from pop3.c:23: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from pop3.c:23:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c: In function 'pop3_valid': pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from osdep.h:36:0, from pop3.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ pop3.c:176:13: note: expected 'const char *' but argument is of type 'unsigned char *' pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:13: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from osdep.h:36:0, from pop3.c:23: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ pop3.c:176:13: note: expected 'const char *' but argument is of type 'unsigned char *' pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ pop3.c:176:13: note: expected 'const char *' but argument is of type 'unsigned char *' pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:20: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ In file included from pop3.c:28:0: misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from pop3.c:23: pop3.c:176:13: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strcmp (ucase (strcpy (mbx,mb.mailbox)),"INBOX")) ? ^ pop3.c:176:13: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from pop3.c:28:0: 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] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:229:44: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:230:60: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:230:68: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: 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] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:245:45: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:250:64: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:250:72: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: 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] if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ misc.h:74:16: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ In file included from pop3.c:28:0: pop3.c:276:62: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ misc.h:74:18: note: in definition of macro 'pmatch' pmatch_full (s,pat,NIL) ^ In file included from env_unix.h:63:0, from osdep.h:55, from pop3.c:23: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_open': pop3.c:418:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (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] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:512:21: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:512:26: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:513:29: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:513:31: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"SASL") && args) ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!compare_cstring (t,"SASL") && args) ^ In file included from pop3.c:28:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] 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] strncpy (mb->host,(int) mail_parameters (NIL,GET_SASLUSESPTRNAME,NIL) ? ^ pop3.c: In function 'pop3_fetchfast': pop3.c:779:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from pop3.c:22:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:780:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from pop3.c:22:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] fread (elt->private.msg.header.text.data = (unsigned char *) ^ `cat CCTYPE` -c `cat CFLAGS` unix.c In file included from osdep.h:60:0, from unix.c:40: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from unix.c:40:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ unix.c: In function 'unix_valid': unix.c:204:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ unix.c: In function 'unix_create': unix.c:311:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { ^ unix.c: In function 'unix_open': unix.c:438:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:450:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] 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 differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:604:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:612:26: note: in expansion of macro 'LOCAL' *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^ In file included from unix.c:39:0: mail.h:1599:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ unix.c:71:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:613:10: note: in expansion of macro 'LOCAL' return LOCAL->buf; /* return processed copy */ ^ unix.c: In function 'unix_text_work': unix.c:662:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:71:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:674:12: note: in expansion of macro 'LOCAL' return LOCAL->buf; ^ unix.c:690:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:693:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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 differ in signedness [-Wpointer-sign] 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] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from unix.c:39:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:837:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from unix.c:39:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:852:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:853:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:853:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:857:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:858:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:858:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:866:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:867:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:867:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:877:21: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:55:0, from unix.c:40: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:884:29: note: in expansion of macro 'LOCAL' j = unix_xstatus (stream,LOCAL->buf,elt,NIL); ^ unix.c:121:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:885:18: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55:0, from unix.c:40: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:894:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:907:21: note: in expansion of macro 'LOCAL' if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:907:21: note: in expansion of macro 'LOCAL' if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!mail_parse_date (&elt,date)) { ^ In file included from unix.c:39:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ unix.c:936:15: warning: unused variable 'tstream' [-Wunused-variable] 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] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] MM_LOG (tmp,ERROR); ^ 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] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^ unix.c:1268:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1280:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1289:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1293:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1295:10: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ unix.c:1295:10: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1344:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1345:12: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ unix.c:1345:12: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1349:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from unix.c:40: unix.c:1366:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1366:24: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1366:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1366:24: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1366:24: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1366:24: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1366:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1366:24: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1366:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1366:24: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1366:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1366:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:36:0, from unix.c:40: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ unix.c:1372:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^ In file included from unix.c:46:0: misc.h:99:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from unix.c:40: unix.c:1420:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1420:22: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1420:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1420:22: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1420:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1420:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1420:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1420:22: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1420:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1420:22: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1420:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1426:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ unix.c:1454:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1459:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1464:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu greater than last %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1471:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ unix.c:1471:13: note: expected 'char *' but argument is of type 'unsigned char *' unix.c:1527:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1528:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1529:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1530:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1531:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1532:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1555:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ unix.c:1580:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_rewrite': unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1837:60: note: in expansion of macro 'LOCAL' unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^ unix.c:1722:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1844:23: note: in expansion of macro 'LOCAL' unix_xstatus (stream,LOCAL->buf,elt,flag) + ^ unix.c:1748:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1851:32: note: in expansion of macro 'LOCAL' size = unix_pseudo (stream,LOCAL->buf); ^ unix.c:1722:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1871:53: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:1722:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1871:22: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:125:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1887:29: note: in expansion of macro 'LOCAL' unix_xstatus (stream,LOCAL->buf,elt,flag)))) { ^ unix.c:1748:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1901:19: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^ unix.c:125:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1915:34: note: in expansion of macro 'LOCAL' j = unix_xstatus (stream,LOCAL->buf,elt,flag)); ^ unix.c:1748:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1914:19: note: in expansion of macro 'LOCAL' unix_write (&f,LOCAL->buf, ^ unix.c:125:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1997:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1998:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1998:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c: In function 'unix_extend': unix.c:2019:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:71:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2024:29: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:55:0, from unix.c:40: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2030:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2031:33: note: in expansion of macro 'LOCAL' if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2031:33: note: in expansion of macro 'LOCAL' if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ 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] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^ In file included from unix.c:46:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c: In function 'mbox_ping': unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2354:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2356:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2356:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2368:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2369:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2369:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2375:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2377:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2377:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2393:15: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from unix.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:71:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2398:19: note: in expansion of macro 'LOCAL' else MM_LOG (LOCAL->buf,WARN); ^ unix.c:71:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:2398:19: note: in expansion of macro 'LOCAL' else MM_LOG (LOCAL->buf,WARN); ^ unix.c: In function 'unix_open': unix.c:483:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 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] 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] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ 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] 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] 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] 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] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_rewrite': unix.c:1891:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ unix.c: In function 'unix_extend': unix.c:2027:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c: In function 'mbox_ping': unix.c:2361:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (sfd,s = (char *) fs_get (size + 1),size); ^ unix.c:2371:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2379:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2390:4: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^ `cat CCTYPE` -c `cat CFLAGS` mbx.c In file included from osdep.h:60:0, from mbx.c:34: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mbx.c:34:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mbx.c: In function 'mbx_isvalid': mbx.c:190:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if ((s = mbx_file (tmp,name)) && !stat (s,&sbuf) && ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mbx.c:34: mbx.c:209:38: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:209:38: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:209:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:212:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); ^ In file included from osdep.h:36:0, from mbx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:212:68: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (strlen (s) <= MAXUSERFLAG) (*stream)->user_flags[i] = cpystr (s); ^ In file included from mbx.c:39:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ mbx.c:220:7: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^ mbx.c:224:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_create': mbx.c:308:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (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] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_open': mbx.c:498:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); ^ mbx.c:503:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:33:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence))) ^ In file included from mbx.c:33:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c: In function 'mbx_header': mbx.c:620:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mbx.c:623:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_text': mbx.c:72:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:640:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->text.data; ^ mbx.c:671:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->text.data,i); ^ mbx.c: In function 'mbx_ping': mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:773:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:774:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:774:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c: In function 'mbx_expunge': mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:806:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:807:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:807:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:810:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:811:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:811:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mbx.c: In function 'mbx_snarf': mbx.c:72:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:848:15: note: in expansion of macro 'LOCAL' mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mbx.c:33:0: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:849:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:36:0, from mbx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:849:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:855:45: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:36:0, from mbx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:72:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:855:26: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:55:0, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:871:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:872:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:872:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c: In function 'mbx_copy': mbx.c:72:15: warning: pointer targets in passing argument 3 of 'mbx_isvalid' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:905:38: note: in expansion of macro 'LOCAL' if (!mbx_isvalid (&dstream,mailbox,LOCAL->buf)) switch (errno) { ^ mbx.c:181:5: note: expected 'char *' but argument is of type 'unsigned char *' int mbx_isvalid (MAILSTREAM **stream,char *name,char *tmp) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:911:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:912:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:912:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:916:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:917:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:917:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:920:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:33:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:921:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mbx.c:33:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:925:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:926:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:926:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:944:17: note: in expansion of macro 'LOCAL' mail_date(LOCAL->buf,elt);/* build target header */ ^ In file included from mbx.c:33:0: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:949:28: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:949:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:950:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", ^ In file included from osdep.h:36:0, from mbx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:950:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-00000000\015\012", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:956:47: note: in expansion of macro 'LOCAL' if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) ^ In file included from osdep.h:36:0, from mbx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:72:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:956:28: note: in expansion of macro 'LOCAL' if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) ^ In file included from osdep.h:55:0, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:72:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:959:20: note: in expansion of macro 'LOCAL' ret = write (fd,LOCAL->buf,j) >= 0; ^ In file included from osdep.h:55:0, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:964:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:965:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mbx.c:72:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:965:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ 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] if (!compare_cstring (mailbox,"INBOX")) ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) ^ In file included from mbx.c:39:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1059:29: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mbx.c:33:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mbx.c: In function 'mbx_parse': mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1156:35: note: in expansion of macro 'LOCAL' stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1159:16: note: in expansion of macro 'LOCAL' i = strtoul (LOCAL->buf + 15,NIL,16); ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mbx.c:34: mbx.c:1163:41: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1163:41: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1163:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (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] if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) ^ In file included from osdep.h:36:0, from mbx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] stream->user_flags[i] = cpystr (s); ^ In file included from mbx.c:39:0: misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1177:14: note: in expansion of macro 'LOCAL' strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mbx.c:34: mbx.c:72:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1194:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:72:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1194:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1194:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mbx.c:34: mbx.c:72:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1203:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:72:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1203:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1203:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mbx.c:34: mbx.c:1203:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1203:57: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1203:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1251:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (t+13,NIL,16)) && ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1267:23: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] elt->user_flags = strtoul (t,NIL,16); ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_read_flags': mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1383:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1385:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^ In file included from osdep.h:57:0, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1392:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1393:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^ In file included from osdep.h:57:0, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1397:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1400:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf+50); ^ In file included from osdep.h:57:0, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1404:16: note: in expansion of macro 'LOCAL' i = strtoul (LOCAL->buf+9,NIL,16); ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1413:30: note: in expansion of macro 'LOCAL' elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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 differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1429:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1440:12: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1444:26: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, ^ In file included from osdep.h:55:0, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_update_status': mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1467:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1469:14: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^ In file included from osdep.h:57:0, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1476:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1477:14: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^ In file included from osdep.h:57:0, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1481:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1484:14: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf+50); ^ In file included from osdep.h:57:0, from mbx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1489:31: note: in expansion of macro 'LOCAL' fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^ In file included from osdep.h:35:0, from mbx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:72:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1487:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mbx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:72:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1497:28: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^ In file included from osdep.h:55:0, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_hdrpos': mbx.c:1545:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1552:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1562:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ mbx.c: In function 'mbx_rewrite': mbx.c:72:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1643:29: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:55:0, from mbx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] 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] read (LOCAL->fd,s = LOCAL->text.data,i); ^ mbx.c: In function 'mbx_snarf': mbx.c:873:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mbx.c: In function 'mbx_copy': mbx.c:958:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mbx.c:966:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 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] 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] read (LOCAL->fd,LOCAL->buf,HDRSIZE); ^ mbx.c: In function 'mbx_rewrite': mbx.c:1639:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mbx.c:1663:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ `cat CCTYPE` -c `cat CFLAGS` mmdf.c In file included from osdep.h:60:0, from mmdf.c:28: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mmdf.c:28:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mmdf.c: In function 'mmdf_isvalid': mmdf.c:372:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mmdf.c: In function 'mmdf_create': mmdf.c:468:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) < 0) { ^ mmdf.c: In function 'mmdf_open': mmdf.c:594:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:606:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] 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 differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:760:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:768:26: note: in expansion of macro 'LOCAL' *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^ In file included from mmdf.c:27:0: mail.h:1599:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ mmdf.c:227:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:769:10: note: in expansion of macro 'LOCAL' return LOCAL->buf; /* return processed copy */ ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:818:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:227:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:830:12: note: in expansion of macro 'LOCAL' return LOCAL->buf; ^ mmdf.c:846:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:849:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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 differ in signedness [-Wpointer-sign] 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] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mmdf.c:27:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:995:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mmdf.c:27:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1010:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1011:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1011:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1015:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1016:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1016:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1024:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1025:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^ mmdf.c:227:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1025:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1035:21: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:55:0, from mmdf.c:28: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1042:29: note: in expansion of macro 'LOCAL' j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL); ^ mmdf.c:278:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1043:18: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55:0, from mmdf.c:28: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1053:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1066:21: note: in expansion of macro 'LOCAL' if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:1066:21: note: in expansion of macro 'LOCAL' if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!mail_parse_date (&elt,date)) { ^ In file included from mmdf.c:27:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] 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] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] MM_LOG (tmp,ERROR); ^ 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] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^ mmdf.c:1422:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1434:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1443:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1447:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1453:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1458:14: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ mmdf.c:1458:14: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1475:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1511:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1512:14: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ mmdf.c:1512:14: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1528:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mmdf.c:28: mmdf.c:1549:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1549:24: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1549:24: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1549:24: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1549:24: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1549:24: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1549:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1549:24: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1549:24: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1549:24: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1549:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1549:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:36:0, from mmdf.c:28: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mmdf.c:1555:34: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^ In file included from mmdf.c:33:0: misc.h:99:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mmdf.c:28: mmdf.c:1603:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1603:22: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1603:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1603:22: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1603:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1603:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1603:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1603:22: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1603:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1603:22: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1603:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1609:35: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mmdf.c:1637:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1642:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1647:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu greater than last %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1654:13: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ mmdf.c:1654:13: note: expected 'char *' but argument is of type 'unsigned char *' mmdf.c:1710:34: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1711:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1712:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1713:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1714:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1715:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^ In file included from mmdf.c:33:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1738:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ mmdf.c:1762:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1777:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2025:60: note: in expansion of macro 'LOCAL' unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^ mmdf.c:1910:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2032:23: note: in expansion of macro 'LOCAL' mmdf_xstatus (stream,LOCAL->buf,elt,flag) + ^ mmdf.c:1936:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2039:32: note: in expansion of macro 'LOCAL' size = mmdf_pseudo (stream,LOCAL->buf); ^ mmdf.c:1910:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2059:53: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:1910:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2059:22: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:282:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2075:29: note: in expansion of macro 'LOCAL' mmdf_xstatus (stream,LOCAL->buf,elt,flag)))) { ^ mmdf.c:1936:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2089:19: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:282:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2103:34: note: in expansion of macro 'LOCAL' j = mmdf_xstatus (stream,LOCAL->buf,elt,flag)); ^ mmdf.c:1936:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2102:19: note: in expansion of macro 'LOCAL' mmdf_write (&f,LOCAL->buf, ^ mmdf.c:282:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2168:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2169:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2169:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2190:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:227:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2195:29: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:55:0, from mmdf.c:28: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2201:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mmdf.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:227:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2202:33: note: in expansion of macro 'LOCAL' if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c:227:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2202:33: note: in expansion of macro 'LOCAL' if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ mmdf.c: In function 'mmdf_open': mmdf.c:639:7: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 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] 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] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ 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] 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] 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] 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] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2079:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2198:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ `cat CCTYPE` -c `cat CFLAGS` tenex.c In file included from osdep.h:60:0, from tenex.c:39: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from tenex.c:39:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ tenex.c: In function 'tenex_isvalid': tenex.c:198:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ tenex.c:203:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_open': tenex.c:418:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); ^ tenex.c:424:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:38:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence))) ^ In file included from tenex.c:38:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:502:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:38:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence))) ^ In file included from tenex.c:38:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c: In function 'tenex_header': tenex.c:555:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); ^ In file included from osdep.h:58:0, from tenex.c:39: nl.h:24:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c:62:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:568:10: note: in expansion of macro 'LOCAL' return LOCAL->buf; ^ tenex.c: In function 'tenex_text': tenex.c:600:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:623:50: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); ^ In file included from osdep.h:58:0, from tenex.c:39: nl.h:24:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c: In function 'tenex_snarf': tenex.c:62:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:765:15: note: in expansion of macro 'LOCAL' mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from tenex.c:38:0: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:766:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:36:0, from tenex.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:766:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:772:45: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:36:0, from tenex.c:39: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:62:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:772:26: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:55:0, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:788:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:789:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:789:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c: In function 'tenex_expunge': tenex.c:62:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:879:25: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:55:0, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:894:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:896:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:896:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:900:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:902:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:902:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ tenex.c: In function 'tenex_copy': tenex.c:62:15: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:940:31: note: in expansion of macro 'LOCAL' if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ tenex.c:168:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:948:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:949:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:949:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:953:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:954:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:954:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:957:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:38:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:958:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from tenex.c:38:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:961:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:962:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:962:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:984:16: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55:0, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:989:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:990:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ tenex.c:62:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:990:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ 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] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:41:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!mail_parse_date (&elt,date)) { ^ In file included from tenex.c:38:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from tenex.c:39: tenex.c: In function 'tenex_parse': tenex.c:62:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1210:23: note: in expansion of macro 'LOCAL' if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:62:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1210:23: note: in expansion of macro 'LOCAL' if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1210:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from tenex.c:39: tenex.c:62:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1219:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:62:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1219:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1219:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from tenex.c:39: tenex.c:1219:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1219:57: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1219:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1242:46: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:35:0, from tenex.c:39: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:35:0, from tenex.c:39: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_read_flags': tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1344:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1345:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^ In file included from osdep.h:57:0, from tenex.c:39: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ tenex.c:62:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1353:15: note: in expansion of macro 'LOCAL' j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:35:0, from tenex.c:39: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_update_status': tenex.c:62:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1379:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from tenex.c:34: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:62:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:1387:22: note: in expansion of macro 'LOCAL' write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:55:0, from tenex.c:39: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1422:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ tenex.c: In function 'tenex_fast': tenex.c:507:4: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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] read (LOCAL->fd,LOCAL->buf,i); ^ tenex.c:620:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_snarf': tenex.c:790:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ tenex.c: In function 'tenex_expunge': tenex.c:874:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ tenex.c:899:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ tenex.c: In function 'tenex_copy': tenex.c:983:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ tenex.c:991:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 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] ftruncate (fd,sbuf.st_size);/* revert file */ ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1422:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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:0, from mtx.c:34: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mtx.c:34:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mtx.c: In function 'mtx_isvalid': mtx.c:192:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mtx.c:197:51: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_open': mtx.c:413:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (MAXMESSAGESIZE + 1); ^ mtx.c:418:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:33:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence))) ^ In file included from mtx.c:33:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c: In function 'mtx_header': mtx.c:506:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c:59:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:511:10: note: in expansion of macro 'LOCAL' return LOCAL->buf; ^ mtx.c: In function 'mtx_snarf': mtx.c:59:15: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:692:15: note: in expansion of macro 'LOCAL' mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mtx.c:33:0: mail.h:1587:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:693:34: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:36:0, from mtx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:693:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:699:45: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:36:0, from mtx.c:34: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:59:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:699:26: note: in expansion of macro 'LOCAL' if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:55:0, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:715:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:716:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:716:10: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c: In function 'mtx_expunge': mtx.c:59:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:805:25: note: in expansion of macro 'LOCAL' if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:55:0, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:820:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Calculated size mismatch %lu != %lu, delta = %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:822:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:822:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,WARN); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:826:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:828:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:828:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mtx.c: In function 'mtx_copy': mtx.c:59:15: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:866:29: note: in expansion of macro 'LOCAL' if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ mtx.c:162:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:874:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:875:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:875:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:879:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:880:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:880:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:883:56: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:33:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:884:24: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mtx.c:33:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:887:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:888:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:888:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:910:16: note: in expansion of macro 'LOCAL' if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:55:0, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:915:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:916:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ mtx.c:59:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:916:13: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,ERROR); ^ 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] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:38:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!mail_parse_date (&elt,date)) { ^ In file included from mtx.c:33:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mtx.c:34: mtx.c: In function 'mtx_parse': mtx.c:59:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1114:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:59:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1114:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1114:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mtx.c:34: mtx.c:59:15: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1123:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:59:15: note: expected 'const char *' but argument is of type 'unsigned char *' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1123:24: note: in expansion of macro 'LOCAL' if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1123:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mtx.c:34: mtx.c:1123:57: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1123:57: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1123:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1146:31: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && ^ In file included from osdep.h:35:0, from mtx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:35:0, from mtx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_read_flags': mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1248:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1249:12: note: in expansion of macro 'LOCAL' fatal (LOCAL->buf); ^ In file included from osdep.h:57:0, from mtx.c:34: ftl.h:24:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mtx.c:59:15: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1257:15: note: in expansion of macro 'LOCAL' j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:35:0, from mtx.c:34: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_update_status': mtx.c:59:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1283:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtx.c:29: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:59:15: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:1291:22: note: in expansion of macro 'LOCAL' write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:55:0, from mtx.c:34: env_unix.h:91:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] 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] read (LOCAL->fd,LOCAL->text.data,i); ^ mtx.c: In function 'mtx_snarf': mtx.c:717:2: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mtx.c: In function 'mtx_expunge': mtx.c:800:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mtx.c:825:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ mtx.c: In function 'mtx_copy': mtx.c:909:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mtx.c:917:5: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] 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] ftruncate (fd,sbuf.st_size);/* revert file */ ^ `cat CCTYPE` -c `cat CFLAGS` news.c In file included from osdep.h:60:0, from news.c:27: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from news.c:27:0: osdep.h:52:0: note: this is the location of the previous definition #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] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from news.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from news.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:225:19: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from news.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:225:24: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from news.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:39:0, from news.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ news.c:347:48: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:39:0, from news.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ news.c:353:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); ^ news.c: In function 'news_fast': news.c:436:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from news.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:437:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from news.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from news.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from news.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c: In function 'news_header': news.c:47:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((NEWSLOCAL *) stream->local) ^ news.c:485:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from news.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ news.c:47:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((NEWSLOCAL *) stream->local) ^ news.c:486:21: note: in expansion of macro 'LOCAL' if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; ^ In file included from /usr/include/fcntl.h:312:0, from osdep.h:41, from news.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ news.c:498:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] 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] 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] read (fd,LOCAL->buf,sbuf.st_size); ^ `cat CCTYPE` -c `cat CFLAGS` phile.c In file included from osdep.h:60:0, from phile.c:28: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from phile.c:28:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ phile.c: In function 'phile_open': phile.c:297:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:319:45: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); ^ In file included from osdep.h:58:0, from phile.c:28: nl.h:24:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ phile.c:309:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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:0, from mh.c:27: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mh.c:27:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mh.c: In function 'mh_isvalid': mh.c:161:45: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] ((name[3] != '/') && compare_cstring (name+3,"INBOX"))) { ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from osdep.h:36:0, from mh.c:27: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ mh.c:187:15: note: expected 'const char *' but argument is of type 'unsigned char *' mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from osdep.h:36:0, from mh.c:27: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ mh.c:187:15: note: expected 'const char *' but argument is of type 'unsigned char *' mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ mh.c:187:15: note: expected 'const char *' but argument is of type 'unsigned char *' mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:22: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ In file included from mh.c:32:0: misc.h:79:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from osdep.h:36, from mh.c:27: mh.c:187:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (lcase (s),"path:")) { ^ mh.c:187:15: note: expected 'const char *' but argument is of type 'unsigned char *' 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] if (!compare_cstring (test,"#MHINBOX")) ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (test,"#MHINBOX")) ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from mh.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from mh.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c: In function 'mh_list_work': mh.c:337:21: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from mh.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:337:26: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^ In file included from env_unix.h:63:0, from osdep.h:55, from mh.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:339:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from mh.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:339:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^ In file included from env_unix.h:63:0, from osdep.h:55, from mh.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c: In function 'mh_open': mh.c:513:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"#MHINBOX"); ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:517:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = MAXMESSAGESIZE) + 1); ^ mh.c: In function 'mh_fast': mh.c:562:32: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:563:28: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mh.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c: In function 'mh_header': mh.c:48:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:595:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:596:21: note: in expansion of macro 'LOCAL' if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return ""; ^ In file included from /usr/include/fcntl.h:312:0, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:608:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:39:0, from mh.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mh.c:688:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:39:0, from mh.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:726:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:729:19: note: in expansion of macro 'LOCAL' if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^ In file included from /usr/include/fcntl.h:312:0, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:751:16: note: in expansion of macro 'LOCAL' mh_setdate (LOCAL->buf,elt); ^ mh.c:82:6: note: expected 'char *' but argument is of type 'unsigned char *' void mh_setdate (char *file,MESSAGECACHE *elt); ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:758:14: note: in expansion of macro 'LOCAL' unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:37:0, from mh.c:27: /usr/include/unistd.h:829:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c: In function 'mh_expunge': mh.c:48:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:808:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:809:19: note: in expansion of macro 'LOCAL' if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:37:0, from mh.c:27: /usr/include/unistd.h:829:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:810:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:812:10: note: in expansion of macro 'LOCAL' mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:26:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:828:14: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:829:13: note: in expansion of macro 'LOCAL' mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:26:0: mail.h:1502:6: note: expected 'char *' but argument is of type 'unsigned char *' 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] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence)) ^ In file included from mh.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:859:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mh.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:48:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:860:18: note: in expansion of macro 'LOCAL' if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^ In file included from /usr/include/fcntl.h:312:0, from osdep.h:41, from mh.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:873:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"#mhinbox")) mh_create (NIL,"INBOX"); ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:39:0, from mh.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mh.c:938:47: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:39:0, from mh.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mh.c:956:34: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mh.c:26:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mh.c: In function 'mh_file': mh.c:1034:22: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1034:27: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (name,"#MHINBOX") ? name + 4 : "inbox"); ^ In file included from mh.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mh.c: In function 'mh_isvalid': mh.c:179:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] read (fd,LOCAL->buf,sbuf.st_size); ^ mh.c: In function 'mh_copy': mh.c:876:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,sbuf.st_size); ^ `cat CCTYPE` -c `cat CFLAGS` mx.c In file included from osdep.h:60:0, from mx.c:27: flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mx.c:27:0: osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mx.c: In function 'mx_list_work': mx.c:259:16: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && ^ In file included from env_unix.h:63:0, from osdep.h:55, from mx.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mx.c:259:21: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && !stat (curdir,&sbuf) && ^ In file included from env_unix.h:63:0, from osdep.h:55, from mx.c:27: env.h:24:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from mx.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] else if (!strcmp (d->d_name,MXINDEXNAME+1) && pmatch_full (dir,pat,'/')) ^ In file included from env_unix.h:63:0, from osdep.h:55, from mx.c:27: env.h:23:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mx.c: In function 'mx_create': mx.c:327:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (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] if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (old,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c: In function 'mx_open': mx.c:436:37: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mx.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mx.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:440:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence))) ^ In file included from mx.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c: In function 'mx_fast_work': mx.c:49:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:507:12: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:509:11: note: in expansion of macro 'LOCAL' stat (LOCAL->buf,&sbuf); /* get size of message */ ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/sys/stat.h:452:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mx.c:49:15: warning: pointer targets in return differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:519:10: note: in expansion of macro 'LOCAL' return LOCAL->buf; /* return file name */ ^ mx.c: In function 'mx_header': mx.c:549:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ mx.c:49:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:564:43: note: in expansion of macro 'LOCAL' cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^ In file included from mx.c:32:0: misc.h:81:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c:49:15: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:565:41: note: in expansion of macro 'LOCAL' cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^ In file included from mx.c:32:0: misc.h:81:7: note: expected 'char *' but argument is of type 'unsigned char *' 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] long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); ^ In file included from osdep.h:39:0, from mx.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:647:56: warning: passing argument 4 of 'scandir' from incompatible pointer type [-Wincompatible-pointer-types] long nfiles = scandir (LOCAL->dir,&names,mx_select,mx_numsort); ^ In file included from osdep.h:39:0, from mx.c:27: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:687:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:690:19: note: in expansion of macro 'LOCAL' if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^ In file included from /usr/include/fcntl.h:312:0, from osdep.h:41, from mx.c:27: /usr/include/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:713:16: note: in expansion of macro 'LOCAL' mx_setdate (LOCAL->buf,elt); ^ mx.c:86:6: note: expected 'char *' but argument is of type 'unsigned char *' void mx_setdate (char *file,MESSAGECACHE *elt); ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:718:14: note: in expansion of macro 'LOCAL' unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:37:0, from mx.c:27: /usr/include/unistd.h:829:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c: In function 'mx_expunge': mx.c:49:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:765:11: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:766:14: note: in expansion of macro 'LOCAL' if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:37:0, from mx.c:27: /usr/include/unistd.h:829:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:767:13: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:769:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mx.c:49:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:769:12: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:785:16: note: in expansion of macro 'LOCAL' sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mx.c:22: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:49:15: warning: pointer targets in passing argument 1 of 'lockslavep != 0 ? &slave_log : &mm_log' differ in signedness [-Wpointer-sign] #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:786:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ mx.c:49:15: note: expected 'char *' but argument is of type 'unsigned char *' #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:786:15: note: in expansion of macro 'LOCAL' MM_LOG (LOCAL->buf,(long) NIL); ^ 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] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:26:0: mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' 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] mail_sequence (stream,sequence)) ^ In file included from mx.c:26:0: mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:823:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:32:0: misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' 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] if (!mail_parse_date (&selt,date)) { ^ In file included from mx.c:26:0: mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' 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' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mx.c: In function 'mx_header': mx.c:552:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,elt->rfc822_size); ^ mx.c: In function 'mx_copy': mx.c:826:2: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] 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] 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] 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:0, from ../c-client/c-client.h:34, from mtest.c:31: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from ../c-client/c-client.h:34:0, from mtest.c:31: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #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] ucase (tmp); ^ In file included from ../c-client/c-client.h:38:0, from mtest.c:31: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' 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] switch (*ucase (cmd)) { /* dispatch based on command */ ^ In file included from ../c-client/c-client.h:38:0, from mtest.c:31: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mtest.c: In function 'overview_header': mtest.c:370:28: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&selt,ov->date); ^ In file included from ../c-client/c-client.h:33:0, from mtest.c:31: ../c-client/mail.h:1589:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtest.c: In function 'prompt': mtest.c:585:3: warning: implicit declaration of function 'gets' [-Wimplicit-function-declaration] gets (txt); ^ mtest.c: In function 'smtptest': mtest.c:778:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg->date = (char *) fs_get (1+strlen (line)); ^ mtest.c:779:11: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (msg->date,line); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from mtest.c:28: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/c-client/osdep.c:302: warning: the use of `tmpnam' is dangerous, better use `mkstemp' mtest.o: In function `smtptest': /usr/src/RPM/BUILD/imap-2004g/mtest/mtest.c:767: warning: the `gets' function is dangerous and should not be used. 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:0, from ../c-client/c-client.h:34, from ipop2d.c:30: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from ../c-client/c-client.h:34:0, from ipop2d.c:30: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #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] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:38:0, from ipop2d.c:30: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ ipop2d.c: In function 'c_fold': ipop2d.c:330:10: warning: unused variable 'mb' [-Wunused-variable] NETMBX mb; ^ ipop2d.c:329:9: warning: unused variable 's' [-Wunused-variable] char *s = NIL,tmp[2*TMPLEN]; ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/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:0, from ../c-client/c-client.h:34, from ipop3d.c:29: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from ../c-client/c-client.h:34:0, from ipop3d.c:29: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #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] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:38:0, from ipop3d.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ ipop3d.c: In function 'pass_login': ipop3d.c:564:8: warning: unused variable 'tmp' [-Wunused-variable] char tmp[TMPLEN]; ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/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:0, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from ../c-client/c-client.h:34:0, from imapd.c:29: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ imapd.c: In function 'main': imapd.c:264:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:264:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((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] rfc822_date (tmp); /* get date/time at startup */ ^ In file included from ../c-client/env_unix.h:63:0, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:26:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_date (char *date); ^ imapd.c:285:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (proxy,'\n')) *s = '\0'; ^ imapd.c:292:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = myusername_full (&i); /* get user name and flags */ ^ imapd.c:300:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = "ANONYMOUS"; ^ imapd.c:304:22: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:304:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ imapd.c:305:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); /* set fake password */ ^ imapd.c:314:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:326:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:340:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (cmdbuf,CMDLEN); /* slurp command */ ^ imapd.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:347:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (cmdbuf,'\012')) { ^ imapd.c:347:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:348:23: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:348:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:348:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:354:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,t ? (char *) cmdbuf : "*"); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __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] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:357:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] else if (!(tag = strtok (cmdbuf," \015\012"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:364:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!(cmd = strtok (NIL," \015\012"))) { ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:376:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:376:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^ imapd.c:376:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:376:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:376:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^ imapd.c:376:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:376:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^ imapd.c:376:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:376:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"UID") && strtok (NIL," \015\012")) { ^ imapd.c:376:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:383:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:387:40: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (arg[i] == '{') litplus = strtoul (arg + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:391:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:391:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:391:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:391:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:391:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:391:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:391:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:391:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:391:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:391:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:396:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:396:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:396:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:396:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:396:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:396:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:396:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:396:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:396:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:396:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:408:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:408:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:408:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:408:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:408:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:408:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:408:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:408:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:408:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:408:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:430:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:430:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:430:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:430:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:430:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:430:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:430:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:430:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:430:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:430:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:439:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:439:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:439:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:439:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:439:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:439:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:439:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:439:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:439:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:439:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:440:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = imap_responder ("",0,NIL))) ^ imapd.c:444:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr ("ANONYMOUS"); ^ imapd.c:445:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:456:39: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1695:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]); ^ imapd.c:456:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ imapd.c:457:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:467:23: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (s); ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:468:40: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (s,auth->name)) auth = auth->next; ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:486:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:486:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:486:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:486:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:486:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:486:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:486:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:486:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:486:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:486:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:490:26: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:490:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ imapd.c:491:19: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:491:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:514:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:514:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:514:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:516:24: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:63:0, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:516:29: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:63:0, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:516:34: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:63:0, from ../c-client/osdep.h:55, from ../c-client/c-client.h:34, from imapd.c:29: ../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:528:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:528:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:528:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:528:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:528:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:528:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:528:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:528:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:528:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:528:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:15: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:15: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:538:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:40: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:538:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:538:40: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:538:40: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:539:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:539:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:539:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:542:39: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign] mail_sequence (stream,s)) fetch (t,uid); ^ imapd.c:129:6: note: expected 'char *' but argument is of type 'unsigned char *' void fetch (char *t,unsigned long uid); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:546:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:546:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:546:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:546:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:546:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:546:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:546:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:548:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:548:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:548:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:549:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strtok (NIL,"\015\012")))) response = misarg; ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:554:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:554:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:554:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:554:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:554:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:554:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:554:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:16: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen"); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:557:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) ^ imapd.c:558:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (v) < ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:559:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:561:13: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:108:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:561:15: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:108:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:563:26: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:563:28: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:565:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:565:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:565:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:565:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:48: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:565:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:565:48: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:565:48: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:567:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:567:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:567:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:567:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:567:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:567:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:573:24: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:573:26: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:584:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:584:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:584:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:584:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:584:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:584:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:584:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:584:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:584:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:584:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:594:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:594:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^ imapd.c:594:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:594:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:594:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^ imapd.c:594:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:594:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^ imapd.c:594:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:594:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"EXPUNGE"))) { ^ imapd.c:594:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:604:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:604:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:604:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:604:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:604:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:604:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:619:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:14: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:619:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:14: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:14: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:619:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:38: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:619:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:619:38: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:619:38: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:621:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:621:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:621:48: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:628:37: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1575:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:628:39: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1575:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:635:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:635:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:635:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:635:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:635:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:635:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:635:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:637:47: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:637:47: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:637:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:645:24: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:645:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:650:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:650:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:650:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:650:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:650:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:650:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:650:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:650:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:650:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:650:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:652:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok (NIL," "))) { ^ imapd.c:653:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ""; /* end of attributes */ ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:657:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:657:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:657:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:657:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:657:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:657:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:657:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:657:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:657:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:657:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:658:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:658:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:658:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:658:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:658:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:658:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:658:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:658:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:658:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:658:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:659:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:659:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:659:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:659:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:659:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:659:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:659:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:659:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:659:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:659:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:660:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:660:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:660:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:660:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:660:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:660:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:660:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:660:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:660:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:660:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:661:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:661:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:661:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:661:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:661:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:661:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:661:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:661:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:661:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:661:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:662:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:662:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:662:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:662:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:662:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:662:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:662:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:663:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:663:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:663:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:663:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:663:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:663:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:663:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:663:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:663:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:663:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:665:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (s = strtok (NIL," ")); ^ imapd.c:669:55: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg && ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:692:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:692:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:46: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:692:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:692:46: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:692:46: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:697:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:697:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ imapd.c:698:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012")))) ^ imapd.c:704:36: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign] if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1632:13: note: expected 'char *' but argument is of type 'unsigned char *' THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:717:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:717:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:717:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:27: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:717:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:53: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:717:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:717:53: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:717:53: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:732:46: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s = snarf (&arg)) charset = cpystr (s); ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:763:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:763:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:763:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:763:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:43: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:763:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:43: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:763:43: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:764:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:764:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:764:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:764:11: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:764:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:764:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:764:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:764:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:764:11: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:764:11: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:768:41: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:174:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^ imapd.c:768:45: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:174:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^ imapd.c:768:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:768:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:769:40: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign] DRIVER *factory = mail_valid (NIL,s,NIL); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1514:9: note: expected 'char *' but argument is of type 'unsigned char *' DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); ^ imapd.c:779:31: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] (stream = mail_open (stream,s,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^ imapd.c:785:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = mail_fetch_text (stream,1,NIL,&i,NIL)) && ^ imapd.c:788:12: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:123:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:788:16: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:790:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:790:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:790:20: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:790:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:790:20: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:790:20: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:790:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:790:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:790:20: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:790:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:790:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:792:33: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^ imapd.c:805:40: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (!factory && isnewsproxy (s)) { ^ imapd.c:175:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:806:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:807:35: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] stream = mail_open (stream,tmp,f); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^ imapd.c:810:38: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] else stream = mail_open (stream,s,f); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1528:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *oldstream,char *name,long options); ^ imapd.c:816:32: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"#MHINBOX")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:818:50: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else lastsel = cpystr (compare_cstring (s,"INBOX") ? ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:839:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:839:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:839:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:839:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:839:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:839:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:839:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:839:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:839:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:839:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:849:37: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign] if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) { ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1579:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:865:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:865:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:865:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:865:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:865:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:865:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:865:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:871:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:871:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:872:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:872:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:872:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:874:26: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,"",tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:877:26: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:877:28: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:883:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:883:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:889:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:889:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:890:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:890:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:890:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:892:26: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1518:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:892:28: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1518:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:892:30: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1518:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:898:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:898:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:898:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:898:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:44: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:898:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:898:44: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:898:44: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:904:21: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:904:23: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:905:28: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:905:30: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:905:32: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:176:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:905:59: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ In file included from imapd.c:30:0: ../c-client/newsrc.h:29:6: note: expected 'char *' but argument is of type 'unsigned char *' void newsrc_lsub (MAILSTREAM *stream,char *pattern); ^ imapd.c:906:26: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1520:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:906:28: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1520:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:913:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:913:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:913:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:913:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:913:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:913:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:913:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:913:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:913:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:913:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:916:30: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:916:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (cmd = ucase (s)) && ^ imapd.c:917:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg)))) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:921:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:921:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:921:22: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:921:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:921:22: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:921:22: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:921:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:921:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:921:22: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:921:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:923:25: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s)) { ^ imapd.c:173:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:926:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:926:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ imapd.c:926:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:926:19: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:926:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ imapd.c:926:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:926:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ imapd.c:926:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:926:19: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ imapd.c:926:19: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:926:70: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"MAILBOXES") && !anonymous) mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1520:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:927:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:927:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^ imapd.c:927:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:927:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:927:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^ imapd.c:927:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:927:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^ imapd.c:927:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:927:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"ALL.MAILBOXES")) { ^ imapd.c:927:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:930:27: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1519:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:939:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:939:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:939:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:939:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:939:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:939:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:939:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:941:16: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:941:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:941:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:947:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:947:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:949:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:949:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:949:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:949:21: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:949:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:949:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:949:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:949:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:949:21: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:949:21: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:950:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:950:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:950:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:950:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:950:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:950:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:950:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:950:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:950:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:950:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:951:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:951:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:951:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:951:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:951:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:951:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:951:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:951:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:951:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:951:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:952:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:952:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:952:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:952:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:952:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:952:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:952:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:952:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:952:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:952:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:953:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:953:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:953:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:953:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:953:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:953:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:953:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:953:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:953:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:953:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:956:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:959:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok (NIL," ")); ^ imapd.c:962:30: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:962:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:963:35: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:963:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:966:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:966:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:966:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:36: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:966:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:966:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:966:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:36: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:966:36: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:967:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:967:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:967:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:967:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:967:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:967:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:967:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:967:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:967:26: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:967:26: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:972:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:977:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:977:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:979:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:979:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:983:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:983:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:986:26: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:986:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:988:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:988:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:991:16: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (tmp,")\015\012"); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:146:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:993:18: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign] pastring (s); ^ imapd.c:161:6: note: expected 'char *' but argument is of type 'unsigned char *' void pastring (char *s); ^ imapd.c:994:15: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:996:33: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] else if (!mail_status (NIL,s,f)) response = lose; ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1526:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1003:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1003:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1003:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1003:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1003:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1003:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1003:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1003:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1003:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1003:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1007:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1010:31: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1521:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1012:26: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ imapd.c:175:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1012:49: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ In file included from imapd.c:30:0: ../c-client/newsrc.h:30:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^ imapd.c:1013:29: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1521:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1018:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1018:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1018:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1018:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1018:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1018:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1018:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1018:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1018:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1018:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1022:29: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:98:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1025:28: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ imapd.c:175:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1025:51: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ In file included from imapd.c:30:0: ../c-client/newsrc.h:30:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^ imapd.c:1026:33: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1522:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1028:31: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1522:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1033:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1033:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1033:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1033:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1033:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1033:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1033:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1033:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1033:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1033:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1084:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1084:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1084:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1084:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1084:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1084:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1084:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1084:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1084:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1084:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1087:26: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign] else mail_create (NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1523:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_create (MAILSTREAM *stream,char *mailbox); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1092:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1092:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1092:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1092:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1092:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1092:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1092:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1092:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1092:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1092:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1095:26: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign] else mail_delete (NIL,s); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1524:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_delete (MAILSTREAM *stream,char *mailbox); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1100:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1100:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1100:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1100:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1100:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1100:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:34: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1100:34: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1103:26: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1525:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1103:28: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1525:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1109:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1109:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1109:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1109:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1109:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1109:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1109:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1109:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1109:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1109:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* OK Timeout in %lu minutes\015\012", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1141:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1145:12: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1147:10: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* prod client to wake up */ ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1155:10: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN); ^ imapd.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n); ^ imapd.c:1166:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1167:14: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1169:14: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012", ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1171:12: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1190:16: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] if (!PSINR (tmp,i)) inerror ("reading literal"); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1732:6: note: expected 'char *' but argument is of type 'unsigned char *' long PSINR (char *s,unsigned long n); ^ imapd.c:1205:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1212:11: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1213:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* output response */ ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1217:13: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,altwin,tag,lstref ? lstref : lsterr); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1219:28: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] else if (lstref) sprintf (tmp,altlose,tag,lstref); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1221:16: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] else sprintf (tmp,response,tag,cmd,lasterror ()); ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1223:9: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* output response */ ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1735:5: note: expected 'char *' but argument is of type 'unsigned char *' 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] if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) { ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:1691:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:1691:16: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:1583:6: note: expected 'char *' but argument is of type 'unsigned char *' void inliteral (char *s,unsigned long n) ^ imapd.c:1693:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (*arg = t,CMDLEN - (t - cmdbuf)); ^ imapd.c:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1694:18: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (t,'\012')) return flush (); ^ imapd.c:1694:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1696:18: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!strtok (t,"\015\012")) *t = '\0'; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 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] if (((i = strlen (t)) > 3) && (t[i - 1] == '}') && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1702:43: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (t[i] == '{') litplus = strtoul (t + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:1640:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^ imapd.c:1772:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:1784:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = *s) { /* need to reload strtok() state? */ ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c: In function 'parse_criterion': imapd.c:1846:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:1846:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1846:27: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:1846:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1846:27: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ /usr/include/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:1846:27: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ /usr/include/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:1846:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:1846:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1846:27: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:1846:27: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1846:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1862:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1862:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:1862:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1862:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1862:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:1862:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1862:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:1862:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1862:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:1862:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1863:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1863:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:1863:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1863:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1863:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:1863:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1863:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:1863:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1863:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:1863:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1867:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1867:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:1867:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1867:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1867:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:1867:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1867:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:1867:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1867:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:1867:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1869:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1869:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:1869:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1869:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1869:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:1869:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1869:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:1869:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1869:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:1869:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1871:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1871:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:1871:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1871:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1871:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:1871:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1871:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:1871:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1871:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:1871:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1875:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1875:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:1875:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1875:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1875:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:1875:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1875:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:1875:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1875:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:1875:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1879:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1879:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:1879:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1879:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1879:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:1879:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1879:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:1879:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1879:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:1879:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1880:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1880:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:1880:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1880:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1880:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:1880:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1880:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:1880:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1880:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:1880:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1883:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:1883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1883:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:1883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:1883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1883:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:1883:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1884:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1884:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:1884:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1884:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1884:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:1884:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1884:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:1884:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1884:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:1884:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1888:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1888:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:1888:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1888:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1888:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:1888:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1888:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:1888:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1888:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:1888:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1892:31: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1667:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:1892:33: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1667:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1899:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1899:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:1899:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1899:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1899:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:1899:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1899:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:1899:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1899:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:1899:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1903:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1903:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:1903:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1903:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1903:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:1903:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1903:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:1903:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1903:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:1903:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1907:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1907:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:1907:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1907:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1907:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:1907:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1907:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:1907:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1907:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:1907:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1908:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1908:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:1908:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1908:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1908:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:1908:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1908:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:1908:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1908:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:1908:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1916:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1916:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:1916:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1916:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1916:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:1916:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1916:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:1916:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1916:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:1916:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1917:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1917:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:1917:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1917:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1917:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:1917:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1917:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:1917:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1917:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:1917:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1919:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1919:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:1919:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1919:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1919:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:1919:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1919:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:1919:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1919:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:1919:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1928:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1928:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:1928:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1928:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1928:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:1928:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1928:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:1928:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1928:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:1928:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1931:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1931:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:1931:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1931:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1931:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:1931:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1931:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:1931:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1931:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:1931:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1932:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1932:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:1932:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1932:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1932:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:1932:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1932:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:1932:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1932:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:1932:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1934:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1934:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:1934:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1934:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1934:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:1934:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1934:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:1934:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1934:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:1934:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1936:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1936:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:1936:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1936:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1936:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:1936:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1936:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:1936:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1936:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:1936:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1938:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1938:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:1938:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1938:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1938:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:1938:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1938:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:1938:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1938:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:1938:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1940:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1940:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:1940:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1940:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1940:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:1940:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1940:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:1940:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1940:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:1940:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1942:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1942:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:1942:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1942:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1942:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:1942:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1942:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:1942:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1942:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:1942:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1946:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1946:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:1946:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1946:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1946:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:1946:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1946:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:1946:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1946:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:1946:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1948:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1948:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:1948:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1948:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1948:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:1948:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1948:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:1948:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1948:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:1948:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1953:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1953:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:1953:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1953:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1953:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:1953:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1953:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:1953:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1953:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:1953:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1962:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1962:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:1962:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1962:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1962:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:1962:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1962:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:1962:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1962:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:1962:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1963:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1963:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:1963:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1963:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1963:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:1963:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1963:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:1963:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1963:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:1963:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1964:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1964:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:1964:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1964:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1964:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:1964:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1964:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:1964:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1964:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:1964:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1965:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1965:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:1965:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1965:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1965:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:1965:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1965:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:1965:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1965:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:1965:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1966:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1966:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:1966:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1966:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1966:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:1966:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1966:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:1966:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1966:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:1966:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1968:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1968:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:1968:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1968:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:1968:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:1968:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1968:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:1968:25: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1968:25: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:1968:25: note: expected 'const char *' but argument is of type 'unsigned char *' 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] char *s = parse_astring (arg,&i,&c); ^ imapd.c:1640:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^ imapd.c:2126:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^ imapd.c:2136:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*arg) *arg = (char *) (*string)->text.data + i; ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c: In function 'fetch_work': imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2183:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2183:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2183:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2183:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2183:16: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2189:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (list && (i = strlen (s)) && (s[i-1] == ')')) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2195:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2195:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2195:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2195:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2195:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2195:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2195:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2195:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2195:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2195:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2198:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2198:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2198:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2198:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2198:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2198:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2198:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2198:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2198:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2198:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2199:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2199:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2199:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2199:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2199:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2199:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2199:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2199:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2199:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2199:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2200:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2200:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2200:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2200:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2200:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2200:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2200:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2200:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2200:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2200:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2201:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2201:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2201:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2201:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2201:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2201:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2201:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2201:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2201:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2201:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2205:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2205:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2205:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2205:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2205:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2205:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2205:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2205:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2205:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2205:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2209:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2209:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2209:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2209:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2209:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2209:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2209:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2209:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2209:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2209:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2213:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2213:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2213:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2213:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2213:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2213:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2213:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2213:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2213:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2213:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2217:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2217:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2217:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2217:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2217:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2217:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2217:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2217:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2217:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2217:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2218:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2218:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2218:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2218:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2218:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2218:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2218:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2218:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2218:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2218:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:24: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:24: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:24: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:24: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:50: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2223:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:50: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2223:50: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2223:50: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:45: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2224:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:45: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2224:45: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2224:45: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2225:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2225:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2225:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2225:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2225:17: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2225:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2225:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2225:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2225:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2225:17: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2225:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2225:17: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2265:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2265:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2265:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2265:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2265:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2265:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2265:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2265:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2265:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2265:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2265:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2265:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2278:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2278:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2278:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2278:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2278:18: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2278:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2278:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2278:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2278:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2278:18: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2278:18: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2278:18: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2283:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2283:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2283:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2283:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2283:20: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2283:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2283:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2283:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2283:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2283:20: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2283:20: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2283:20: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2285:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2285:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2285:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2285:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2285:22: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2285:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2285:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2285:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2285:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2285:22: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2285:22: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2285:22: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2289:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*v || !(v = strtok (NIL,"\015\012")) || ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2297:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2297:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2297:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2297:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2297:23: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:2297:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2297:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2297:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2297:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2297:23: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2297:23: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2297:23: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2320:48: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) || ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2322:45: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) && ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2333:10: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] strtok (v," "); /* reset strtok mechanism */ ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2340:12: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] strtok (v," "); /* reset strtok mechanism */ ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' 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] if (s && *s) ta->section = cpystr (s); ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:2358:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list); ^ imapd.c: In function 'fetch_body_part_binary': imapd.c:2494:38: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] BODY *body = mail_body (stream,i,ta->section); ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1585:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imapd.c: In function 'penv': imapd.c:2919:15: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign] pnstring (env->date); /* output envelope fields */ ^ imapd.c:160:6: note: expected 'char *' but argument is of type 'unsigned char *' void pnstring (char *s); ^ imapd.c: In function 'nameok': imapd.c:3440:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; ^ imapd.c:3440:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; ^ imapd.c:3450:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; ^ imapd.c:3450:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; ^ imapd.c: In function 'imap_responder': imapd.c:3556:70: warning: pointer targets in return differ in signedness [-Wpointer-sign] if (!(t = (unsigned char *) strchr ((char *) resp,'\012'))) return flush (); ^ imapd.c: In function 'proxycopy': imapd.c:3586:28: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1653:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c:3586:62: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^ In file included from ../c-client/c-client.h:33:0, from imapd.c:29: ../c-client/mail.h:1652:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c: In function 'append_msg': imapd.c:3690:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] 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] if (*arg == '"') *date = ad->date = cpystr (snarf (&arg)); ^ In file included from ../c-client/c-client.h:38:0, from imapd.c:29: ../c-client/misc.h:80:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:3702:27: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (arg+1,&t,10))) ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:3710:12: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf)); ^ imapd.c:1567:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from ../c-client/c-client.h:34, from imapd.c:29: imapd.c:3711:17: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr (ad->arg,'\012')) { ^ imapd.c:3711:17: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:3713:20: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0'; ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:343:14: note: expected 'char * restrict' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:3715:25: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') && ^ In file included from ../c-client/osdep.h:36:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:3719:44: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (ad->arg[j] == '{') litplus = strtoul (ad->arg + j + 1,NIL,10); ^ In file included from ../c-client/osdep.h:35:0, from ../c-client/c-client.h:34, from imapd.c:29: /usr/include/stdlib.h:187:26: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 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] strncpy (password,pass,256); /* and password */ ^ In file included from /usr/include/features.h:368:0, from /usr/include/stdio.h:27, from imapd.c:23: /usr/include/bits/string3.h:123:1: note: expected 'const char * restrict' but argument is of type 'unsigned char *' __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` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/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:0, from mailutil.c:26: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from mailutil.c:26:0: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ mailutil.c: In function 'mbxcopy': mailutil.c:407:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] 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] 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` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/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' [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^ mlock.c:53:3: warning: implicit declaration of function '_exit' [-Wimplicit-function-declaration] _exit (code); /* sayonara */ ^ mlock.c:53:3: warning: incompatible implicit declaration of built-in function '_exit' mlock.c: In function 'main': mlock.c:68:31: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) die ("not setgid mail",EX_USAGE); ^ mlock.c:71:9: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] len = strlen (argv[2]); /* make buffers */ ^ mlock.c:71:9: warning: incompatible implicit declaration of built-in function 'strlen' 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] t = time (0); /* get the time now */ ^ mlock.c:100:23: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^ mlock.c:102:5: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^ mlock.c:107:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^ mlock.c:108:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] link (hitch,lock); /* tie hitching-post to lock, ignore failure */ ^ mlock.c:110:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (hitch); /* flush hitching post */ ^ mlock.c:120:20: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^ mlock.c:123:2: warning: incompatible implicit declaration of built-in function '_exit' _exit (EX_CANTCREAT); ^ mlock.c:128:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^ `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:0, from dmail.c:29: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from dmail.c:29:0: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c: In function 'deliver': dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from ../c-client/osdep.h:36:0, from dmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:39: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ dmail.c:211:39: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:39: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ dmail.c:211:39: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:39: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from ../c-client/osdep.h:36:0, from dmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:39: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ dmail.c:211:39: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:46: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:211:39: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!*mailbox || !strcmp ("INBOX",ucase (strcpy (tmp,mailbox)))) ^ dmail.c:211:39: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c: In function 'mm_notify': dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:36:0, from dmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:533:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:36:0, from dmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:533:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:533:16: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from dmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from dmail.c:29: dmail.c:533:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:533:16: note: expected 'const char *' but argument is of type 'unsigned char *' 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] 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` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/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:0, from tmail.c:29: ../c-client/flocksim.h:22:0: warning: "flock" redefined #define flock flocksim /* use ours instead of theirs */ ^ In file included from tmail.c:29:0: ../c-client/osdep.h:52:0: note: this is the location of the previous definition #define flock safe_flock ^ tmail.c: In function 'deliver': tmail.c:260:5: warning: implicit declaration of function 'initgroups' [-Wimplicit-function-declaration] initgroups (user,pwd->pw_gid); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c: In function 'getusername': tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from ../c-client/osdep.h:36:0, from tmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:34: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ tmail.c:567:34: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:34: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ tmail.c:567:34: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:34: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from ../c-client/osdep.h:36:0, from tmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:34: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ tmail.c:567:34: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:41: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:567:34: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!**t || !strcmp ("INBOX",ucase (strcpy (tmp,*t)))) *t = NIL; ^ tmail.c:567:34: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c: In function 'mm_notify': tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:36:0, from tmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:664:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:16: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/osdep.h:36:0, from tmail.c:29: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:664:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:664:16: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:23: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from tmail.c:30:0: ../c-client/misc.h:78:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ In file included from /usr/include/string.h:648:0, from ../c-client/osdep.h:36, from tmail.c:29: tmail.c:664:16: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:664:16: note: expected 'const char *' but argument is of type 'unsigned char *' 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] 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] 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` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /usr/src/RPM/BUILD/imap-2004g/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.26096 + 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 + 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) Compressing files in /usr/src/tmp/uw-imap-buildroot (auto) Adjusting library links in /usr/src/tmp/uw-imap-buildroot ./var/lib: ./usr/lib64: 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) Hardlinking identical .pyc and .pyo files Processing files: uw-imap-2004g-alt3.1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.78983 + 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.geR0hF find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ywjguV find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.UqId7g 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.SEl4zF Provides: IMAPD = uw-imap:2004g-alt3.1.qa1, POP3D = uw-imap:2004g-alt3.1.qa1, 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.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libcrypto.so.10()(64bit) >= set:qmvV2AQSxRXiU0qZqScBt7uksT56RFkl3wvjHghfh, libpam(substack), libpam.so.0()(64bit) >= set:jg5sOFGjKLOi2JaZk, libpam.so.0(LIBPAM_1.0)(64bit), libssl.so.10()(64bit) >= set:nih5guowPnz8RWFaSrIrhnJeQFS20MZ3SpZq9wPvQ2jWPqrfAvzBwHKYz6sv3iCJbdZqbFQ4n4xXnGZ6wa0Rbc3, pam0(system-auth), rtld(GNU_HASH) Requires(interp): /bin/sh, /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(post): /var/lib/ssl, /bin/sh, /sbin/service, coreutils, sh Requires(postun): /bin/sh, /sbin/service Conflicts: IMAPD < uw-imap:2004g-alt3.1.qa1, IMAPD > uw-imap:2004g-alt3.1.qa1, POP3D < uw-imap:2004g-alt3.1.qa1, POP3D > uw-imap:2004g-alt3.1.qa1, 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.6G4RP6 Creating uw-imap-debuginfo package Processing files: uw-imap-devel-2004g-alt3.1.qa1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.29962 + 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.YLQC3A find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.I8NF77 find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks) /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h:27:64: fatal error: machine/endian.h: No such file or directory compilation terminated. cpp.req: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_bsd.h: cpp failed, trying c++ mode x86_64-alt-linux-cpp: error trying to exec 'cc1plus': execvp: No such file or directory 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_isc.h:23:26: fatal error: sys/bsdtypes.h: No such file or directory 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:21: fatal error: portlib.h: No such file or directory 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:18: fatal error: libc.h: No such file or directory 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_ptx.h:31:46: fatal error: stropts.h: No such file or directory 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:31: fatal error: /usr/include/unix.h: No such file or directory compilation terminated. cpp.req: WARNING: /usr/src/tmp/uw-imap-buildroot/usr/include/uw-imap/os_qnx.h: cpp failed Provides: libc-client-devel = 2004g-alt3.1.qa1 Conflicts: uw-imap < 2004g-alt3.1.qa1, uw-imap > 2004g-alt3.1.qa1 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.E5EkWP Processing files: uw-imap-debuginfo-2004g-alt3.1.qa1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.CVB8JA find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.SG9cno find-requires: running scripts (debuginfo) Requires: uw-imap = 2004g-alt3.1.qa1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libc.so.6), debug64(libcrypto.so.10), debug64(libpam.so.0), debug64(libssl.so.10) Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-2004g-alt3.1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-devel-2004g-alt3.1.qa1.x86_64.rpm Wrote: /usr/src/RPM/RPMS/x86_64/uw-imap-debuginfo-2004g-alt3.1.qa1.x86_64.rpm 22.85user 3.58system 0:40.66elapsed 65%CPU (0avgtext+0avgdata 74124maxresident)k 0inputs+0outputs (0major+1082993minor)pagefaults 0swaps 25.79user 5.47system 0:57.19elapsed 54%CPU (0avgtext+0avgdata 122124maxresident)k 0inputs+0outputs (0major+1324182minor)pagefaults 0swaps --- uw-imap-2004g-alt3.1.qa1.x86_64.rpm.repo 2013-04-18 07:10:24.000000000 +0000 +++ uw-imap-2004g-alt3.1.qa1.x86_64.rpm.hasher 2019-04-21 01:49:58.923316826 +0000 @@ -69,4 +69,4 @@ /usr/share/doc/uw-imap-2004g/rfc/rfc3691.txt 100644 -/usr/share/man/man8/imapd.8.gz 100644 -/usr/share/man/man8/ipopd.8.gz 100644 +/usr/share/man/man8/imapd.8.xz 100644 +/usr/share/man/man8/ipopd.8.xz 100644 /var/lib/ssl/certs/imapd.pem 100600 @@ -88,3 +88,3 @@ Requires: libc.so.6(GLIBC_2.7)(64bit) -Requires: libcrypto.so.10()(64bit) >= set:plvV2iqXcAClG3jMZq8r8lFqPAWCnvjH8JdIKDN +Requires: libcrypto.so.10()(64bit) >= set:qmvV2AQSxRXiU0qZqScBt7uksT56RFkl3wvjHghfh Requires: rpmlib(SetVersions)