MidnightBSD Magus

editors/pico-alpine

Mail and news client descended from Pine

Flavor Version Run OSVersion Arch License Restricted Status
2.21.9999 354 1.1 amd64 apache2 0 fail

Events

Machine Type Time Message
m1164 info 2019-02-18 01:12:52.725052 Test Started
m1164 fail 2019-02-18 01:13:42.026674 make build returned non-zero: 1
m1164 fail 2019-02-18 01:13:43.028557 Test complete.

Log

===>  Building for pico-alpine-2.21.9999
if test ! -L c-client ; then ln -s imap/c-client c-client ; fi
true
cd imap && /usr/bin/make bsf EXTRACFLAGS=" -DTLSV1_2 -I/usr/include -I/usr/local/include -O2 -pipe  -fno-strict-aliasing" EXTRALDFLAGS=" -L/usr/lib    -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo"  EXTRAAUTHENTICATORS="" EXTRASPECIALS="IP6=4 SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Building in full compliance with RFC 3501 security
+ requirements:
++ TLS/SSL encryption is supported
++ Unencrypted plaintext passwords are prohibited
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 .
touch ip6
make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include -I/usr/local/include -O2 -pipe  -fno-strict-aliasing' EXTRALDFLAGS='-L/usr/lib    -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='IP6=4 SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private' BUILDTYPE=bsf IP=6  PASSWDTYPE=pam  SPECIALS="GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam"
`ip6' is up to date.
Building c-client for bsf...
echo `cat SPECIALS` IP6=4 SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private > c-client/SPECIALS
cd c-client;make bsf EXTRACFLAGS='-DTLSV1_2 -I/usr/include -I/usr/local/include -O2 -pipe  -fno-strict-aliasing' EXTRALDFLAGS='-L/usr/lib    -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam IP6=4 SSLINCLUDE=/usr/include SSLLIB=/usr/lib SSLDIR=/etc/ssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private
make build EXTRACFLAGS='-DTLSV1_2 -I/usr/include -I/usr/local/include -O2 -pipe  -fno-strict-aliasing' EXTRALDFLAGS='-L/usr/lib    -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=bsf  SIGTYPE=psx CRXTYPE=nfs  SPOOLDIR=/var  ACTIVEFILE=/usr/local/news/lib/active  RSHPATH=/usr/bin/rsh  BASECFLAGS="-O2 -pipe  -fno-strict-aliasing"  BASELDFLAGS="-lcrypt"
sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true'
Once-only environment setup...
echo cc > CCTYPE
echo -O2 -pipe  -fno-strict-aliasing '-DTLSV1_2 -I/usr/include -I/usr/local/include -O2 -pipe  -fno-strict-aliasing' -DCHUNKSIZE=65536 > CFLAGS
echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto  -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\"  -DANONYMOUSHOME=\"/var/mail/anonymous\"  -DACTIVEFILE=\"/usr/local/news/lib/active\" -DNEWSSPOOL=\"/var/news\"  -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\"  -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\"  -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS
echo -lcrypt -L/usr/lib    -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo > LDFLAGS
echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.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 mix.o;ranlib c-client.a" > ARCHIVE
echo bsf > OSTYPE
./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy
./mkauths  ext md5 pla log
echo "  mail_versioncheck (CCLIENTVERSION);" >> linkage.c
ln -s os_bsf.h osdep.h
ln -s os_bsf.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 ip6_unix.c ip_unix.c
sh -c '(test bsf = sc5 -o bsf = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS'
PAM password authentication
echo -lpam >> LDFLAGS
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=\"/etc/ssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/private\" >> OSCFLAGS
echo "  ssl_onceonlyinit ();" >> linkage.c
echo -L/usr/lib -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 bsf SSLTYPE=none
`cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c
In file included from osdep.c:46:
In file included from ./env_unix.c:255:
./pmatch.c:41:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T;
                                          ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:198:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0)
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./auth_md5.c:201:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++);
           ^ ~~~~
./auth_md5.c:203:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    lusr = *s ? lcase (cpystr (user)) : NIL;
                       ^~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:204:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s;
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./auth_md5.c:205:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         s = ret ? NIL : strtok_r (NIL,"\015\012",&r))
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./auth_md5.c:207:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) {
                                            ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:207:35: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) {
                                  ^ ~~~~~~~~~~~~~~~
./auth_md5.c:209:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (s,user)) ret = cpystr (t);
                     ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:209:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (s,user)) ret = cpystr (t);
                                            ^
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:210:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
                                             ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:210:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t;
                                               ^~~~
/usr/include/string.h:81:39: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                                          ^
In file included from osdep.c:46:
In file included from ./env_unix.c:259:
In file included from ./auths.c:2:
./auth_md5.c:213:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!ret && lret) ret = cpystr (lret);
                                    ^~~~
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
In file included from osdep.c:46:
./env_unix.c:647:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  struct passwd *pw = getpwnam (user);
                                ^~~~
/usr/include/pwd.h:148:37: note: passing argument to parameter here
struct passwd   *getpwnam(const char *);
                                      ^
In file included from osdep.c:46:
./env_unix.c:651:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      pw = getpwnam (s = lcase (cpystr (user)));
                                        ^~~~
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
In file included from osdep.c:46:
./env_unix.c:651:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      pw = getpwnam (s = lcase (cpystr (user)));
                                ^~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
In file included from osdep.c:46:
./env_unix.c:651:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      pw = getpwnam (s = lcase (cpystr (user)));
                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/pwd.h:148:37: note: passing argument to parameter here
struct passwd   *getpwnam(const char *);
                                      ^
In file included from osdep.c:46:
./env_unix.c:677:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ret = pwuser (user);    /* validated, get passwd entry for user */
                      ^~~~
./env_unix.c:644:46: note: passing argument to parameter 'user' here
static struct passwd *pwuser (unsigned char *user)
                                             ^
./env_unix.c:682:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((pw = pwuser (user)) != NULL) {/* can get user? */
                         ^~~~
./env_unix.c:644:46: note: passing argument to parameter 'user' here
static struct passwd *pwuser (unsigned char *user)
                                             ^
./env_unix.c:685:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (*pwd == ' ') && pwd[1] && (ret = pwuser (s)))
                                                  ^
./env_unix.c:644:46: note: passing argument to parameter 'user' here
static struct passwd *pwuser (unsigned char *user)
                                             ^
./env_unix.c:716:58: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user);
                                                         ^~~~
./env_unix.c:644:46: note: passing argument to parameter 'user' here
static struct passwd *pwuser (unsigned char *user)
                                             ^
./env_unix.c:734:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  return pw_login (pwuser (user),authuser,user,NIL,argc,argv);
                           ^~~~
./env_unix.c:644:46: note: passing argument to parameter 'user' here
static struct passwd *pwuser (unsigned char *user)
                                             ^
./env_unix.c:773:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (user && auser && *auser && compare_cstring (auser,user)) {
                                                    ^~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:773:59: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (user && auser && *auser && compare_cstring (auser,user)) {
                                                          ^~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:776:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (auser,*t++))
                              ^~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:776:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (auser,*t++))
                                    ^~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1061:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ?
                                              ^~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1061:54: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ?
                                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1071:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) {
                                                              ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1071:67: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) {
                                                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1095:55: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) {
                                                      ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1095:59: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) {
                                                          ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1109:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (name,"INBOX")) name = "INBOX";
                              ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1109:29: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (name,"INBOX")) name = "INBOX";
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1123:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (name+1,"NBOX")) {
                          ^~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1123:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (name+1,"NBOX")) {
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1574:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (s,"set keywords") && !userFlags[0]) {
                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1574:31: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (s,"set keywords") && !userFlags[0]) {
                              ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1588:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"set new-mailbox-format") ||
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1588:28: warning: passing 'char [23]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"set new-mailbox-format") ||
                                  ^~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1589:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              !compare_cstring (s,"set new-folder-format")) {
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1589:28: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              !compare_cstring (s,"set new-folder-format")) {
                                  ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1590:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (k,"same-as-inbox")) {
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1590:30: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (k,"same-as-inbox")) {
                                    ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1592:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (!compare_cstring (d->name,"mbox"))
                                      ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1592:33: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (!compare_cstring (d->name,"mbox"))
                                              ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1595:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!compare_cstring (d->name,"dummy")) d = NIL;
                                           ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1595:38: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!compare_cstring (d->name,"dummy")) d = NIL;
                                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1599:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (k,"system-standard"))
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1599:35: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (k,"system-standard"))
                                         ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1602:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (k,"mbox")) k = "unix";
                                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1602:32: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (k,"mbox")) k = "unix";
                                      ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1613:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"set empty-mailbox-format") ||
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1613:28: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"set empty-mailbox-format") ||
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1614:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              !compare_cstring (s,"set empty-folder-format")) {
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1614:28: warning: passing 'char [24]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              !compare_cstring (s,"set empty-folder-format")) {
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1615:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (k,"invalid")) appendProto = NIL;
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1615:30: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (k,"invalid")) appendProto = NIL;
                                    ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1616:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (k,"same-as-inbox"))
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1616:35: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (k,"same-as-inbox"))
                                         ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1618:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                             compare_cstring (d->name,"dummy")) ?
                                              ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1618:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                             compare_cstring (d->name,"dummy")) ?
                                                      ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1620:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (k,"system-standard"))
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1620:35: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (k,"system-standard"))
                                         ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1624:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   d && compare_cstring (d->name,k); d = d->next);
                                         ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1624:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   d && compare_cstring (d->name,k); d = d->next);
                                                 ^
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1635:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (s,"set local-host")) {
                              ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1635:26: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (s,"set local-host")) {
                                ^~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1639:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set news-active-file")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1639:31: warning: passing 'char [21]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set news-active-file")) {
                                     ^~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1643:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set news-spool-directory")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1643:31: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set news-spool-directory")) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1647:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mh-path"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1647:31: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mh-path"))
                                     ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1649:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mh-allow-inbox"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1649:31: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mh-allow-inbox"))
                                     ^~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1651:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set news-state-file")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1651:31: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set news-state-file")) {
                                     ^~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1655:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ftp-export-directory")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1655:31: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ftp-export-directory")) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1659:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set public-home-directory")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1659:31: warning: passing 'char [26]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set public-home-directory")) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1663:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set shared-home-directory")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1663:31: warning: passing 'char [26]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set shared-home-directory")) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1667:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set system-inbox")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1667:31: warning: passing 'char [17]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set system-inbox")) {
                                     ^~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1671:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mail-subdirectory")) {
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1671:31: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mail-subdirectory")) {
                                     ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1675:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set from-widget"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1675:31: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set from-widget"))
                                     ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1677:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           compare_cstring (k,"header-only") ?
                                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1677:26: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           compare_cstring (k,"header-only") ?
                                              ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1680:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set rsh-command"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1680:31: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set rsh-command"))
                                     ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1682:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set rsh-path"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1682:31: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set rsh-path"))
                                     ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1684:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ssh-command"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1684:31: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ssh-command"))
                                     ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1686:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ssh-path"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1686:31: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ssh-path"))
                                     ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1688:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set tcp-open-timeout"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1688:31: warning: passing 'char [21]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set tcp-open-timeout"))
                                     ^~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1690:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set tcp-read-timeout"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1690:31: warning: passing 'char [21]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set tcp-read-timeout"))
                                     ^~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1692:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set tcp-write-timeout"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1692:31: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set tcp-write-timeout"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1694:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set rsh-timeout"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1694:31: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set rsh-timeout"))
                                     ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1696:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ssh-timeout"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1696:31: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ssh-timeout"))
                                     ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1698:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set maximum-login-trials"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1698:31: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set maximum-login-trials"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1700:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set lookahead"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1700:31: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set lookahead"))
                                     ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1702:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set prefetch"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1702:31: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set prefetch"))
                                     ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1704:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set close-on-error"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1704:31: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set close-on-error"))
                                     ^~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1706:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set imap-port"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1706:31: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set imap-port"))
                                     ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1708:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set pop3-port"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1708:31: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set pop3-port"))
                                     ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1710:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set uid-lookahead"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1710:31: warning: passing 'char [18]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set uid-lookahead"))
                                     ^~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1712:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set try-ssl-first"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1712:31: warning: passing 'char [18]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set try-ssl-first"))
                                     ^~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1715:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mailbox-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1715:31: warning: passing 'char [23]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set mailbox-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1717:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set directory-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1717:31: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set directory-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1719:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set lock-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1719:31: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set lock-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1721:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ftp-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1721:31: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ftp-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1723:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set public-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1723:31: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set public-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1725:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set shared-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1725:31: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set shared-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1727:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ftp-directory-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1727:31: warning: passing 'char [29]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set ftp-directory-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1729:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set public-directory-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1729:31: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set public-directory-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1731:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set shared-directory-protection"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1731:31: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set shared-directory-protection"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1733:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set dot-lock-file-timeout"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1733:31: warning: passing 'char [26]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set dot-lock-file-timeout"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1735:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set disable-fcntl-locking"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1735:31: warning: passing 'char [26]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set disable-fcntl-locking"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1737:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set disable-lock-warning"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1737:31: warning: passing 'char [25]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set disable-lock-warning"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1739:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1739:31: warning: passing 'char [35]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1741:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set hide-dot-files"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1741:31: warning: passing 'char [19]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set hide-dot-files"))
                                     ^~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1743:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set list-maximum-level"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1743:31: warning: passing 'char [23]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set list-maximum-level"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1745:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set trust-dns"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1745:31: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set trust-dns"))
                                     ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1747:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set sasl-uses-ptr-name"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1747:31: warning: passing 'char [23]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set sasl-uses-ptr-name"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1749:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set network-filesystem-stat-bug"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1749:31: warning: passing 'char [32]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set network-filesystem-stat-bug"))
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1751:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set nntp-range"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1751:31: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"set nntp-range"))
                                     ^~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1755:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"set black-box-directory") &&
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1755:28: warning: passing 'char [24]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"set black-box-directory") &&
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1757:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring(s,"set black-box-default-home-directory")&&
                                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1757:32: warning: passing 'char [37]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring(s,"set black-box-default-home-directory")&&
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1760:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set anonymous-home-directory") &&
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1760:33: warning: passing 'char [29]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set anonymous-home-directory") &&
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1767:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set CA-certificate-path"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1767:33: warning: passing 'char [24]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set CA-certificate-path"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1769:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set disable-plaintext"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1769:33: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set disable-plaintext"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1771:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set allowed-login-attempts"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1771:33: warning: passing 'char [27]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set allowed-login-attempts"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1773:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set chroot-server"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1773:33: warning: passing 'char [18]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set chroot-server"))
                                       ^~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1775:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set restrict-mailbox-access"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1775:33: warning: passing 'char [28]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set restrict-mailbox-access"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1777:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT;
                                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1777:32: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT;
                                      ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1778:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!compare_cstring (k,"otherusers"))
                                         ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1778:37: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!compare_cstring (k,"otherusers"))
                                           ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1780:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!compare_cstring (k,"all")) restrictBox = -1;
                                         ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1780:37: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!compare_cstring (k,"all")) restrictBox = -1;
                                           ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1782:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set advertise-the-world"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1782:33: warning: passing 'char [24]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set advertise-the-world"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1784:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set limited-advertise"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1784:33: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set limited-advertise"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1787:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   (s,"set disable-automatic-shared-namespaces"))
                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1787:9: warning: passing 'char [40]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   (s,"set disable-automatic-shared-namespaces"))
                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1789:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set allow-user-config"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1789:33: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set allow-user-config"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1791:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set allow-reverse-dns"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1791:33: warning: passing 'char [22]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set allow-reverse-dns"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1793:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set k5-cp-uses-service-name"))
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1793:33: warning: passing 'char [28]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set k5-cp-uses-service-name"))
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:46:
./env_unix.c:1797:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set plaintext-allowed-clients")) {
                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
In file included from osdep.c:46:
./env_unix.c:1797:33: warning: passing 'char [30]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (s,"set plaintext-allowed-clients")) {
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
In file included from osdep.c:49:
In file included from ./tcp_unix.c:26:
./ip_unix.c:130:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) {
                            ^~~~~~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
In file included from osdep.c:49:
In file included from ./tcp_unix.c:26:
./ip_unix.c:130:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netdb.h:238:30: note: passing argument to parameter here
int             getaddrinfo(const char *, const char *,
                                        ^
In file included from osdep.c:49:
In file included from ./tcp_unix.c:26:
./ip_unix.c:248:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints,
                              ^~~~~~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
In file included from osdep.c:49:
In file included from ./tcp_unix.c:26:
./ip_unix.c:248:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/netdb.h:238:30: note: passing argument to parameter here
int             getaddrinfo(const char *, const char *,
                                        ^
In file included from osdep.c:49:
./tcp_unix.c:477:43: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
  char *ret = tcp_getline_work (stream,&n,&contd);
                                          ^~~~~~
./tcp_unix.c:61:17: note: passing argument to parameter 'contd' here
                               long *contd);
                                     ^
./tcp_unix.c:485:41: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ret = tcp_getline_work (stream,&n,&contd);
                                        ^~~~~~
./tcp_unix.c:61:17: note: passing argument to parameter 'contd' here
                               long *contd);
                                     ^
osdep.c:635:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    ret = ssl_compare_hostnames (host,s) ? NIL :
                                 ^~~~
osdep.c:321:51: note: passing argument to parameter 's' here
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
                                                  ^
osdep.c:635:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    ret = ssl_compare_hostnames (host,s) ? NIL :
                                      ^
osdep.c:321:68: note: passing argument to parameter 'pat' here
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
                                                                   ^
osdep.c:643:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            (name->type = GEN_DNS) && (s = name->d.ia5->data) &&
                                         ^ ~~~~~~~~~~~~~~~~~
osdep.c:644:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ssl_compare_hostnames (host,s)) ret = NIL;
                                   ^~~~
osdep.c:321:51: note: passing argument to parameter 's' here
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
                                                  ^
osdep.c:644:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            ssl_compare_hostnames (host,s)) ret = NIL;
                                        ^
osdep.c:321:68: note: passing argument to parameter 'pat' here
static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat);
                                                                   ^
osdep.c:685:43: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
  char *ret = ssl_getline_work (stream,&n,&contd);
                                          ^~~~~~
osdep.c:323:17: note: passing argument to parameter 'contd' here
                               long *contd);
                                     ^
osdep.c:693:41: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ret = ssl_getline_work (stream,&n,&contd);
                                        ^~~~~~
osdep.c:323:17: note: passing argument to parameter 'contd' here
                               long *contd);
                                     ^
213 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mail.c
mail.c:385:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
                                                ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:385:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
                                                        ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:390:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
                                                ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:390:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
                                                        ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:395:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
                                                ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:395:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (d = maildrivers; d && compare_cstring (d->name,(char *) value);
                                                        ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:401:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                               ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:401:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                                       ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:406:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                               ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:406:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                                       ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:411:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                               ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:411:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                                       ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:416:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                               ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:416:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         a && compare_cstring (a->name,(char *) value); a = a->next);
                                       ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:803:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service)
                              ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:803:26: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service)
                                ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:804:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          lcase (strcpy (mb->service,v));
                 ^~~~~~~~~~~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
mail.c:805:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user)
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:805:31: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user)
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:807:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) &&
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:807:31: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) &&
                                     ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:813:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (s,"anonymous")) mb->anoflag = T;
                              ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:813:26: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (s,"anonymous")) mb->anoflag = T;
                                ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:814:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"debug")) mb->dbgflag = T;
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:814:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"debug")) mb->dbgflag = T;
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:815:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T;
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:815:31: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T;
                                     ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:816:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"secure")) mb->secflag = T;
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:816:31: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"secure")) mb->secflag = T;
                                     ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:817:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"norsh")) mb->norsh = T;
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:817:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"norsh")) mb->norsh = T;
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:818:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"loser")) mb->loser = T;
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:818:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"loser")) mb->loser = T;
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:819:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"tls") && !mb->notlsflag)
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:819:31: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"tls") && !mb->notlsflag)
                                     ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:821:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag)
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:821:31: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag)
                                     ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:823:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"notls") && !mb->tlsflag)
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:823:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"notls") && !mb->tlsflag)
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:825:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"tryssl"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:825:31: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"tryssl"))
                                     ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:827:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag)
                                                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:827:48: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag)
                                                      ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:829:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "tls1") 
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:829:31: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "tls1") 
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:833:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "tls1_1") 
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:833:31: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "tls1_1") 
                                     ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:836:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "tls1_2") 
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:836:31: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "tls1_2") 
                                     ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:840:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "dtls1")
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:840:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring(s, "dtls1")
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:843:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (mailssldriver && !compare_cstring (s,"novalidate-cert"))
                                                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:843:48: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (mailssldriver && !compare_cstring (s,"novalidate-cert"))
                                                      ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:846:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (mailssldriver && !compare_cstring (s,"validate-cert"));
                                                    ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:846:48: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (mailssldriver && !compare_cstring (s,"validate-cert"));
                                                      ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:849:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"imap") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:849:31: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"imap") ||
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:850:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"nntp") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:850:24: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"nntp") ||
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:851:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"pop3") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:851:24: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"pop3") ||
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:852:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"smtp") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:852:24: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"smtp") ||
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:853:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"submit"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:853:24: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"submit"))
                                     ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:854:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          lcase (strcpy (mb->service,s));
                 ^~~~~~~~~~~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
mail.c:855:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"imap2") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:855:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"imap2") ||
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:856:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"imap2bis") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:856:24: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"imap2bis") ||
                                     ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:857:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"imap4") ||
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:857:24: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"imap4") ||
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:858:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"imap4rev1"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:858:24: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 !compare_cstring (s,"imap4rev1"))
                                     ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:860:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"pop"))
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:860:31: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"pop"))
                                     ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:1033:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) {
                        ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:1033:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) {
                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:1279:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next);
                                                  ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:1279:59: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next);
                                                          ^~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:1511:48: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (stream->dtb && mail_uid_sequence (stream,sequence) &&
                                               ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mail.c:1527:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (stream->dtb && mail_sequence (stream,sequence) &&
                                           ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mail.c:1552:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ov.date = env->date;
              ^ ~~~~~~~~~
mail.c:1770:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((b = mail_body (stream,msgno,section)) &&
                                       ^~~~~~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mail.c:1861:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((b = mail_body (stream,msgno,section)) &&
                                       ^~~~~~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mail.c:1915:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(section && *section && (b = mail_body (stream,msgno,section))))
                                                            ^~~~~~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mail.c:1998:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(b = mail_body (stream,msgno,section))) return "";
                                    ^~~~~~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mail.c:2058:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((b = mail_body (stream,msgno,section)) &&
                                       ^~~~~~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mail.c:2126:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(b = mail_body (stream,msgno,section))) return NIL;
                                    ^~~~~~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mail.c:2348:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mail.c:2349:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)) &&
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mail.c:2638:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
                            ^~~~~~~~~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
mail.c:2638:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) {
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
mail.c:2757:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!(i = strtoul (section,(char **) §ion,10)) ||
                           ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2907:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
                          ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mail.c:2907:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
                                                                           ^
/usr/include/string.h:83:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
mail.c:2907:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s));
                                                               ^~~~~~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
mail.c:2913:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(m = strtoul (s,(char **) &s,10))) return NIL;
                     ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2917:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) &&
                                        ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2919:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      y = strtoul (s,(char **) &s,10);
                   ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2929:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && 
                        ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2930:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          (d = strtoul (s,(char **) &s,10)) && !*s) break;
                        ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2935:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (strlen (s) < (size_t) 5) return NIL;
                ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mail.c:2963:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      y = strtoul (s,(char **) &s,10);
                   ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2987:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    d = strtoul (s+1,(char **) &s,10);
                 ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2989:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    m = strtoul (++s,(char **) &s,10);
                 ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:2990:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0;
                               ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:3320:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!(i = strtoul (sequence,(char **) &sequence,10))) {
                            ^~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:3331:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!(j = strtoul (sequence,(char **) &sequence,10))) {
                              ^~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:3428:53: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text))
                                                           ^~~
./misc.h:107:40: note: passing argument to parameter 's1' here
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
                                       ^
mail.c:3572:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      BODY *body = mail_body (stream,msgno,section);
                                           ^~~~~~~
mail.c:2793:72: note: passing argument to parameter 'section' here
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section)
                                                                       ^
mail.c:3744:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if ((body = mail_body (stream,msgno,section)) &&
                                             ^~~~~~~
mail.c:2793:72: note: passing argument to parameter 'section' here
BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section)
                                                                       ^
mail.c:3911:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_csizedtext (stream->user_flags[i],&st->text)) {
                               ^~~~~~~~~~~~~~~~~~~~~
./misc.h:107:40: note: passing argument to parameter 's1' here
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
                                       ^
mail.c:4042:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      switch (*ucase (criterion)) {
                      ^~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
mail.c:4133:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             mail_parse_date (&elt,(char *) s->text.data) &&
                                   ^~~~~~~~~~~~~~~~~~~~~
mail.c:2889:56: note: passing argument to parameter 's' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
                                                       ^
mail.c:4389:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (env) t = env->date;
                     ^ ~~~~~~~~~
mail.c:4405:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(t && mail_parse_date (&telt,t) && 
                                            ^
mail.c:2889:56: note: passing argument to parameter 's' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
                                                       ^
mail.c:4708:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->from,s2->from);
                          ^~~~~~~~
./misc.h:105:36: note: passing argument to parameter 's1' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                   ^
mail.c:4708:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->from,s2->from);
                                   ^~~~~~~~
./misc.h:105:54: note: passing argument to parameter 's2' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                                     ^
mail.c:4711:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->to,s2->to);
                          ^~~~~~
./misc.h:105:36: note: passing argument to parameter 's1' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                   ^
mail.c:4711:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->to,s2->to);
                                 ^~~~~~
./misc.h:105:54: note: passing argument to parameter 's2' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                                     ^
mail.c:4714:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->cc,s2->cc);
                          ^~~~~~
./misc.h:105:36: note: passing argument to parameter 's1' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                   ^
mail.c:4714:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->cc,s2->cc);
                                 ^~~~~~
./misc.h:105:54: note: passing argument to parameter 's2' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                                     ^
mail.c:4717:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->subject,s2->subject);
                          ^~~~~~~~~~~
./misc.h:105:36: note: passing argument to parameter 's1' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                   ^
mail.c:4717:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      i = compare_string (s1->subject,s2->subject);
                                      ^~~~~~~~~~~
./misc.h:105:54: note: passing argument to parameter 's2' here
int compare_string (unsigned char *s1,unsigned char *s2);
                                                     ^
mail.c:4816:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (type,t->name)) {
                          ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:4816:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (type,t->name)) {
                               ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:4860:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (compare_cstring (top->sc->subject,s->subject)) {
                             ^~~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:4860:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (compare_cstring (top->sc->subject,s->subject)) {
                                              ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5182:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) {
                                                       ^~~~~~~~
mail.c:2889:56: note: passing argument to parameter 's' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *s)
                                                       ^
mail.c:5437:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!(i = strtoul (sequence,(char **) &sequence,10)) ||
                            ^~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:5453:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!(j = strtoul (sequence,(char **) &sequence,10)) ||
                              ^~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mail.c:5508:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (t+1,"SEEN")) f |= fSEEN;
                              ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5508:28: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (t+1,"SEEN")) f |= fSEEN;
                                  ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5509:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED;
                                   ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5509:33: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED;
                                       ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5510:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED;
                                   ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5510:33: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED;
                                       ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5511:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED;
                                   ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5511:33: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED;
                                       ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5512:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT;
                                   ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5512:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT;
                                       ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5522:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (t,s)) *uf |= i = 1 << j;
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5522:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (t,s)) *uf |= i = 1 << j;
                                  ^
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5572:27: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             ((!compare_cstring (smb.host,trustdns ?
                                 ^~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5572:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             ((!compare_cstring (smb.host,trustdns ?
                                          ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:5578:27: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              (!compare_cstring (omb.host,nmb.host) &&
                                 ^~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:5578:36: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              (!compare_cstring (omb.host,nmb.host) &&
                                          ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:6151:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (auth->server && !compare_cstring (auth->name,mechanism))
                                          ^~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:6151:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (auth->server && !compare_cstring (auth->name,mechanism))
                                                     ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mail.c:6184:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism))
                                                         ^~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mail.c:6184:62: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism))
                                                                    ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
152 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` misc.c
misc.c:488:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j)
         ^ ~~~~~~~~~~~~~~~~~
1 warning generated.
`cat CCTYPE` -c `cat CFLAGS` newsrc.c
newsrc.c:173:19: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL);
                         ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
newsrc.c:173:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL);
                              ^~~~~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
newsrc.c:176:21: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (pmatch_full (name,pattern,'.'))
                           ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
newsrc.c:176:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (pmatch_full (name,pattern,'.'))
                                ^~~~~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
4 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` smanager.c
smanager.c:42:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
                        ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smanager.c:42:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smanager.c:75:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
                        ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smanager.c:75:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX";
                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
4 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` utf8.c
utf8.c:381:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (script,utf8_scvalid[i].name))
                            ^~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
utf8.c:381:36: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (script,utf8_scvalid[i].name))
                                   ^~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
utf8.c:398:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (charset,utf8_csvalid[i].name))
                            ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
utf8.c:398:37: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (charset,utf8_csvalid[i].name))
                                    ^~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
utf8.c:584:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  short iso2022jp = !compare_cstring (charset,"ISO-2022-JP");
                                      ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
utf8.c:584:47: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  short iso2022jp = !compare_cstring (charset,"ISO-2022-JP");
                                              ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
utf8.c:611:26: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            !compare_cstring (dcs->name,"ISO-2022-JP"))) ?
                                              ^~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
utf8.c:611:36: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            !compare_cstring (dcs->name,"ISO-2022-JP"))) ?
                                                        ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
utf8.c:645:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap :
                                         ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
utf8.c:645:50: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap :
                                                 ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
utf8.c:1321:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP";
                          ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
utf8.c:1321:29: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP";
                            ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
12 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` utf8aux.c
utf8aux.c:413:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (mail_utf7_valid (src)) return NIL;
                       ^~~
./mail.h:1682:30: note: passing argument to parameter 'mailbox' here
char *mail_utf7_valid (char *mailbox);
                             ^
utf8aux.c:418:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
                                     ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
utf8aux.c:418:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
                         ^~~
./misc.h:85:36: note: passing argument to parameter 'text' here
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
                                   ^
utf8aux.c:418:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) {
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` siglocal.c
`cat CCTYPE` -c `cat CFLAGS` dummy.c
dummy.c:121:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (name,"INBOX")) return &dummydriver;
                               ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:121:37: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (name,"INBOX")) return &dummydriver;
                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:182:32: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (pmatch ("INBOX",ucase (test))) {
                               ^~~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
dummy.c:182:17: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (pmatch ("INBOX",ucase (test))) {
                ^~~~~~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:221:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (s,"INBOX") &&
                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:221:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (s,"INBOX") &&
                              ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:222:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          pmatch ("INBOX",ucase (strcpy (tmp,test))))
                                 ^~~~~~~~~~~~~~~~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
dummy.c:222:12: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          pmatch ("INBOX",ucase (strcpy (tmp,test))))
                  ^~~~~~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:224:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
                            ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:224:31: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
                              ^~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:227:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT);
                         ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:227:21: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT);
                           ^~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:288:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
                                      ^~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:288:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
                                          ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:288:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
                                                               ^~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:288:68: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX"))
                                                                   ^~~~~~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:302:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((pmatch_full (strcpy (path,tmp),pat,'/') ||
                          ^~~~~~~~~~~~~~~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:302:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((pmatch_full (strcpy (path,tmp),pat,'/') ||
                                            ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:303:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             pmatch_full (strcat (path,"/"),pat,'/') ||
                          ^~~~~~~~~~~~~~~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:303:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             pmatch_full (strcat (path,"/"),pat,'/') ||
                                            ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:304:15: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             dmatch (path,pat,'/')) &&
                     ^~~~
./env.h:30:29: note: passing argument to parameter 's' here
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
                            ^
dummy.c:304:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             dmatch (path,pat,'/')) &&
                          ^~~
./env.h:30:46: note: passing argument to parameter 'pat' here
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
                                             ^
dummy.c:313:19: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!pmatch (tmp,"INBOX")) {
                         ^~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:313:23: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!pmatch (tmp,"INBOX")) {
                             ^~~~~~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:314:25: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (pmatch_full (tmp,pat,'/')) {
                               ^~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:314:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (pmatch_full (tmp,pat,'/')) {
                                   ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:319:30: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (pmatch_full (path,pat,'/') &&
                                    ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:319:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (pmatch_full (path,pat,'/') &&
                                         ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:323:18: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (dmatch (path,pat,'/') &&
                        ^~~~
./env.h:30:29: note: passing argument to parameter 's' here
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
                            ^
dummy.c:323:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (dmatch (path,pat,'/') &&
                             ^~~
./env.h:30:46: note: passing argument to parameter 'pat' here
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
                                             ^
dummy.c:329:23: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
                             ^~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
dummy.c:329:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
                                 ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
dummy.c:329:56: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
                                                              ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:329:60: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX"))
                                                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:456:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) {
                         ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:456:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) {
                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:566:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf))
                        ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:566:29: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf))
                            ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:595:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (stream->mailbox,"INBOX"))
                         ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:595:42: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (stream->mailbox,"INBOX"))
                                         ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:702:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                     ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
dummy.c:703:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy");
                            ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
dummy.c:724:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) {
                        ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
dummy.c:724:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) {
                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dummy.c:726:23: warning: unsequenced modification and access to 'ts' [-Wunsequenced]
    if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX"))
                      ^                                     ~~
45 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` pseudo.c
`cat CCTYPE` -c `cat CFLAGS` netmsg.c
netmsg.c:63:45: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
    sprintf (tmp,".%lx.%lx",(unsigned long) time (0),(unsigned long)getpid ());
                                            ^
1 warning generated.
`cat CCTYPE` -c `cat CFLAGS` flstring.c
`cat CCTYPE` -c `cat CFLAGS` fdstring.c
`cat CCTYPE` -c `cat CFLAGS` rfc822.c
rfc822.c:163:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ucase (tmp);              /* coerce to uppercase */
             ^~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:202:53: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d);
                                                           ^ ~~~~~~~~~~
rfc822.c:379:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              s1 = (char *) rfc822_base64 (s, strlen(s), &k);
                                           ^
./rfc822.h:102:37: note: passing argument to parameter 'src' here
void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len);
                                    ^
rfc822.c:555:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            rfc822_parse_content_header (&part->body,ucase (s1+8),s);
                                                            ^~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:555:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            rfc822_parse_content_header (&part->body,ucase (s1+8),s);
                                                     ^~~~~~~~~~~~
./rfc822.h:64:52: note: passing argument to parameter 'name' here
void rfc822_parse_content_header (BODY *body,char *name,char *s);
                                                   ^
rfc822.c:626:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      body->disposition.type = ucase (cpystr (s));
                                      ^~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:626:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      body->disposition.type = ucase (cpystr (s));
                             ^ ~~~~~~~~~~~~~~~~~~
rfc822.c:640:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        stl->text.data = (unsigned char *) ucase (cpystr (s));
                                                  ^~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:667:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             compare_cstring (s,body_types[i]); i++);
                              ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
rfc822.c:667:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             compare_cstring (s,body_types[i]); i++);
                                ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
rfc822.c:678:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          body_types[body->type] = ucase (s);
                                          ^
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:678:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          body_types[body->type] = ucase (s);
                                 ^ ~~~~~~~~~
rfc822.c:690:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s) body->subtype = ucase (rfc822_cpy (s));
                                      ^~~~~~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:690:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (s) body->subtype = ucase (rfc822_cpy (s));
                             ^ ~~~~~~~~~~~~~~~~~~~~~~
rfc822.c:708:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             compare_cstring (s,body_encodings[i]); i++);
                              ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
rfc822.c:708:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             compare_cstring (s,body_encodings[i]); i++);
                                ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
rfc822.c:719:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          body_encodings[body->encoding] = ucase (s);
                                                  ^
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:719:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          body_encodings[body->encoding] = ucase (s);
                                         ^ ~~~~~~~~~
rfc822.c:752:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      param->attribute = ucase (cpystr (s));
                                ^~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
rfc822.c:752:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      param->attribute = ucase (cpystr (s));
                       ^ ~~~~~~~~~~~~~~~~~~
rfc822.c:1528:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    rfc822_output_header_line (buf,"Date",i,env->date) &&
                                            ^~~~~~~~~
./rfc822.h:89:11: note: passing argument to parameter 'text' here
                                char *text);
                                      ^
21 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` nntp.c
nntp.c:364:19: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
                         ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
nntp.c:364:24: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
                              ^~~~~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
nntp.c:367:21: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (pmatch_full (name,pattern,'.'))
                           ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
nntp.c:367:26: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (pmatch_full (name,pattern,'.'))
                                ^~~~~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
nntp.c:399:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx))
                                                                         ^
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
nntp.c:399:76: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx))
                                                                           ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
nntp.c:569:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            newsrc_check_uid (state,k,&status.recent,&status.unseen);
                              ^~~~~
./newsrc.h:42:39: note: passing argument to parameter 'state' here
void newsrc_check_uid (unsigned char *state,unsigned long uid,
                                      ^
nntp.c:578:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        newsrc_check_uid (state,i++,&status.recent,&status.unseen);
                          ^~~~~
./newsrc.h:42:39: note: passing argument to parameter 'state' here
void newsrc_check_uid (unsigned char *state,unsigned long uid,
                                      ^
nntp.c:750:12: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ?
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:83:38: note: passing argument to parameter 'string' here
unsigned char *lcase (unsigned char *string);
                                     ^
nntp.c:873:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
nntp.c:874:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_sequence (stream,sequence)))
                                                ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
nntp.c:916:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
                                ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
nntp.c:916:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
                                                                  ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
nntp.c:1019:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nntp.c:1019:72: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){
                                                                       ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
nntp.c:1065:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!elt->day) mail_parse_date (elt,ov->date);
                                          ^~~~~~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
nntp.c:1281:39: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration]
  unsigned long now = (unsigned long) time (0);
                                      ^
nntp.c:1334:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (!mail_parse_date (&delt,ov->date) ||
                                 ^~~~~~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
nntp.c:1551:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt);
                                       ^
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
nntp.c:1838:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T;
                          ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1838:29: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T;
                            ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1839:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1839:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1840:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1840:34: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T;
                                 ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1841:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1841:34: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T;
                                 ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1842:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1842:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1843:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1843:34: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T;
                                 ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1845:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"AUTHINFO") && args) {
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1845:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"AUTHINFO") && args) {
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1848:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T;
                              ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
nntp.c:1848:29: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T;
                                   ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
nntp.c:1936:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = strstr (env->date," (")) != NULL) *s = NIL;
                   ^~~~~~~~~
/usr/include/string.h:119:26: note: passing argument to parameter here
char    *strstr(const char *, const char *) __pure;
                            ^
36 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` smtp.c
smtp.c:164:34: warning: passing 'char [21]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (mb.service,"submit")) {
                                 ^~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:164:45: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (mb.service,"submit")) {
                                            ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:182:23: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        s = compare_cstring ("localhost",mb.host) ?
                             ^~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:182:35: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        s = compare_cstring ("localhost",mb.host) ?
                                         ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:698:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (s,"SIZE")) {
                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:698:31: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (s,"SIZE")) {
                              ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:702:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (s,"DELIVERBY")) {
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:702:36: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (s,"DELIVERBY")) {
                                   ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:706:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (s,"ATRN")) {
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:706:36: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (s,"ATRN")) {
                                   ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:710:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (s,"AUTH"))
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:710:36: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (s,"AUTH"))
                                   ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:716:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:716:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:717:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:717:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:718:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:718:34: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T;
                                 ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:719:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:719:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:720:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:720:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:721:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:721:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:722:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:722:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:723:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:723:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:724:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:724:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:725:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:725:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:726:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:726:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:727:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:727:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:728:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:728:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T;
                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:729:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:729:34: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T;
                                 ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:730:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"ENHANCEDSTATUSCODES"))
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:730:34: warning: passing 'char [20]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"ENHANCEDSTATUSCODES"))
                                 ^~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:732:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:732:34: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T;
                                 ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
smtp.c:733:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
smtp.c:733:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
46 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` imap4r1.c
imap4r1.c:522:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx))
                                                                         ^
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
imap4r1.c:522:76: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx))
                                                                           ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
imap4r1.c:582:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
                            ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:582:33: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (cmd,"LIST")) cmd = "RLIST";
                                ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:584:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
                                 ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:584:38: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB";
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:596:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) &&
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:597:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD"))
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:720:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    mm_log (reply->text,ret ? NIL : ERROR);
            ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:888:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!reply || strcmp (reply->tag,"*") ||
                          ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:889:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
                 ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:889:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) {
                                             ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:890:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (reply) mm_log (reply->text,ERROR);
                         ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:895:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) {
                                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:1018:36: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        stream->inbox = !compare_cstring (mb.mailbox,"INBOX");
                                          ^~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:1018:47: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        stream->inbox = !compare_cstring (mb.mailbox,"INBOX");
                                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:1028:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mm_log (reply->text,ERROR);
                ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1074:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:1078:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
                     ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:1078:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) {
                                                  ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:1114:37: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (reply->tag,tag)) {
                                    ^~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:1116:70: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag))
                                                                     ^~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:1131:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  mm_log (reply->text,ERROR);
          ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1181:39: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (compare_cstring (reply->tag,tag))
                                             ^~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:1182:67: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag))
                                                                         ^~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:1191:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        lsterr = cpystr (reply->text);
                         ^~~~~~~~~~~
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imap4r1.c:1243:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mm_log (reply->text,WARN);
                  ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1273:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply);
                  ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:1278:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                             strlen (reply->text),len))) {
                                     ^~~~~~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imap4r1.c:1335:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mm_log (reply->text,WARN);
                ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1376:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR);
                                       ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1397:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    mm_log (reply->text,ERROR);
            ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1450:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ov.date = env->date;
              ^ ~~~~~~~~~
imap4r1.c:1498:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1625:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else mm_log (reply->text,ERROR);
                       ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1627:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else mm_log (reply->text,ERROR);
                     ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1857:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,WARN);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1867:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1876:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,WARN);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1880:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    mm_log (reply->text,ERROR);
            ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1933:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:1969:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2010:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    mm_log (reply->text,ERROR);
            ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2082:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        !strcmp (reply->key,"BAD")) {
                 ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:2101:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strcmp (reply->key,"BAD")) {
                 ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:2107:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2143:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mm_log (reply->text,ERROR);
                ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2206:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
                                        ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:2213:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strcmp (reply->key,"BAD"))
                 ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:2222:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else mm_log (reply->text,ERROR);
                 ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2309:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (thr->name,type)) 
                            ^~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:2309:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (thr->name,type)) 
                                      ^~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:2369:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) {
                                      ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:2376:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (reply->key,"BAD"))
               ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:2384:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else mm_log (reply->text,ERROR);
               ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2408:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR);
          ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2433:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (mail_sequence (stream,sequence)) {
                                   ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
imap4r1.c:2461:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR);
                     ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2499:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) &&
                                                                ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
imap4r1.c:2503:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else mm_log (reply->text,ERROR);
               ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2556:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mm_log (reply->text,ERROR);
                ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2619:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2649:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!mail_parse_date (&elt,date)) {
                               ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
imap4r1.c:2653:44: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*");
                                           ^ ~~~~~~~~~~~~
imap4r1.c:2654:24: warning: assigning to 'unsigned char *' from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->reply.key = "BAD";
                       ^ ~~~~~
imap4r1.c:2655:25: warning: assigning to 'unsigned char *' from 'char [19]' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->reply.text = "Bad date in append";
                        ^ ~~~~~~~~~~~~~~~~~~~~
imap4r1.c:2851:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else mm_log (reply->text,ERROR);
                 ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2875:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else mm_log (reply->text,ERROR);
                 ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2953:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else mm_log (reply->text,ERROR);
                     ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:2977:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else mm_log (reply->text,ERROR);
                 ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:3000:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else mm_log (reply->text,ERROR);
                 ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:3037:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") &&
                                         ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:3037:46: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") &&
                                             ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:3038:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        compare_cstring (cmd,"STORE") &&
                                         ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:3038:25: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        compare_cstring (cmd,"STORE") &&
                                             ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:3039:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        compare_cstring (cmd,"SEARCH")) ? 
                                         ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:3039:25: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        compare_cstring (cmd,"SEARCH")) ? 
                                             ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:3192:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!map->date || mail_parse_date (&elt,map->date)) {
                                                ^~~~~~~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
imap4r1.c:3318:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (strcmp (reply->tag,"+")) {/* prompt for more data? */
              ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:3533:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (reply->key,"BAD")) {
               ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:3539:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (reply->text,ERROR);
              ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:3574:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mm_log (reply->text,ERROR);
                ^~~~~~~~~~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
imap4r1.c:3907:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (reply->tag,"+")) return reply;
                   ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:3909:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (reply->tag,"*")) {
                        ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:3914:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (tag && !compare_cstring (tag,reply->tag)) return reply;
                                     ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:3940:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(LOCAL->reply.line = text)) {
                          ^ ~~~~
imap4r1.c:3946:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (stream->debug) mm_dlog (LOCAL->reply.line);
                              ^~~~~~~~~~~~~~~~~
imap4r1.c:117:15: note: expanded from macro 'LOCAL'
#define LOCAL ((IMAPLOCAL *) stream->local)
              ^
./mail.h:1658:21: note: passing argument to parameter 'string' here
void mm_dlog (char *string);
                    ^
imap4r1.c:3947:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
                                     ^~~~~~~~~~~~~~~~~
imap4r1.c:117:15: note: expanded from macro 'LOCAL'
#define LOCAL ((IMAPLOCAL *) stream->local)
              ^
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:3947:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) {
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:3953:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (strcmp (LOCAL->reply.tag,"+")) {
              ^~~~~~~~~~~~~~~~
imap4r1.c:117:15: note: expanded from macro 'LOCAL'
#define LOCAL ((IMAPLOCAL *) stream->local)
              ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:3955:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) {
                           ^ ~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:3965:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r)))
                            ^ ~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:3966:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key);
                                                     ^~~~~~~~~~~~~~~~
imap4r1.c:117:15: note: expanded from macro 'LOCAL'
#define LOCAL ((IMAPLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imap4r1.c:3969:22: warning: assigning to 'unsigned char *' from 'char [4]' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->reply.key = "BAD";   /* so it barfs if not expecting continuation */
                     ^ ~~~~~
imap4r1.c:3970:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r)))
                            ^ ~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:3971:25: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->reply.text = "";
                        ^ ~~
imap4r1.c:3991:40: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*");
                                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:3992:20: warning: assigning to 'unsigned char *' from 'char [3]' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->reply.key = "NO";
                   ^ ~~~~
imap4r1.c:3993:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->reply.text = text;
                    ^ ~~~~
imap4r1.c:4008:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (reply->key,"OK")) {
               ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4009:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_response (stream,reply->text,NIL,NIL);
                                ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4013:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"NO"))
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4014:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_response (stream,reply->text,WARN,NIL);
                                ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4016:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strcmp (reply->key,"BAD")) {
                 ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4017:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      imap_parse_response (stream,reply->text,ERROR,NIL);
                                  ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4041:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    msgno = strtoul (reply->key,(char **) &s,10);
                     ^~~~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4055:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    s = ucase (strtok_r (reply->text," ",&r));
                         ^~~~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:4055:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    s = ucase (strtok_r (reply->text," ",&r));
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imap4r1.c:4056:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    t = strtok_r (NIL,"\n",&r); /* and locate the text after it */
      ^ ~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4059:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs))
                 ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4061:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs))
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4063:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) {
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4071:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
                            ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4071:52: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) &&
                                                   ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4082:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) {
                                ^
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:4082:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) {
                                                   ^ ~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4086:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
                            ^~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imap4r1.c:4086:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t);
                     ^~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4094:27: warning: passing 'char [27]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000");
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
imap4r1.c:4100:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10);
                                                           ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4141:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(s = strchr (md.what,']'))) {
                    ^ ~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4143:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++);
                     ^ ~~~~~~~
imap4r1.c:4145:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (strncmp (s,"HEADER.FIELDS",13) &&
                           ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imap4r1.c:4146:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  (!s[13] || strcmp (s+13,".NOT")))
                                     ^~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4156:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0';
                                    ^~~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imap4r1.c:4156:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0';
                          ^ ~~~~~~~~~~~~~~~~~~
imap4r1.c:4161:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                md.first = strtoul (s+1,(char **) &s,10) + 1;
                                    ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4204:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            elt->rfc822_size = strtoul (t,(char **) &t,10);
                                        ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4240:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (strcmp (s,"COPY")) {
                     ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4247:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"FLAGS") && reply->text &&
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4249:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           (s = strtok_r (reply->text+1," )",&r)))
                          ^~~~~~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:4249:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           (s = strtok_r (reply->text+1," )",&r)))
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4252:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             compare_cstring (s,stream->user_flags[i]); i++);
                                ^~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4258:74: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s);
                                                                         ^
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imap4r1.c:4260:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((s = strtok_r (NIL," )",&r)) != NULL);
              ^ ~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4261:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"SEARCH")) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4263:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (reply->text && (t = strtok_r (reply->text," ",&r))) do
                                      ^~~~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:4263:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (reply->text && (t = strtok_r (reply->text," ",&r))) do
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4264:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((i = strtoul (t,NIL,10)) != 0L) {
                        ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4273:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      } while ((t = strtok_r (NIL," ",&r)) != NULL);
                  ^ ~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4275:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"SORT")) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4283:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (reply->text && (t = strtok_r (reply->text," ",&r))) {
                                      ^~~~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:4283:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (reply->text && (t = strtok_r (reply->text," ",&r))) {
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4284:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      do if ((i = atol (t)) && (LOCAL->filter ?
                        ^
/usr/include/stdlib.h:87:24: note: passing argument to parameter here
long     atol(const char *);
                          ^
imap4r1.c:4287:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs));
                ^ ~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4293:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"THREAD")) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4308:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"STATUS") && reply->text) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4312:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
                                                           ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imap4r1.c:4312:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) &&
                                                 ^ ~~~~~~~~~~~~~~~~
imap4r1.c:4318:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while (*txt && (s = strchr (txt,' '))) {
                                  ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imap4r1.c:4318:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while (*txt && (s = strchr (txt,' '))) {
                        ^ ~~~~~~~~~~~~~~~~
imap4r1.c:4321:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        i = strtoul (s,(char **) &s,10);
                     ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4322:28: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (txt,"MESSAGES")) {
                                  ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4326:33: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (txt,"RECENT")) {
                                       ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4330:33: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (txt,"UNSEEN")) {
                                       ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4334:33: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (txt,"UIDNEXT")) {
                                       ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4338:33: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (txt,"UIDVALIDITY")) {
                                       ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4347:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t);
                                                           ^
/usr/include/string.h:83:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
imap4r1.c:4355:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
                     ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4355:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) &&
                                                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4357:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           (s = strchr (reply->text,')')) && (s[1] == ' ')) {
                        ^~~~~~~~~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imap4r1.c:4357:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           (s = strchr (reply->text,')')) && (s[1] == ' ')) {
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4361:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do {
                       ^~~~~~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imap4r1.c:4361:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do {
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4362:31: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS;
                              ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4363:36: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT;
                                   ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4364:36: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED;
                                   ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4365:36: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED;
                                   ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4366:36: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN;
                                   ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4367:36: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\All")) i |= LATT_ALL;
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4368:36: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE;
                                   ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4369:36: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS;
                                   ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4370:36: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED;
                                   ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4371:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK;
                                   ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4372:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT;
                                   ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4373:36: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH;
                                   ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4376:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((t = strtok_r (NIL," ",&r)) != NULL);
              ^ ~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4390:13: warning: assigning to 'unsigned char *' from 'char [16384]' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
                   ^ ~~~~~~~~~~
imap4r1.c:4390:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t);
                 ^~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imap4r1.c:4393:59: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i);
                                                          ^
./mail.h:1655:54: note: passing argument to parameter 'name' here
void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes);
                                                     ^
imap4r1.c:4394:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else mm_list (stream,delimiter,s,i);
                                     ^
./mail.h:1654:54: note: passing argument to parameter 'name' here
void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes);
                                                     ^
imap4r1.c:4398:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"NAMESPACE")) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4421:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"ACL") && (s = reply->text) &&
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4427:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) &&
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4429:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ac->rights = imap_parse_astring (stream,&s,reply,NIL);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4438:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (ar) (*ar) (stream,t,al);
                                 ^
imap4r1.c:4442:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (ar) (*ar) (stream,t,NIL);
                               ^
imap4r1.c:4446:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) &&
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4450:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){
                                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4452:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          (r = imap_parse_astring (stream,&s,reply,NIL))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4466:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (lr) (*lr) (stream,t,id,r,rl);
                                     ^
imap4r1.c:4471:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (lr) (*lr) (stream,t,id,r,NIL);
                                   ^
imap4r1.c:4489:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) &&
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4493:34: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) {
                                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4499:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (mr) (*mr) (stream,t,r);
                                 ^
imap4r1.c:4511:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) &&
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4522:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s &&
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4524:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10);
                                                 ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4525:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if ((t = strchr (s,' ')) != NULL) t = s;
                                ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imap4r1.c:4525:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if ((t = strchr (s,' ')) != NULL) t = s;
                      ^ ~~~~~~~~~~~~~~
imap4r1.c:4527:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10);
                                                   ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4528:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if ((t = strpbrk (s," )")) != NULL) t = s;
                                   ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
imap4r1.c:4528:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if ((t = strpbrk (s," )")) != NULL) t = s;
                        ^ ~~~~~~~~~~~~~~~~
imap4r1.c:4533:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (qt) (*qt) (stream,t,ql);
                                    ^
imap4r1.c:4552:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"ID") && (s = reply->text)){
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4553:24: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s);
                              ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4553:62: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s);
                                                                    ^
imap4r1.c:2881:34: note: passing argument to parameter 'text' here
IDLIST *imap_parse_idlist (char *text)
                                 ^
imap4r1.c:4555:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) &&
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4570:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (qr) (*qr) (stream,t,rl);
                                 ^
imap4r1.c:4581:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4581:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH"))
                                                 ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4582:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_response (stream,reply->text,NIL,T);
                                ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4583:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"NO"))
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4584:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_response (stream,reply->text,WARN,T);
                                ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4585:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"BAD"))
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4586:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_response (stream,reply->text,ERROR,T);
                                ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4587:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"BYE")) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4589:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_response (stream,reply->text,BYE,T);
                                ^~~~~~~~~~~
imap4r1.c:239:52: note: passing argument to parameter 'text' here
void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy);
                                                   ^
imap4r1.c:4591:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"CAPABILITY") && reply->text)
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4592:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    imap_parse_capabilities (stream,reply->text);
                                    ^~~~~~~~~~~
imap4r1.c:274:56: note: passing argument to parameter 't' here
void imap_parse_capabilities (MAILSTREAM *stream,char *t);
                                                       ^
imap4r1.c:4593:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!strcmp (reply->key,"MAILBOX") && reply->text) {
                    ^~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imap4r1.c:4595:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN))
                                           ^~~~~~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imap4r1.c:4596:18: warning: assigning to 'unsigned char *' from 'char [16384]' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text);
                 ^ ~~~~~~~~~~
imap4r1.c:4596:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text);
               ^~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imap4r1.c:4598:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    mm_list (stream,NIL,t,NIL);
                        ^
./mail.h:1654:54: note: passing argument to parameter 'name' here
void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes);
                                                     ^
imap4r1.c:4631:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s);
                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4631:31: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s);
                              ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4632:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') &&
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4632:36: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') &&
                                   ^~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4640:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T;
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4640:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T;
                                    ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4641:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Deleted"))
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4641:35: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Deleted"))
                                         ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4643:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Flagged"))
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4643:35: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Flagged"))
                                         ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4645:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Answered"))
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4645:35: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Answered"))
                                         ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4647:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T;
                                       ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4647:35: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T;
                                         ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4655:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4655:36: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){
                                   ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4666:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"UIDNEXT"))
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4666:36: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"UIDNEXT"))
                                   ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4669:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               !compare_cstring (t,"COPYUID") &&
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4669:29: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               !compare_cstring (t,"COPYUID") &&
                                   ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4675:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (j && !compare_cstring (t,"APPENDUID") &&
                                      ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4675:41: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (j && !compare_cstring (t,"APPENDUID") &&
                                        ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4682:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (t,"REFERRAL"))
                              ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4682:26: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!compare_cstring (t,"REFERRAL"))
                                ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4689:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"UIDNOTSTICKY")) {
                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4689:31: warning: passing 'char [13]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"UIDNOTSTICKY")) {
                              ^~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4693:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T;
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4693:36: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T;
                                   ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4694:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"READ-WRITE"))
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4694:36: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"READ-WRITE"))
                                   ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4696:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"PARSE") && !errflg)
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:4696:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"PARSE") && !errflg)
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:4738:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4763:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL,
                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4775:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,
                               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4848:29: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (isdigit (*(s = *txtptr)) &&
                            ^ ~~~~~~~
/usr/include/ctype.h:91:31: note: expanded from macro 'isdigit'
#define isdigit(c)      __isctype((c), _CTYPE_D) /* ANSI -- locale independent */
                                   ^
imap4r1.c:4850:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strtoul (*txtptr,(char **) txtptr,10))) {
                         ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:4936:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4943:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL,
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:4945:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5043:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5044:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5045:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5046:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5143:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while (*(flag = ++*txtptr) == ' ');
                  ^ ~~~~~~~~~
imap4r1.c:5151:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (flag,"\\Seen")) elt->seen = T;
                            ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5151:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (flag,"\\Seen")) elt->seen = T;
                                 ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5152:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T;
                                 ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5152:39: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T;
                                      ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5153:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T;
                                 ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5153:39: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T;
                                      ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5154:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Answered")) elt->answered = T;
                                 ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5154:39: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Answered")) elt->answered = T;
                                      ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5155:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Recent")) elt->recent = T;
                                 ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5155:39: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Recent")) elt->recent = T;
                                      ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5156:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Draft")) elt->draft = T;
                                 ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5156:39: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (flag,"\\Draft")) elt->draft = T;
                                      ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5184:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i);
                          ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5184:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i);
                               ^~~~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5217:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ret = strncpy ((char *) fs_get (i + 1),s,i);
                                             ^
/usr/include/string.h:102:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
imap4r1.c:5217:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ret = strncpy ((char *) fs_get (i + 1),s,i);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5258:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (c) st = ++*txtptr;        /* remember start of string */
            ^ ~~~~~~~~~
imap4r1.c:5313:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) {
                           ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:5345:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(reply->line = net_getline (LOCAL->netstream)))
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5346:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      reply->line = cpystr ("");
                  ^ ~~~~~~~~~~~
imap4r1.c:5347:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (stream->debug) mm_dlog (reply->line);
                                ^~~~~~~~~~~
./mail.h:1658:21: note: passing argument to parameter 'string' here
void mm_dlog (char *string);
                    ^
imap4r1.c:5415:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(b = mail_body (stream,msgno,seg))) {
                                      ^~~
./mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
imap4r1.c:5493:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL)
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5494:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ucase (body->subtype);
               ^~~~~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imap4r1.c:5512:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5533:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5534:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ucase (s);              /* application always gets uppercase form */
               ^
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imap4r1.c:5546:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL)
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5547:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ucase (body->subtype);  /* parse subtype */
               ^~~~~~~~~~~~~
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imap4r1.c:5554:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5555:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL,
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5557:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5558:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ucase (s);              /* application always gets uppercase form */
               ^
./misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imap4r1.c:5574:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      body->size.bytes = strtoul (*txtptr,(char **) txtptr,10);
                                  ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:5595:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        body->size.lines = strtoul (*txtptr,(char **) txtptr,10);
                                    ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:5602:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5615:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5662:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL,
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5668:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5694:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           ((*(s = *txtptr) == 'I') || (*s == 'i')) &&
                 ^ ~~~~~~~
imap4r1.c:5718:28: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL,
                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5761:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) {
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5830:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do
                      ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:5835:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(reply->line = net_getline (LOCAL->netstream)))
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imap4r1.c:5836:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      reply->line = cpystr ("");
                  ^ ~~~~~~~~~~~
imap4r1.c:5837:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (stream->debug) mm_dlog (reply->line);
                                ^~~~~~~~~~~
./mail.h:1658:21: note: passing argument to parameter 'string' here
void mm_dlog (char *string);
                    ^
imap4r1.c:5842:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strtoul (*txtptr,(char **) txtptr,10);
             ^~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imap4r1.c:5876:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (t,"IMAP4"))
                          ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5876:29: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (t,"IMAP4"))
                            ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5878:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMAP4rev1"))
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5878:34: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMAP4rev1"))
                                 ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5880:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5880:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T;
                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5881:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMAP2bis"))
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5881:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMAP2bis"))
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5883:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5883:34: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T;
                                 ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5884:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5884:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T;
                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5885:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5885:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5886:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5886:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5887:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5887:34: warning: passing 'char [18]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T;
                                 ^~~~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5888:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5888:34: warning: passing 'char [16]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T;
                                 ^~~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5889:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5889:34: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T;
                                 ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5890:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5890:34: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T;
                                 ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5891:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5891:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5892:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5892:34: warning: passing 'char [14]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T;
                                 ^~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5893:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5893:34: warning: passing 'char [3]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T;
                                 ^~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5894:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5894:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5895:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5895:34: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T;
                                 ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5896:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5896:34: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T;
                                 ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5897:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5897:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5898:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5898:34: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T;
                                 ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5899:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5899:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5900:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5900:34: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T;
                                 ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5901:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5901:34: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T;
                                 ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5902:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5902:34: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T;
                                 ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5903:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5903:34: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T;
                                 ^~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5904:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5904:34: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T;
                                 ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5912:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"THREAD") && !LOCAL->loser) {
                            ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5912:31: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!compare_cstring (t,"THREAD") && !LOCAL->loser) {
                              ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5919:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"AUTH")) {
                                 ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5919:36: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!compare_cstring (t,"AUTH")) {
                                   ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imap4r1.c:5922:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imap4r1.c:5922:31: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T;
                                     ^~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
375 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` pop3.c
pop3.c:177:22: warning: passing 'char [256]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL;
                            ^~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:177:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL;
                                       ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:229:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (pop3_valid (ref) && pmatch ("INBOX",pat)) :
                                   ^~~~~~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
pop3.c:229:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (pop3_valid (ref) && pmatch ("INBOX",pat)) :
                                           ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
pop3.c:230:60: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)))
                                                           ^~~~~~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
pop3.c:230:68: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)))
                                                                   ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
pop3.c:245:37: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (pop3_valid (ref) && pmatch ("INBOX",pat)) {
                                    ^~~~~~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
pop3.c:245:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (pop3_valid (ref) && pmatch ("INBOX",pat)) {
                                            ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
pop3.c:250:64: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) {
                                                               ^~~~~~~
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
pop3.c:250:72: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) {
                                                                       ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
pop3.c:276:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx))
                                                                         ^
./misc.h:78:16: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
               ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
pop3.c:276:76: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx))
                                                                           ^~~
./misc.h:78:18: note: expanded from macro 'pmatch'
  pmatch_full (s,pat,NIL)
                 ^
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
pop3.c:502:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T;
                          ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:502:29: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T;
                            ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:503:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:503:34: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T;
                                 ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:504:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:504:34: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T;
                                 ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:505:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:505:34: warning: passing 'char [4]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T;
                                 ^~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:506:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:506:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:507:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T;
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:507:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T;
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:508:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMPLEMENTATION") && args)
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:508:34: warning: passing 'char [15]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"IMPLEMENTATION") && args)
                                 ^~~~~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:510:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"EXPIRE") && args) {
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:510:34: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"EXPIRE") && args) {
                                 ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:518:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (!compare_cstring (args,"NEVER")) ? 65535 :
                           ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:518:26: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (!compare_cstring (args,"NEVER")) ? 65535 :
                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:519:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args));
                                   ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:519:31: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args));
                                     ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:521:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LOGIN-DELAY") && args) {
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:521:34: warning: passing 'char [12]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"LOGIN-DELAY") && args) {
                                 ^~~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:529:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ?
                                                     ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:529:56: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ?
                                                       ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:532:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"SASL") && args)
                               ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
pop3.c:532:34: warning: passing 'char [5]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!compare_cstring (t,"SASL") && args)
                                 ^~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
pop3.c:785:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
pop3.c:786:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_sequence (stream,sequence)))
                                                ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
pop3.c:949:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        mail_uid_sequence (stream,sequence) :
                                                  ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
pop3.c:950:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        mail_sequence (stream,sequence)) :
                                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
42 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` unix.c
unix.c:469:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
unix.c:469:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:481:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:590:25: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
STRINGLIST XIMAPbase = {"X-IMAPbase", 10, NIL};
                        ^~~~~~~~~~~~
unix.c:591:25: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
STRINGLIST XIMAP     = {"X-IMAP", 6, &XIMAPbase};
                        ^~~~~~~~
unix.c:592:25: warning: initializing 'unsigned char *' with an expression of type 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
STRINGLIST XUID      = {"X-UID", 5, &XIMAP};
                        ^~~~~~~
unix.c:593:25: warning: initializing 'unsigned char *' with an expression of type 'char [11]' converts between pointers to integer types with different sign [-Wpointer-sign]
STRINGLIST XKeywords = {"X-Keywords", 10, &XUID};
                        ^~~~~~~~~~~~
unix.c:594:25: warning: initializing 'unsigned char *' with an expression of type 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
STRINGLIST XStatus   = {"X-Status", 8, &XKeywords};
                        ^~~~~~~~~~
unix.c:595:25: warning: initializing 'unsigned char *' with an expression of type 'char [7]' converts between pointers to integer types with different sign [-Wpointer-sign]
STRINGLIST Status    = {"Status", 6, &XStatus};
                        ^~~~~~~~
unix.c:614:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:628:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:641:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT);
                         ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1759:34: note: passing argument to parameter 'text' here
unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines,
                                 ^
unix.c:691:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:719:13: warning: assigning to 'char *' from 'unsigned char [65536]' converts between pointers to integer types with different sign [-Wpointer-sign]
    d.chunk = tmp;              /* initial buffer chunk */
            ^ ~~~
unix.c:722:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) {
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:775:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s",
                   ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:777:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,ERROR);
                  ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:834:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         mail_uid_sequence (stream,sequence) :
                                                   ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
unix.c:835:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         mail_sequence (stream,sequence)) : LONGT) != 0L) &&
                                               ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
unix.c:848:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i);
                          ^ ~~~~~~~~~~
unix.c:890:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                       ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
unix.c:891:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_sequence (stream,sequence))) return NIL;
                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
unix.c:897:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (compare_cstring (mailbox,"INBOX")) {
                           ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
unix.c:897:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (compare_cstring (mailbox,"INBOX")) {
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:904:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
               ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:905:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:909:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox);
               ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:910:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:914:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox);
               ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:915:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:924:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s",
             ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:926:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,WARN);
            ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:935:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno));
             ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:936:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);/* log the error */
            ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:945:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL;
                    ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
unix.c:953:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) :
                                 ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:131:54: note: passing argument to parameter 'status' here
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
unix.c:954:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL);
                                 ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:131:54: note: passing argument to parameter 'status' here
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
unix.c:955:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
                        ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
unix.c:969:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno));
             ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:995:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!ret) MM_LOG (LOCAL->buf,ERROR);
                    ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:1039:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (mailbox,"INBOX")) {
                         ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
unix.c:1039:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (mailbox,"INBOX")) {
                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1081:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!mail_parse_date (&elt,date)) {
                               ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
unix.c:1184:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((s = stream->user_flags[find_rightmost_bit (&uf)]) &&
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:1450:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno));
             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:1451:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (tmp,ERROR);
            ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:1460:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted",
             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:1462:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (tmp,ERROR);         /* this is pretty bad */
            ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:1474:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    d.chunk = LOCAL->buf;       /* initial buffer chunk */
            ^ ~~~~~~~~~~
unix.c:1483:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s = unix_mbxline (stream,&bs,&i);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:1487:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s",
                 ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:1489:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (tmp,ERROR);
                ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:1538:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (tmp,"Unable to parse internal date: %s",(char *) date);
                   ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:1539:12: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (tmp,WARN);
                  ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:1543:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          s = t = unix_mbxline (stream,&bs,&i);
                ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:1560:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
                                     ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
unix.c:1560:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
                          ^ ~~~~~~~~~~~~~~~~~~~
unix.c:1560:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
                                                                  ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
unix.c:1566:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      if (!compare_csizedtext (stream->user_flags[j],&uf)) {
                                               ^~~~~~~~~~~~~~~~~~~~~
./misc.h:107:40: note: passing argument to parameter 's1' here
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
                                       ^
unix.c:1614:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      u = strpbrk (s," \n\r");
                                   ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
unix.c:1614:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      u = strpbrk (s," \n\r");
                        ^ ~~~~~~~~~~~~~~~~~~~
unix.c:1621:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strncpy (stream->user_flags[j],s,k);
                                                       ^
/usr/include/string.h:102:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
unix.c:1649:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    sprintf (tmp,"Message %lu UID %lu already has UID %lu",
                             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:1654:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    sprintf (tmp,"Message %lu UID %lu less than %lu",
                             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:1674:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  MM_LOG (tmp,WARN);
                          ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:1730:34: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (tmp,"STATUS") ||
                                        ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1731:27: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-STATUS") ||
                                        ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1732:27: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-KEYWORDS") ||
                                        ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1733:27: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-UID") ||
                                        ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1734:27: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-IMAP") ||
                                        ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1735:27: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-IMAPBASE")) {
                                        ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:1758:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0';
                     ^ ~~~~~~~~~~~~~~~~~~~~
unix.c:1784:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          s = unix_mbxline (stream,&bs,&i);
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:2070:60: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0;
                                                           ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:1950:53: note: passing argument to parameter 'hdr' here
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
                                                    ^
unix.c:2078:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) +
                             ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:1977:54: note: passing argument to parameter 'status' here
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
unix.c:2086:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    size = unix_pseudo (stream,LOCAL->buf);
                               ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:1950:53: note: passing argument to parameter 'hdr' here
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
                                                    ^
unix.c:2106:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf));
                                                    ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:1950:53: note: passing argument to parameter 'hdr' here
unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr)
                                                    ^
unix.c:2106:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf));
                     ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:136:36: note: passing argument to parameter 's' here
void unix_write (UNIXFILE *f,char *s,unsigned long i);
                                   ^
unix.c:2123:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) {
                                   ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:1977:54: note: passing argument to parameter 'status' here
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
unix.c:2137:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          unix_write (&f,LOCAL->buf,elt->private.special.text.size);
                         ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:136:36: note: passing argument to parameter 's' here
void unix_write (UNIXFILE *f,char *s,unsigned long i);
                                   ^
unix.c:2158:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag));
                                               ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:1977:54: note: passing argument to parameter 'status' here
unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
unix.c:2157:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          unix_write (&f,LOCAL->buf,
                         ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
unix.c:136:36: note: passing argument to parameter 's' here
void unix_write (UNIXFILE *f,char *s,unsigned long i);
                                   ^
unix.c:2243:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno));
               ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:2244:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:2265:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
unix.c:2270:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break;
                            ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
unix.c:2276:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e));
                   ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:2277:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!stream->silent) MM_LOG (LOCAL->buf,ERROR);
                                       ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:2449:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) &&
                        ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
unix.c:2449:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) &&
                             ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:2464:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox");
                        ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
unix.c:2464:33: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox");
                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
unix.c:2592:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format",
                 ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:2594:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,ERROR);
                ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:2606:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno));
                   ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:2607:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,WARN);
                  ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:2613:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu",
                   ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:2615:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,ERROR);
                  ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
unix.c:2631:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s",
                     ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
unix.c:2636:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else MM_LOG (LOCAL->buf,WARN);
                         ^~~~~~~~~~
unix.c:81:15: note: expanded from macro 'LOCAL'
#define LOCAL ((UNIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
100 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mbx.c
mbx.c:307:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX"))
                                                            ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mbx.c:307:66: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX"))
                                                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mbx.c:455:11: warning: data argument not used by format string [-Wformat-extra-args]
             old,newname);
                 ^
mbx.c:506:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX");
                               ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mbx.c:506:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX");
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mbx.c:587:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:590:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mbx.c:590:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mbx.c:677:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mbx.c:678:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)))
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mbx.c:706:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:709:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    read (LOCAL->fd,s = LOCAL->buf,*length);
                      ^ ~~~~~~~~~~
mbx.c:746:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  d.chunk = LOCAL->buf; /* initial buffer chunk */
          ^ ~~~~~~~~~~
mbx.c:856:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i);
                   ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:857:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,(long) NIL);
                  ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:889:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        mail_uid_sequence (stream,sequence) :
                                                  ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mbx.c:890:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        mail_sequence (stream,sequence)) : LONGT) != 0L) {
                                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mbx.c:896:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Expunged %lu messages",nexp);
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:897:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,(long) NIL);
              ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:900:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed);
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:901:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,(long) NIL);
              ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:940:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
                     ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1747:24: note: passing argument to parameter 'string' here
char *mail_date (char *string,MESSAGECACHE *elt);
                       ^
mbx.c:941:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf + strlen (LOCAL->buf),
                                        ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mbx.c:941:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf + strlen (LOCAL->buf),
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:947:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
                                                   ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mbx.c:947:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
                                ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mbx.c:963:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
                 ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:964:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,WARN);
                ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:999:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                       ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mbx.c:1000:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_sequence (stream,sequence))) return NIL;
                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mbx.c:1009:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1010:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:1014:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox);
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1015:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:1019:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox);
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1020:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:1032:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_date(LOCAL->buf,elt);/* build target header */
                ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1747:24: note: passing argument to parameter 'string' here
char *mail_date (char *string,MESSAGECACHE *elt);
                       ^
mbx.c:1037:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,t) && (k |= 1 << m)) break;
                                  ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mbx.c:1037:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,t) && (k |= 1 << m)) break;
                                    ^
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mbx.c:1038:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012",
                                 ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mbx.c:1038:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012",
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1044:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) {
                                               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mbx.c:1044:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) {
                            ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mbx.c:1047:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          ret = write (fd,LOCAL->buf,j) >= 0;
                          ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mbx.c:1058:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1059:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mbx.c:1065:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"%08lx",dstream->uid_last);
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1066:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    write (fd,LOCAL->buf,8);
              ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mbx.c:1123:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (compare_cstring (mailbox,"INBOX")) {
                           ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mbx.c:1123:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (compare_cstring (mailbox,"INBOX")) {
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mbx.c:1165:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!mail_parse_date (&elt,date)) {
                                   ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mbx.c:1274:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16);
                                  ^~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1277:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  i = strtoul (LOCAL->buf + 15,NIL,16);
               ^~~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1281:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s);
                                        ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mbx.c:1281:31: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s);
                              ^ ~~~~~~~~~~~~~~~~~
mbx.c:1284:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG))
                                           ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mbx.c:1285:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      stream->user_flags[i] = cpystr (s);
                                      ^
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
mbx.c:1295:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0;
             ^~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1312:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
                       ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mbx.c:1312:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:1321:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                       ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mbx.c:1321:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:1321:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                                                        ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mbx.c:1321:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                                              ^ ~~~~~~~~~~~~~~~~
mbx.c:1351:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) {
                       ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1369:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((m = strtoul (t+13,NIL,16)) &&
                      ^~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1385:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) {
                      ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1419:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      elt->user_flags = strtoul (t,NIL,16);
                                 ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1501:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!",
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1503:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    fatal (LOCAL->buf);
           ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mbx.c:1510:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1511:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    fatal (LOCAL->buf);
           ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mbx.c:1515:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s",
             ^~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1518:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    fatal (LOCAL->buf+50);
           ^~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mbx.c:1522:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  i = strtoul (LOCAL->buf+9,NIL,16);
               ^~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1531:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  elt->user_flags = strtoul (LOCAL->buf+1,NIL,16);
                             ^~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1547:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  char *s = LOCAL->buf;
        ^   ~~~~~~~~~~
mbx.c:1558:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid);
           ^~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1562:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET,
                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mbx.c:1585:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!",
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1587:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      fatal (LOCAL->buf);
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mbx.c:1594:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno));
               ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1595:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      fatal (LOCAL->buf);
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mbx.c:1599:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s",
               ^~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1602:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      fatal (LOCAL->buf+50);
             ^~~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mbx.c:1607:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) +
                                     ^~~~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mbx.c:1605:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned)
             ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mbx.c:1615:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (write (LOCAL->fd,LOCAL->buf,21) > 0) break;
                           ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mbx.c:1663:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (hdr) *hdr = LOCAL->buf;
                      ^ ~~~~~~~~~~
mbx.c:1670:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (hdr) *hdr = LOCAL->buf;
                      ^ ~~~~~~~~~~
mbx.c:1680:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (hdr) *hdr = LOCAL->buf;   /* possibly return header too */
                ^ ~~~~~~~~~~
mbx.c:1761:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
                                   ^~~~~~~~~~
mbx.c:83:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MBXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
92 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mmdf.c
mmdf.c:608:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mmdf.c:608:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:620:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:766:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:780:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1),
                      ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:793:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT);
                         ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1759:34: note: passing argument to parameter 'text' here
unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines,
                                 ^
mmdf.c:843:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen =
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:871:13: warning: assigning to 'char *' from 'unsigned char [65536]' converts between pointers to integer types with different sign [-Wpointer-sign]
    d.chunk = tmp;              /* initial buffer chunk */
            ^ ~~~
mmdf.c:874:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) {
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:927:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s",
                   ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:929:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,ERROR);
                  ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:986:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         mail_uid_sequence (stream,sequence) :
                                                   ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mmdf.c:987:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         mail_sequence (stream,sequence)) : LONGT) != 0L) &&
                                               ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mmdf.c:1000:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i);
                          ^ ~~~~~~~~~~
mmdf.c:1039:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                       ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mmdf.c:1040:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_sequence (stream,sequence))) return NIL;
                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mmdf.c:1045:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (compare_cstring (mailbox,"INBOX")) {
                           ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mmdf.c:1045:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (compare_cstring (mailbox,"INBOX")) {
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1052:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
               ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1053:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1057:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox);
               ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1058:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1062:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox);
               ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1063:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1072:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s",
             ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1074:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,WARN);
            ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1083:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno));
             ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1084:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);  /* log the error */
            ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1093:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL;
                    ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mmdf.c:1101:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) :
                                 ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:287:54: note: passing argument to parameter 'status' here
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
mmdf.c:1102:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL);
                                 ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:287:54: note: passing argument to parameter 'status' here
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
mmdf.c:1103:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
                        ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mmdf.c:1118:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno));
             ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1144:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!ret) MM_LOG (LOCAL->buf,ERROR);
                    ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1189:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (mailbox,"INBOX")) {
                         ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mmdf.c:1189:34: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (mailbox,"INBOX")) {
                                 ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1231:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!mail_parse_date (&elt,date)) {
                               ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mmdf.c:1333:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((s = stream->user_flags[find_rightmost_bit (&uf)]) &&
           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1592:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno));
             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1593:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (tmp,ERROR);
            ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1602:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted",
             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1604:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (tmp,ERROR);         /* this is pretty bad */
            ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1616:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    d.chunk = LOCAL->buf;       /* initial buffer chunk */
            ^ ~~~~~~~~~~
mmdf.c:1625:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s = mmdf_mbxline (stream,&bs,&i);
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1629:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s",
                   ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1635:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            s = mmdf_mbxline (stream,&bs,&i);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1640:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            MM_LOG (tmp,ERROR);
                    ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1657:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        s = mmdf_mbxline (stream,&bs,&i);
          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1693:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf (tmp,"Unable to parse internal date: %s",(char *) date);
                     ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1694:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            MM_LOG (tmp,WARN);
                    ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1711:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (t) s = t = mmdf_mbxline (stream,&bs,&i);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1737:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
                                     ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
mmdf.c:1737:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
                          ^ ~~~~~~~~~~~~~~~~~~~
mmdf.c:1737:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s);
                                                                  ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mmdf.c:1743:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      if (!compare_csizedtext (stream->user_flags[j],&uf)) {
                                               ^~~~~~~~~~~~~~~~~~~~~
./misc.h:107:40: note: passing argument to parameter 's1' here
int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2);
                                       ^
mmdf.c:1791:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      u = strpbrk (s," \n\r");
                                   ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
mmdf.c:1791:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      u = strpbrk (s," \n\r");
                        ^ ~~~~~~~~~~~~~~~~~~~
mmdf.c:1798:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        strncpy (stream->user_flags[j],s,k);
                                                       ^
/usr/include/string.h:102:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
mmdf.c:1826:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    sprintf (tmp,"Message %lu UID %lu already has UID %lu",
                             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1831:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    sprintf (tmp,"Message %lu UID %lu less than %lu",
                             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:1851:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  MM_LOG (tmp,WARN);
                          ^~~
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:1907:34: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (tmp,"STATUS") ||
                                        ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1908:27: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-STATUS") ||
                                        ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1909:27: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-KEYWORDS") ||
                                        ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1910:27: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-UID") ||
                                        ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1911:27: warning: passing 'char [7]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-IMAP") ||
                                        ^~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1912:27: warning: passing 'char [11]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  !compare_cstring (tmp,"X-IMAPBASE")) {
                                        ^~~~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mmdf.c:1935:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0';
                     ^ ~~~~~~~~~~~~~~~~~~~~
mmdf.c:1959:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          s = mmdf_mbxline (stream,&bs,&i);
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:1984:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          s = mmdf_mbxline (stream,&bs,&i);
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:2246:60: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0;
                                                           ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:2126:53: note: passing argument to parameter 'hdr' here
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
                                                    ^
mmdf.c:2254:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) +
                             ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:2153:54: note: passing argument to parameter 'status' here
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
mmdf.c:2262:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    size = mmdf_pseudo (stream,LOCAL->buf);
                               ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:2126:53: note: passing argument to parameter 'hdr' here
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
                                                    ^
mmdf.c:2282:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf));
                                                    ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:2126:53: note: passing argument to parameter 'hdr' here
unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr)
                                                    ^
mmdf.c:2282:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf));
                     ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:292:36: note: passing argument to parameter 's' here
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
                                   ^
mmdf.c:2299:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) {
                                   ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:2153:54: note: passing argument to parameter 'status' here
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
mmdf.c:2313:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mmdf_write (&f,LOCAL->buf,elt->private.special.text.size);
                         ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:292:36: note: passing argument to parameter 's' here
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
                                   ^
mmdf.c:2334:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag));
                                               ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:2153:54: note: passing argument to parameter 'status' here
unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt,
                                                     ^
mmdf.c:2333:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mmdf_write (&f,LOCAL->buf,
                         ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
mmdf.c:292:36: note: passing argument to parameter 's' here
void mmdf_write (MMDFFILE *f,char *s,unsigned long i);
                                   ^
mmdf.c:2402:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno));
               ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:2403:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mmdf.c:2424:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mmdf.c:2429:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break;
                            ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mmdf.c:2435:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e));
                   ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mmdf.c:2436:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!stream->silent) MM_LOG (LOCAL->buf,ERROR);
                                       ^~~~~~~~~~
mmdf.c:236:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MMDFLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
85 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` tenex.c
tenex.c:211:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
                                                  ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
tenex.c:211:56: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
                                                       ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
tenex.c:353:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt");
                               ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
tenex.c:353:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt");
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
tenex.c:430:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:436:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
tenex.c:436:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
tenex.c:503:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
tenex.c:504:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)))
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
tenex.c:514:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1);
                       ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:541:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
tenex.c:542:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)))
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
tenex.c:567:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:577:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i);
                                                     ^
./nl.h:33:21: note: passing argument to parameter 'src' here
                          unsigned char *src,unsigned long srcl);
                                         ^
tenex.c:612:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:635:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i);
                                                        ^
./nl.h:33:21: note: passing argument to parameter 'src' here
                          unsigned char *src,unsigned long srcl);
                                         ^
tenex.c:777:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
                     ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1747:24: note: passing argument to parameter 'string' here
char *mail_date (char *string,MESSAGECACHE *elt);
                       ^
tenex.c:778:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf + strlen (LOCAL->buf),
                                        ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
tenex.c:778:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf + strlen (LOCAL->buf),
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:784:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
                                                   ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
tenex.c:784:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
                                ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
tenex.c:800:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
                 ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:801:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,WARN);
                ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:836:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           mail_uid_sequence (stream,sequence) :
                                                     ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
tenex.c:837:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           mail_sequence (stream,sequence)) : LONGT) &&
                                                 ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
tenex.c:898:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
                                   ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
tenex.c:914:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,
                   ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:917:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,WARN);
                  ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:921:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Expunged %lu messages",n);
                 ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:923:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,(long) NIL);
                ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:964:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) {
                              ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
tenex.c:176:37: note: passing argument to parameter 'tmp' here
int tenex_isvalid (char *name,char *tmp)
                                    ^
tenex.c:971:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:972:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:976:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox);
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:977:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:981:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox);
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:982:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:985:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                       ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
tenex.c:986:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_sequence (stream,sequence))) return NIL;
                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
tenex.c:989:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno));
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:990:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:1012:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
                      ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
tenex.c:1017:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:1018:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
tenex.c:1075:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt");
                          ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
tenex.c:1075:35: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt");
                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
tenex.c:1125:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!mail_parse_date (&elt,date)) {
                                 ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
tenex.c:1247:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(s = strchr (LOCAL->buf,'\012'))) {
                      ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
tenex.c:1247:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(s = strchr (LOCAL->buf,'\012'))) {
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:1256:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                       ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
tenex.c:1256:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
tenex.c:1256:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                                                        ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
tenex.c:1256:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                                              ^ ~~~~~~~~~~~~~~~~
tenex.c:1279:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) &&
                                                    ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
tenex.c:1303:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    j = strtoul (t,NIL,8);      /* get user flags value */
                 ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
tenex.c:1381:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:1382:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    fatal (LOCAL->buf);
           ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
tenex.c:1390:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */
              ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
tenex.c:1416:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned)
             ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
tenex.c:1424:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    write (LOCAL->fd,LOCAL->buf,12);
                     ^~~~~~~~~~
tenex.c:70:15: note: expanded from macro 'LOCAL'
#define LOCAL ((TENEXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
tenex.c:1459:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN));
                          ^ ~~~~~~~~~~
61 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mtx.c
mtx.c:204:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
                                                  ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mtx.c:204:56: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1;
                                                       ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mtx.c:344:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX");
                               ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mtx.c:344:36: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX");
                                   ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mtx.c:422:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:425:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mtx.c:425:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mtx.c:488:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mtx.c:489:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)))
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mtx.c:512:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:547:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  d.chunk = LOCAL->buf;         /* initial buffer chunk */
          ^ ~~~~~~~~~~
mtx.c:686:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mail_date (LOCAL->buf,elt = mail_elt (sysibx,i));
                     ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1747:24: note: passing argument to parameter 'string' here
char *mail_date (char *string,MESSAGECACHE *elt);
                       ^
mtx.c:687:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf + strlen (LOCAL->buf),
                                        ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mtx.c:687:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf + strlen (LOCAL->buf),
                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:693:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
                                                   ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mtx.c:693:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) ||
                                ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mtx.c:709:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno));
                 ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:710:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,WARN);
                ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:745:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           mail_uid_sequence (stream,sequence) :
                                                     ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mtx.c:746:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                           mail_sequence (stream,sequence)) : LONGT) &&
                                                 ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mtx.c:807:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (write (LOCAL->fd,LOCAL->buf,m) > 0) break;
                                   ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mtx.c:822:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,
                   ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:825:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,WARN);
                  ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:829:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Expunged %lu messages",n);
                 ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:831:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,(long) NIL);
                ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:872:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) {
                            ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
mtx.c:169:35: note: passing argument to parameter 'tmp' here
int mtx_isvalid (char *name,char *tmp)
                                  ^
mtx.c:879:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox);
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:880:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:884:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox);
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:885:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:889:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox);
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:890:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:893:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                       ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mtx.c:894:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_sequence (stream,sequence))) return NIL;
                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mtx.c:897:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno));
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:898:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:920:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (write (fd,LOCAL->buf,j) < 0) ret = NIL;
                      ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mtx.c:925:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno));
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:926:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mtx.c:983:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX");
                          ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mtx.c:983:35: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX");
                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mtx.c:1033:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!mail_parse_date (&elt,date)) {
                                 ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mtx.c:1133:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
                       ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mtx.c:1133:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:1142:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                       ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mtx.c:1142:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
             ^ ~~~~~~~~~~~~~~~~~~~~~~~
mtx.c:1142:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                                                        ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
mtx.c:1142:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) {
                                              ^ ~~~~~~~~~~~~~~~~
mtx.c:1165:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) &&
                                     ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mtx.c:1189:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    j = strtoul (t,NIL,8);      /* get user flags value */
                 ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mtx.c:1267:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno));
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:1268:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    fatal (LOCAL->buf);
           ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./ftl.h:32:19: note: passing argument to parameter 'string' here
void fatal (char *string);
                  ^
mtx.c:1276:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */
              ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
mtx.c:1302:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned)
             ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mtx.c:1310:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    write (LOCAL->fd,LOCAL->buf,12);
                     ^~~~~~~~~~
mtx.c:66:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MTXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
55 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` news.c
news.c:237:24: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
                       ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
news.c:237:29: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL);
                            ^~~~~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
news.c:240:19: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (name,pattern,'.'))
                         ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
news.c:240:24: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (pmatch_full (name,pattern,'.'))
                              ^~~~~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
news.c:370:36: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
  if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
                                   ^~~~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
news.c:370:48: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
  if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) {
                                               ^~~~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
news.c:456:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
news.c:457:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_sequence (stream,sequence)))
                                                ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
news.c:474:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
                                ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
news.c:474:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))
                                                                  ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
news.c:495:12: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
           ^~~~~~~~~~
news.c:61:15: note: expanded from macro 'LOCAL'
#define LOCAL ((NEWSLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
news.c:500:20: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) {
                   ^~~~~~~~~~
news.c:61:15: note: expanded from macro 'LOCAL'
#define LOCAL ((NEWSLOCAL *) stream->local)
              ^
/usr/include/fcntl.h:306:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
news.c:504:13: warning: assigning to 'char *' from 'unsigned char [65536]' converts between pointers to integer types with different sign [-Wpointer-sign]
    d.chunk = LOCAL->buf;
            ^ ~~~~~~~~~~
13 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` phile.c
phile.c:305:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->env->date = cpystr (tmp);
                   ^ ~~~~~~~~~~~~
phile.c:327:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      buf->size = strcrlfcpy (&buf->data,&m,s,buf->size);
                                            ^
./nl.h:33:21: note: passing argument to parameter 'src' here
                          unsigned char *src,unsigned long srcl);
                                         ^
2 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mh.c
mh.c:190:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) ||
                                           ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:190:49: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) ||
                                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:191:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      !compare_cstring (name,MHINBOX) ||
                        ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:191:30: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      !compare_cstring (name,MHINBOX) ||
                             ^~~~~~~
mh.c:43:17: note: expanded from macro 'MHINBOX'
#define MHINBOX "#mhinbox"      /* corresponds to namespace in env_unix.c */
                ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:195:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ret = (synonly && compare_cstring (name,"INBOX")) ?
                                         ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:195:47: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ret = (synonly && compare_cstring (name,"INBOX")) ?
                                              ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:256:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"Path:")) {
                                ^
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:256:28: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!compare_cstring (s,"Path:")) {
                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:374:27: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (test,MHINBOX))
                          ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:374:32: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (test,MHINBOX))
                               ^~~~~~~
mh.c:43:17: note: expanded from macro 'MHINBOX'
#define MHINBOX "#mhinbox"      /* corresponds to namespace in env_unix.c */
                ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:403:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
                        ^
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
mh.c:403:27: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL);
                          ^~~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
mh.c:435:21: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL);
                           ^~~~
./env.h:29:34: note: passing argument to parameter 's' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                 ^
mh.c:435:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL);
                                ^~~
./env.h:29:51: note: passing argument to parameter 'pat' here
long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim);
                                                  ^
mh.c:437:16: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (dmatch (name,pat,'/') &&
                      ^~~~
./env.h:30:29: note: passing argument to parameter 's' here
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
                            ^
mh.c:437:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (dmatch (name,pat,'/') &&
                           ^~~
./env.h:30:46: note: passing argument to parameter 'pat' here
long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim);
                                             ^
mh.c:587:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (!compare_cstring (stream->mailbox,MHINBOX) ||
                       ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:587:40: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (!compare_cstring (stream->mailbox,MHINBOX) ||
                                       ^~~~~~~
mh.c:43:17: note: expanded from macro 'MHINBOX'
#define MHINBOX "#mhinbox"      /* corresponds to namespace in env_unix.c */
                ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:592:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL;
                       ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:592:40: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
     !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL;
                                       ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:638:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mh.c:639:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          mail_sequence (stream,sequence)))
                                                ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mh.c:662:12: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
           ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mh.c:667:20: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) {
                   ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/fcntl.h:306:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
mh.c:671:13: warning: assigning to 'char *' from 'unsigned char [65536]' converts between pointers to integer types with different sign [-Wpointer-sign]
    d.chunk = LOCAL->buf;
            ^ ~~~~~~~~~~
mh.c:862:46: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
    long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
                                             ^~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mh.c:862:56: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
    long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort);
                                                       ^~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mh.c:899:11: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old);
                 ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mh.c:902:19: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL,
                         ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/fcntl.h:306:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
mh.c:926:16: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mh_setdate (LOCAL->buf,elt);
                      ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
mh.c:107:24: note: passing argument to parameter 'file' here
void mh_setdate (char *file,MESSAGECACHE *elt);
                       ^
mh.c:934:14: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            unlink (LOCAL->buf);/* flush this file */
                    ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/unistd.h:370:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
mh.c:981:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        mail_uid_sequence (stream,sequence) :
                                                  ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mh.c:982:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        mail_sequence (stream,sequence)) : LONGT) != 0L) {
                                              ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mh.c:987:11: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
                 ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mh.c:988:14: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (unlink (LOCAL->buf)) {/* try to delete the message */
                    ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/unistd.h:370:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
mh.c:989:13: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i,
                   ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mh.c:991:12: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mm_log (LOCAL->buf,(long) NIL);
                  ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mh.c:1009:16: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Expunged %lu messages",n);
               ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mh.c:1010:15: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mm_log (LOCAL->buf,(long) NIL);
              ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mh.c:1041:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                     ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mh.c:1042:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      mail_sequence (stream,sequence))
                            ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mh.c:1045:11: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid);
                 ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mh.c:1046:18: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL;
                        ^~~~~~~~~~
mh.c:69:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MHLOCAL *) stream->local)
              ^
/usr/include/fcntl.h:306:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
mh.c:1058:10: warning: assigning to 'char *' from 'unsigned char [65536]' converts between pointers to integer types with different sign [-Wpointer-sign]
        d.chunk = LOCAL->buf;
                ^ ~~~~~~~~~~
mh.c:1106:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((!compare_cstring (mailbox,MHINBOX) ||
                             ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:1106:38: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!((!compare_cstring (mailbox,MHINBOX) ||
                                     ^~~~~~~
mh.c:43:17: note: expanded from macro 'MHINBOX'
#define MHINBOX "#mhinbox"      /* corresponds to namespace in env_unix.c */
                ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:1107:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           !compare_cstring (mailbox,"INBOX")) &&
                             ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:1107:31: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           !compare_cstring (mailbox,"INBOX")) &&
                                     ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:1128:37: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
  if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) {
                                    ^~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mh.c:1128:47: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
  if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) {
                                              ^~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mh.c:1146:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!mail_parse_date (&elt,date)) {
                                 ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mh.c:1228:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
                        ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:1228:30: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
                             ^~~~~~~
mh.c:43:17: note: expanded from macro 'MHINBOX'
#define MHINBOX "#mhinbox"      /* corresponds to namespace in env_unix.c */
                ^~~~~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mh.c:1228:60: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
                                                           ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mh.c:1228:65: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX"))
                                                                ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
55 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mx.c
mx.c:186:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!compare_cstring (name,"INBOX")) errno = NIL;
                             ^~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mx.c:186:35: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!compare_cstring (name,"INBOX")) errno = NIL;
                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mx.c:277:38: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
  if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0)
                                     ^~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mx.c:277:48: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
  if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0)
                                               ^~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mx.c:439:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (old,"INBOX")) {
                         ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mx.c:439:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (old,"INBOX")) {
                             ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mx.c:462:54: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
      for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort);
                                                     ^~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mx.c:462:64: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
      for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort);
                                                               ^~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mx.c:518:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mx.c:518:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mx.c:524:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c:573:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mx.c:574:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)))
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mx.c:591:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid);
           ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mx.c:593:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) {
                                  ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/sys/stat.h:349:33: note: passing argument to parameter here
int     stat(const char * __restrict, struct stat * __restrict);
                                    ^
mx.c:633:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mx.c:648:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    cpytxt (&elt->private.msg.header.text,LOCAL->buf,i);
                                          ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
./misc.h:85:36: note: passing argument to parameter 'text' here
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
                                   ^
mx.c:649:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i);
                                        ^~~~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
./misc.h:85:36: note: passing argument to parameter 'text' here
char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size);
                                   ^
mx.c:731:51: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
    long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort);
                                                  ^~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mx.c:731:61: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
    long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort);
                                                            ^~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mx.c:767:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old);
                 ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mx.c:770:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL,
                         ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/fcntl.h:306:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
mx.c:794:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          mx_setdate (LOCAL->buf,elt);
                      ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
mx.c:106:24: note: passing argument to parameter 'file' here
void mx_setdate (char *file,MESSAGECACHE *elt);
                       ^
mx.c:801:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            unlink (LOCAL->buf);/* flush this file */
                    ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/unistd.h:370:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
mx.c:848:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         mail_uid_sequence (stream,sequence) :
                                                   ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mx.c:849:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                         mail_sequence (stream,sequence)) : LONGT) != 0L) &&
                                               ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mx.c:855:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid);
                 ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mx.c:856:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (unlink (LOCAL->buf)) {/* try to delete the message */
                    ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/unistd.h:370:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
mx.c:857:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i,
                   ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mx.c:859:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          MM_LOG (LOCAL->buf,(long) NIL);
                  ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mx.c:875:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,"Expunged %lu messages",n);
               ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mx.c:876:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,(long) NIL);
              ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mx.c:913:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox);
             ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mx.c:914:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mx.c:62:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mx.c:921:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                              ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mx.c:922:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               mail_sequence (stream,sequence))));
                                     ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mx.c:944:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          d.chunk = LOCAL->buf;
                  ^ ~~~~~~~~~~
mx.c:1003:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX");
                          ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mx.c:1003:35: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX");
                                  ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mx.c:1038:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (date && !(ret = mail_parse_date (&elt,date))) {
                                                     ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
40 warnings generated.
`cat CCTYPE` -c `cat CFLAGS` mix.c
mix.c:322:38: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
  if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0)
                                     ^~~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mix.c:322:49: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
  if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0)
                                                ^~~~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mix.c:527:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (old,"INBOX")) {
                         ^~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mix.c:527:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (compare_cstring (old,"INBOX")) {
                             ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mix.c:554:54: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
      for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort);
                                                     ^~~~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mix.c:606:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                    ^~~~~~~~~~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mix.c:606:53: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->inbox = !compare_cstring (stream->mailbox,"INBOX");
                                                    ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mix.c:608:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  LOCAL->buf = (char *) fs_get (CHUNKSIZE);
             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:611:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  mix_dir (LOCAL->buf,stream->mailbox);
           ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:163:22: note: passing argument to parameter 'dst' here
char *mix_dir (char *dst,char *name);
                     ^
mix.c:613:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  stream->mailbox = cpystr (LOCAL->buf);
                            ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
mix.c:616:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA),
                                         ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:164:23: note: passing argument to parameter 'dst' here
char *mix_file (char *dst,char *dir,char *name);
                      ^
mix.c:619:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA),
                                         ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:164:23: note: passing argument to parameter 'dst' here
char *mix_file (char *dst,char *dir,char *name);
                      ^
mix.c:627:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX));
                                     ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:164:23: note: passing argument to parameter 'dst' here
char *mix_file (char *dst,char *dir,char *name);
                      ^
mix.c:628:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS));
                                      ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:164:23: note: passing argument to parameter 'dst' here
char *mix_file (char *dst,char *dir,char *name);
                      ^
mix.c:629:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox,
                                         ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:164:23: note: passing argument to parameter 'dst' here
char *mix_file (char *dst,char *dir,char *name);
                      ^
mix.c:718:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox,
                                             ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:730:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:735:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) &&
                ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
mix.c:752:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0';
                      ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
mix.c:781:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox,
                                             ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:805:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  d.chunk = LOCAL->buf;         /* initial buffer chunk */
          ^ ~~~~~~~~~~
mix.c:830:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) :
                                                    ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mix.c:831:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       mail_sequence (stream,sequence)) &&
                             ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mix.c:973:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1);
                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:974:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,WARN);
                ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1033:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         mail_uid_sequence (stream,sequence) :
                                   ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mix.c:1034:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         mail_sequence (stream,sequence))) || stream->rdonly);
                               ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mix.c:1052:53: warning: incompatible pointer types passing 'int (struct dirent *)' to parameter of type 'int (*)(const struct dirent *)' [-Wincompatible-pointer-types]
      long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort);
                                                    ^~~~~~~~~~
/usr/include/dirent.h:98:12: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                  ^
mix.c:1052:64: warning: incompatible pointer types passing 'int (const void *, const void *)' to parameter of type 'int (*)(const struct dirent **, const struct dirent **)' [-Wincompatible-pointer-types]
      long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort);
                                                               ^~~~~~~~~~~~
/usr/include/dirent.h:98:44: note: passing argument to parameter here
            int (*)(const struct dirent *), int (*)(const struct dirent **,
                                                  ^
mix.c:1085:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            sprintf (LOCAL->buf,"Can't locate mix message file %.08lx",
                     ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1087:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            MM_LOG (LOCAL->buf,ERROR);
                    ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1096:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) &&
                                    ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:1098:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) {
                                ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:448:27: note: passing argument to parameter here
int      truncate(const char *, __off_t);
                              ^
mix.c:1098:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                      truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) {
                                                        ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/unistd.h:370:25: note: passing argument to parameter here
int      unlink(const char *);
                            ^
mix.c:1099:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              sprintf (LOCAL->buf,
                       ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1102:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              MM_LOG (LOCAL->buf,WARN);
                      ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1135:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp);
                         ^ ~~~~~~~~~~
mix.c:1137:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed);
                ^~~~~~~~~~~
mix.c:1227:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno);
                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:1231:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (stat (LOCAL->buf,&sbuf)) {
              ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/sys/stat.h:349:33: note: passing argument to parameter here
int     stat(const char * __restrict, struct stat * __restrict);
                                    ^
mix.c:1232:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,staterr,burp->name,strerror (errno));
               ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1233:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,ERROR);
              ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1236:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) {
                                                     ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:145:55: note: passing argument to parameter 'file' here
long mix_burp_check (SEARCHSET *set,size_t size,char *file);
                                                      ^
mix.c:1240:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L)
                                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:448:27: note: passing argument to parameter here
int      truncate(const char *, __off_t);
                              ^
mix.c:1243:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno));
                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1244:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,ERROR);
                ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1249:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) ||
                        ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/fcntl.h:306:22: note: passing argument to parameter here
int     open(const char *, int, ...);
                         ^
mix.c:1251:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s",
             ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1253:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1257:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,staterr,burp->name,strerror (errno));
             ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1258:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    MM_LOG (LOCAL->buf,ERROR);
            ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1263:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) {
                                                   ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:145:55: note: passing argument to parameter 'file' here
long mix_burp_check (SEARCHSET *set,size_t size,char *file);
                                                      ^
mix.c:1268:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) {
                   ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
mix.c:1269:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,"Bad message token in mix message file at %lu",
                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1271:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,ERROR);
                ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1311:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno));
               ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1312:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      MM_LOG (LOCAL->buf,WARN);
              ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:1361:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  long ret = mix_isvalid (mailbox,LOCAL->buf);
                                  ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:234:36: note: passing argument to parameter 'meta' here
long mix_isvalid (char *name,char *meta)
                                   ^
mix.c:1379:68: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) :
                                                                   ^~~~~~~~
./mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
mix.c:1380:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    mail_sequence (stream,sequence))));
                                          ^~~~~~~~
./mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
mix.c:1397:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0,
             ^~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1399:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    hdrsize = strlen (local->buf);
                      ^~~~~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mix.c:1408:44: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) {
                                           ^~~~~
mix.c:157:55: note: passing argument to parameter 'size' here
FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size,
                                                      ^
mix.c:1420:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,
                                                     ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:1432:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            d.chunk = LOCAL->buf;
                    ^ ~~~~~~~~~~
mix.c:1524:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((ret = compare_cstring (mailbox,"INBOX") ?
                                ^~~~~~~
./misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
mix.c:1524:41: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((ret = compare_cstring (mailbox,"INBOX") ?
                                        ^~~~~~~
./misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
mix.c:1555:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0,
               ^~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:1557:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      hdrsize = strlen (local->buf);
                        ^~~~~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mix.c:1561:46: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){
                                             ^~~~~
mix.c:157:55: note: passing argument to parameter 'size' here
FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size,
                                                      ^
mix.c:1569:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (date && !(ret = mail_parse_date (&elt,date))) {
                                                         ^~~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mix.c:1576:30: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mail_parse_date (&elt,tmp);
                                    ^~~
./mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mix.c:1831:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) &&
                                         ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:161:38: note: passing argument to parameter 'buf' here
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
                                     ^
mix.c:1973:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          if (stat (mix_file_data (LOCAL->buf,stream->mailbox,
                                                   ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:2055:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (LOCAL->buf,
                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:2058:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        MM_LOG (LOCAL->buf,ERROR);
                ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./mail.h:1657:20: note: passing argument to parameter 'string' here
void mm_log (char *string,long errflg);
                   ^
mix.c:2068:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen,
                                                 ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:161:38: note: passing argument to parameter 'buf' here
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
                                     ^
mix.c:2164:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:2169:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size))
                          ^ ~~~~~~~~~~
mix.c:2204:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq));
             ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:2205:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT,
                                  ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mix.c:2205:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT,
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
mix.c:2207:56: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf);
                                                       ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
mix.c:2208:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
         (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) {
                                ^ ~~~~~~~~~~~~~~~~~~~~~
mix.c:2222:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL;
                             ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
./env_unix.h:86:31: note: passing argument to parameter 'buf' here
long safe_write (int fd,char *buf,long nbytes);
                              ^
mix.c:2417:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg),
                                  ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:2434:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                          (LOCAL->buf,stream->mailbox,
                           ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:165:28: note: passing argument to parameter 'dst' here
char *mix_file_data (char *dst,char *dir,unsigned long data);
                           ^
mix.c:2499:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen,
                                           ^~~~~~~~~~
mix.c:108:15: note: expanded from macro 'LOCAL'
#define LOCAL ((MIXLOCAL *) stream->local)
              ^
mix.c:161:38: note: passing argument to parameter 'buf' here
char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type);
                                     ^
mix.c:2598:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                              LOCAL->buf = (char *)
                                         ^ ~~~~~~~~
mix.c:2610:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            for (s = LOCAL->buf,sl = NIL,
                                   ^ ~~~~~~~~~~
mix.c:2618:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                sl->text.data = cpystr (s);
                                              ^ ~~~~~~~~~~
91 warnings generated.
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 utf8aux.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 mix.o;ranlib c-client.a
echo bsf > OSTYPE
touch rebuild
sh -c 'rm -rf rebuild || true'
Building bundled tools...
cd mtest;make
cc -I../c-client `cat ../c-client/CFLAGS` -c mtest.c -o mtest.o
mtest.c:120:10: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  ucase (tmp);
         ^~~
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
mtest.c:162:21: warning: passing 'char [1024]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    switch (*ucase (cmd)) {     /* dispatch based on command */
                    ^~~
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
mtest.c:386:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    mail_parse_date (&selt,ov->date);
                           ^~~~~~~~
../c-client/mail.h:1749:56: note: passing argument to parameter 'string' here
long mail_parse_date (MESSAGECACHE *elt,unsigned char *string);
                                                       ^
mtest.c:809:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  msg->date = (char *) fs_get (1+strlen (line));
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mtest.c:810:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  strcpy (msg->date,line);
          ^~~~~~~~~
/usr/include/string.h:83:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
5 warnings generated.
cc -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
cd ipopd;make
cc -I../c-client `cat ../c-client/CFLAGS` -c ipop2d.c -o ipop2d.o
ipop2d.c:149:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ucase (s);                /* canonicalize case */
             ^
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
1 warning generated.
cc -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
cc -I../c-client `cat ../c-client/CFLAGS` -c ipop3d.c -o ipop3d.o
ipop3d.c:129:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next;
                                    ^~~~~~~~~~
../c-client/misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
ipop3d.c:129:48: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next;
                                               ^~~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
ipop3d.c:186:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ucase (s);                /* canonicalize case */
             ^
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
3 warnings generated.
cc -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
cd imapd;make
cc -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 imapd.c -o imapd.o
imapd.c:313:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
         ^ ~~~~~~~~~~~~~~~~~~~~~
imapd.c:313:41: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ?
                                        ^ ~~~~~~~~~~~~~~~~~~~~~~
imapd.c:318:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  rfc822_date (tmp);            /* get date/time at startup */
               ^~~
../c-client/env.h:32:25: note: passing argument to parameter 'date' here
void rfc822_date (char *date);
                        ^
imapd.c:338:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((s = strchr (proxy,'\n')) != NULL) *s = '\0';
               ^ ~~~~~~~~~~~~~~~~~~~
imapd.c:345:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    s = myusername_full (&i);   /* get user name and flags */
      ^ ~~~~~~~~~~~~~~~~~~~~
imapd.c:353:9: warning: assigning to 'unsigned char *' from 'char [10]' converts between pointers to integer types with different sign [-Wpointer-sign]
      s = "ANONYMOUS";
        ^ ~~~~~~~~~~~
imapd.c:357:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      user = cpystr (s);        /* copy user name */
                     ^
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:357:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      user = cpystr (s);        /* copy user name */
           ^ ~~~~~~~~~~
imapd.c:358:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      pass = cpystr ("*");      /* set fake password */
           ^ ~~~~~~~~~~~~
imapd.c:367:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PSOUT (user);
             ^~~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:381:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  PSOUT (tmp);
         ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:384:11: warning: enumeration values 'OPEN' and 'LOGOUT' not handled in switch [-Wswitch]
  switch (state) {              /* do this after the banner */
          ^
imapd.c:403:12: warning: passing 'unsigned char [65536]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    slurp (cmdbuf,CMDLEN,TIMEOUT);
           ^~~~~~
imapd.c:133:19: note: passing argument to parameter 's' here
void slurp (char *s,int n,unsigned long timeout);
                  ^
imapd.c:410:22: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((t = strchr (cmdbuf,'\012')) != NULL) {
                     ^~~~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:410:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((t = strchr (cmdbuf,'\012')) != NULL) {
           ^ ~~~~~~~~~~~~~~~~~~~~~~
imapd.c:416:24: warning: passing 'unsigned char [65536]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((t = strchr (cmdbuf,' ')) != NULL) {
                       ^~~~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:416:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if ((t = strchr (cmdbuf,' ')) != NULL) {
             ^ ~~~~~~~~~~~~~~~~~~~
imapd.c:426:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      sprintf (tmp,response,t ? (char *) cmdbuf : "*");
               ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:427:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      PSOUT (tmp);
             ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:429:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!(tag = parse_tag (cmdbuf,&s))) {
                   ^ ~~~~~~~~~~~~~~~~~~~~~
imapd.c:456:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        arg = strchr (s+4,' '); /* find argument */
                      ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:456:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        arg = strchr (s+4,' '); /* find argument */
            ^ ~~~~~~~~~~~~~~~~
imapd.c:460:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        arg = strchr (s,' ');   /* find argument */
                      ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:460:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        arg = strchr (s,' ');   /* find argument */
            ^ ~~~~~~~~~~~~~~
imapd.c:466:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      cmd = cpystr (s);         /* save current command */
                    ^
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:466:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      cmd = cpystr (s);         /* save current command */
          ^ ~~~~~~~~~~
imapd.c:468:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (arg && ((i = strlen (arg)) > 3) &&
                               ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:474:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          litplus.size = strtoul (arg + i + 1,NIL,10);
                                  ^~~~~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:481:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        unsigned char *cl = cpystr (tcp_clienthost ());
                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:484:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((t = strchr (cl,' ')) != NULL) {
                         ^~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:484:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((t = strchr (cl,' ')) != NULL) {
               ^ ~~~~~~~~~~~~~~~
imapd.c:488:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else cls = strlen (cl);
                           ^~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:491:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              !compare_cstring(bb[i], cl + cls - bbs))
                               ^~~~~
../c-client/misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
imapd.c:499:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (cmd,"NOOP")) {
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:504:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (cmd,"LOGOUT")) {
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:516:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (cmd,"CAPABILITY")) {
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:538:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (cmd,"AUTHENTICATE")) {
                     ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:548:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) {
                            ^~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:549:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(s = imap_responder ("",0,NIL)))
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:553:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              user = cpystr ("ANONYMOUS");
                   ^ ~~~~~~~~~~~~~~~~~~~~
imapd.c:554:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              pass = cpystr ("*");
                   ^ ~~~~~~~~~~~~
imapd.c:564:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if ((user = cpystr (mail_auth (s,imap_responder,argc,argv))) != NULL) {
                                              ^
../c-client/mail.h:1859:24: note: passing argument to parameter 'mechanism' here
char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]);
                       ^
imapd.c:564:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if ((user = cpystr (mail_auth (s,imap_responder,argc,argv))) != NULL) {
                         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:565:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            pass = cpystr ("*");
                 ^ ~~~~~~~~~~~~
imapd.c:575:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2);
                                                 ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:575:58: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2);
                                                                ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:578:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            cmd = msg;
                ^ ~~~
imapd.c:580:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 auth && compare_cstring (s,auth->name); auth = auth->next);
                                            ^~~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:605:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"LOGIN")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:609:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!((user = cpystr (snarf (&arg))) &&
                                ^~~~~~~~~~~~
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:609:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!((user = cpystr (snarf (&arg))) &&
                      ^ ~~~~~~~~~~~~~~~~~~~~~
imapd.c:610:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (pass = cpystr (snarf (&arg))))) response = misarg;
                                ^~~~~~~~~~~~
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:610:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (pass = cpystr (snarf (&arg))))) response = misarg;
                      ^ ~~~~~~~~~~~~~~~~~~~~~
imapd.c:613:36: warning: passing 'char [10]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!compare_cstring (user,"ANONYMOUS") &&
                                          ^~~~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:624:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((s = strchr (user,'*')) != NULL) *s++ ='\0';
                             ^~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:624:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((s = strchr (user,'*')) != NULL) *s++ ='\0';
                   ^ ~~~~~~~~~~~~~~~~~
imapd.c:626:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (server_login (user,pass,s,argc,argv)) {
                              ^~~~
../c-client/env.h:39:26: note: passing argument to parameter 'user' here
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
                         ^
imapd.c:626:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (server_login (user,pass,s,argc,argv)) {
                                   ^~~~
../c-client/env.h:39:37: note: passing argument to parameter 'pass' here
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
                                    ^
imapd.c:626:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (server_login (user,pass,s,argc,argv)) {
                                        ^
../c-client/env.h:39:48: note: passing argument to parameter 'authuser' here
long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]);
                                               ^
imapd.c:640:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"STARTTLS")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:653:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
                     ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:653:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) {
                                              ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:654:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                                      ^~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:654:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:655:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (t = strtok_r (NIL,"\015\012",&sstate))))
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:658:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   mail_sequence (stream,s)) fetch (t,uid);
                                                    ^
imapd.c:155:19: note: passing argument to parameter 't' here
void fetch (char *t,unsigned long uid);
                  ^
imapd.c:662:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:662:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) {
                                                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:664:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                                      ^~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:664:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:665:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (v = strtok_r (NIL," ",&sstate)) &&
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:666:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (t = strtok_r (NIL,"\015\012",&sstate)))) response = misarg;
                   ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:671:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
                         ^~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:671:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) {
                                                        ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:672:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen");
                      ^~~
/usr/include/string.h:83:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
imapd.c:674:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++)
                                          ^ ~~~~~~~~~~~~~~~~~~~~~
imapd.c:675:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (strlen (v) <
                            ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:676:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) {
                                                           ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:678:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strcpy (u,v);
                          ^
/usr/include/string.h:83:31: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                 ^
imapd.c:678:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  strcpy (u,v);
                            ^
/usr/include/string.h:83:56: note: passing argument to parameter here
char    *strcpy(char * __restrict, const char * __restrict);
                                                          ^
imapd.c:680:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mail_flag (stream,s,tmp,f & ~ST_SET);
                                ^
../c-client/mail.h:1726:42: note: passing argument to parameter 'sequence' here
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
                                         ^
imapd.c:680:28: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mail_flag (stream,s,tmp,f & ~ST_SET);
                                  ^~~
../c-client/mail.h:1726:57: note: passing argument to parameter 'flag' here
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
                                                        ^
imapd.c:682:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
                              ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:682:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT"))
                                                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:684:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
                             ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:684:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) {
                                                    ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:690:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mail_flag (stream,s,t,f);
                              ^
../c-client/mail.h:1726:42: note: passing argument to parameter 'sequence' here
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
                                         ^
imapd.c:690:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mail_flag (stream,s,t,f);
                                ^
../c-client/mail.h:1726:57: note: passing argument to parameter 'flag' here
void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags);
                                                        ^
imapd.c:701:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"CHECK")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:711:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || (strcmp (cmd,"EXPUNGE") &&
                                         ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:712:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                 strcmp (cmd,"UID EXPUNGE")))) {
                                         ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:716:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            mail_expunge_full (stream,arg,arg ? EX_UID : NIL);
                                      ^~~
../c-client/mail.h:1733:50: note: passing argument to parameter 'sequence' here
long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options);
                                                 ^
imapd.c:722:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:722:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) {
                                                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:738:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
                           ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:738:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                 (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) {
                                                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:740:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                                      ^~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:740:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:741:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (arg = strtok_r (NIL,"\015\012",&sstate))
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:751:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) {
                                           ^
../c-client/mail.h:1734:47: note: passing argument to parameter 'sequence' here
long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox,
                                              ^
imapd.c:751:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) {
                                             ^
../c-client/mail.h:1734:62: note: passing argument to parameter 'mailbox' here
long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox,
                                                             ^
imapd.c:758:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:758:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) {
                                                  ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:760:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) &&
                                                     ^~~~~~~~~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:760:37: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) &&
                                           ^ ~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:768:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(s = strtok_r (ucase (s)," ",&sstate))) response = badatt;
                                ^~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:768:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!(s = strtok_r (ucase (s)," ",&sstate))) response = badatt;
                    ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:773:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (!strcmp (s,"REVERSE")) {
                             ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:775:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  if (!(s = strtok_r (NIL," ",&sstate))) {
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:776:9: warning: assigning to 'unsigned char *' from 'char [1]' converts between pointers to integer types with different sign [-Wpointer-sign]
                    s = "";     /* end of attributes */
                      ^ ~~
imapd.c:780:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (!strcmp (s,"DATE")) pg->function = SORTDATE;
                             ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:781:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL;
                                  ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:782:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!strcmp (s,"FROM")) pg->function = SORTFROM;
                                  ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:783:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT;
                                  ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:784:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!strcmp (s,"TO")) pg->function = SORTTO;
                                  ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:785:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!strcmp (s,"CC")) pg->function = SORTCC;
                                  ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:786:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE;
                                  ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:788:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              } while ((s = strtok_r (NIL," ",&sstate)) != NULL);
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:792:55: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg &&
                                                             ^
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:815:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:815:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) {
                                                    ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:820:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                                      ^~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:820:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," ",&sstate)) &&
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:822:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (arg = strtok_r (NIL,"\015\012",&sstate))))
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:828:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) != NULL) {
                                           ^
../c-client/mail.h:1795:51: note: passing argument to parameter 'type' here
THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset,
                                                  ^
imapd.c:841:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:841:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) {
                                                    ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:906:56: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if ((s = snarf (&arg)) != NULL) charset = cpystr (s);
                                                              ^
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:1024:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1024:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") &&
                                                 ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1025:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strcmp (cmd,"BBOARD"))) {
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1029:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (NIL,s = bboardname (cmd,s))) {
                                               ^~~
imapd.c:199:25: note: passing argument to parameter 'cmd' here
char *bboardname (char *cmd,char *name);
                        ^
imapd.c:1029:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (NIL,s = bboardname (cmd,s))) {
                                                   ^
imapd.c:199:35: note: passing argument to parameter 'name' here
char *bboardname (char *cmd,char *name);
                                  ^
imapd.c:1029:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (NIL,s = bboardname (cmd,s))) {
                                 ^ ~~~~~~~~~~~~~~~~~~
imapd.c:1029:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (NIL,s = bboardname (cmd,s))) {
                               ^~~~~~~~~~~~~~~~~~~~~~
imapd.c:198:30: note: passing argument to parameter 'name' here
long nameok (char *ref,char *name);
                             ^
imapd.c:1030:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            DRIVER *factory = mail_valid (NIL,s,NIL);
                                              ^
../c-client/mail.h:1670:46: note: passing argument to parameter 'mailbox' here
DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose);
                                             ^
imapd.c:1041:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (stream = mail_open (stream,s,f | OP_SILENT)) &&
                                            ^
../c-client/mail.h:1685:49: note: passing argument to parameter 'name' here
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
                                                ^
imapd.c:1047:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  (t = mail_fetch_text (stream,1,NIL,&i,NIL)) &&
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:1050:12: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strncpy (tmp,t,i)[i] = '\0';
                         ^~~
/usr/include/string.h:102:32: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                  ^
imapd.c:1050:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                strncpy (tmp,t,i)[i] = '\0';
                             ^
/usr/include/string.h:102:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
imapd.c:1052:21: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((t = strpbrk (tmp,"\r\n")) != NULL) *t = '\0';
                                  ^~~
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
imapd.c:1052:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((t = strpbrk (tmp,"\r\n")) != NULL) *t = '\0';
                       ^ ~~~~~~~~~~~~~~~~~~~~
imapd.c:1054:33: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) &&
                                              ^~~
../c-client/mail.h:1685:49: note: passing argument to parameter 'name' here
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
                                                ^
imapd.c:1066:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!factory && isnewsproxy (s)) {
                                              ^
imapd.c:200:25: note: passing argument to parameter 'name' here
long isnewsproxy (char *name);
                        ^
imapd.c:1067:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6);
                       ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1068:35: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              stream = mail_open (stream,tmp,f);
                                         ^~~
../c-client/mail.h:1685:49: note: passing argument to parameter 'name' here
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
                                                ^
imapd.c:1071:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else stream = mail_open (stream,s,f);
                                            ^
../c-client/mail.h:1685:49: note: passing argument to parameter 'name' here
MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options);
                                                ^
imapd.c:1077:32: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!compare_cstring (s,"#MHINBOX"))
                                      ^~~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1079:50: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else lastsel = cpystr (compare_cstring (s,"INBOX") ?
                                                        ^~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1098:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || strcmp (cmd,"APPEND"))) {
                                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1108:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) {
                                           ^
../c-client/mail.h:1738:53: note: passing argument to parameter 'mailbox' here
long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af,
                                                    ^
imapd.c:1123:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1123:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) {
                                                  ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1129:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (s,t)) {
                           ^
imapd.c:198:20: note: passing argument to parameter 'ref' here
long nameok (char *ref,char *name);
                   ^
imapd.c:1129:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (s,t)) {
                             ^
imapd.c:198:30: note: passing argument to parameter 'name' here
long nameok (char *ref,char *name);
                             ^
imapd.c:1130:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,LONGT)) {
                                  ^
imapd.c:201:30: note: passing argument to parameter 'ref' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                             ^
imapd.c:1130:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,LONGT)) {
                                    ^
imapd.c:201:40: note: passing argument to parameter 'pat' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                                       ^
imapd.c:1130:32: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,LONGT)) {
                                      ^~~
imapd.c:201:50: note: passing argument to parameter 'pattern' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                                                 ^
imapd.c:1132:26: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mail_list (NIL,"",tmp);
                                ^~~
../c-client/mail.h:1675:52: note: passing argument to parameter 'pat' here
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
                                                   ^
imapd.c:1135:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_list (NIL,s,t);
                                ^
../c-client/mail.h:1675:42: note: passing argument to parameter 'ref' here
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
                                         ^
imapd.c:1135:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_list (NIL,s,t);
                                  ^
../c-client/mail.h:1675:52: note: passing argument to parameter 'pat' here
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
                                                   ^
imapd.c:1141:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"SCAN")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1147:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (s,t)) {
                           ^
imapd.c:198:20: note: passing argument to parameter 'ref' here
long nameok (char *ref,char *name);
                   ^
imapd.c:1147:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (s,t)) {
                             ^
imapd.c:198:30: note: passing argument to parameter 'name' here
long nameok (char *ref,char *name);
                             ^
imapd.c:1148:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL))
                                  ^
imapd.c:201:30: note: passing argument to parameter 'ref' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                             ^
imapd.c:1148:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL))
                                    ^
imapd.c:201:40: note: passing argument to parameter 'pat' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                                       ^
imapd.c:1148:32: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL))
                                      ^~~
imapd.c:201:50: note: passing argument to parameter 'pattern' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                                                 ^
imapd.c:1150:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_scan (NIL,s,t,u);
                                ^
../c-client/mail.h:1674:42: note: passing argument to parameter 'ref' here
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
                                         ^
imapd.c:1150:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_scan (NIL,s,t,u);
                                  ^
../c-client/mail.h:1674:52: note: passing argument to parameter 'pat' here
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
                                                   ^
imapd.c:1150:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_scan (NIL,s,t,u);
                                    ^
../c-client/mail.h:1674:62: note: passing argument to parameter 'contents' here
void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents);
                                                             ^
imapd.c:1156:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1156:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) {
                                                  ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1162:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (s,t)) {
                           ^
imapd.c:198:20: note: passing argument to parameter 'ref' here
long nameok (char *ref,char *name);
                   ^
imapd.c:1162:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (s,t)) {
                             ^
imapd.c:198:30: note: passing argument to parameter 'name' here
long nameok (char *ref,char *name);
                             ^
imapd.c:1163:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
                                  ^
imapd.c:201:30: note: passing argument to parameter 'ref' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                             ^
imapd.c:1163:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
                                    ^
imapd.c:201:40: note: passing argument to parameter 'pat' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                                       ^
imapd.c:1163:32: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
                                      ^~~
imapd.c:201:50: note: passing argument to parameter 'pattern' here
long newsproxypattern (char *ref,char *pat,char *pattern,long flag);
                                                 ^
imapd.c:1163:59: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp);
                                                                 ^~~
../c-client/newsrc.h:37:44: note: passing argument to parameter 'pattern' here
void newsrc_lsub (MAILSTREAM *stream,char *pattern);
                                           ^
imapd.c:1164:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_lsub (NIL,s,t);
                                ^
../c-client/mail.h:1676:42: note: passing argument to parameter 'ref' here
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
                                         ^
imapd.c:1164:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_lsub (NIL,s,t);
                                  ^
../c-client/mail.h:1676:52: note: passing argument to parameter 'pat' here
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
                                                   ^
imapd.c:1171:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"FIND")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1173:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," \015\012",&sstate)) &&
                                      ^~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:1173:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!(arg && (s = strtok_r (arg," \015\012",&sstate)) &&
                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:1175:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (arg = strtok_r (NIL,"\015\012",&sstate)) &&
                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:1180:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (strpbrk (s,"%?")) response =
                            ^
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
imapd.c:1182:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (nameok (NIL,s)) {
                               ^
imapd.c:198:30: note: passing argument to parameter 'name' here
long nameok (char *ref,char *name);
                             ^
imapd.c:1185:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous)
                         ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1186:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mail_lsub (NIL,NIL,s);
                                 ^
../c-client/mail.h:1676:52: note: passing argument to parameter 'pat' here
void mail_lsub (MAILSTREAM *stream,char *ref,char *pat);
                                                   ^
imapd.c:1187:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) {
                              ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1190:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              mail_list (NIL,NIL,s);
                                 ^
../c-client/mail.h:1675:52: note: passing argument to parameter 'pat' here
void mail_list (MAILSTREAM *stream,char *ref,char *pat);
                                                   ^
imapd.c:1199:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"STATUS")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1201:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (t = strchr (arg,')')) && (t - arg) && !t[1]))
                             ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:1201:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                (t = strchr (arg,')')) && (t - arg) && !t[1]))
                   ^ ~~~~~~~~~~~~~~~~
imapd.c:1207:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            t = strtok_r (ucase (arg)," ",&sstate);
                          ^~~~~~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:1207:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            t = strtok_r (ucase (arg)," ",&sstate);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:1209:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES;
                           ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1210:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!strcmp (t,"RECENT")) f |= SA_RECENT;
                                ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1211:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN;
                                ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1212:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT;
                                ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1213:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY;
                                ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1216:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                PSOUT (t);
                       ^
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1219:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            } while ((t = strtok_r (NIL," ",&sstate)) != NULL);
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:1222:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,"INBOX")) s = "INBOX";
                                    ^~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1222:42: warning: assigning to 'unsigned char *' from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,"INBOX")) s = "INBOX";
                                                ^ ~~~~~~~
imapd.c:1223:35: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
                                         ^~~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1223:50: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
                                                        ^ ~~~~~~~~~~
imapd.c:1226:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (lastsel && (!strcmp (s,lastsel) ||
                                          ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1227:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                 (stream && !strcmp (s,stream->mailbox)))) {
                                                     ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1231:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              PSOUT (s);
                     ^
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1235:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs);
                                       ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:1235:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs);
                         ^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1237:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent);
                                       ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:1237:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent);
                         ^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1241:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen);
                                       ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:1241:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen);
                         ^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1244:26: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1);
                                       ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:1244:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1);
                         ^~~~~~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1246:25: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu",
                                      ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:1246:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu",
                         ^~~~~~~~~~~~~~~~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1249:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              strcat (tmp,")\015\012");
                      ^~~
/usr/include/string.h:76:31: note: passing argument to parameter here
char    *strcat(char * __restrict, const char * __restrict);
                                 ^
imapd.c:1251:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              pastring (s);
                        ^
imapd.c:186:22: note: passing argument to parameter 's' here
void pastring (char *s);
                     ^
imapd.c:1252:15: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              PSOUT (tmp);
                     ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1254:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (isnewsproxy (s)) {
                                  ^
imapd.c:200:25: note: passing argument to parameter 'name' here
long isnewsproxy (char *name);
                        ^
imapd.c:1255:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6);
                       ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1256:30: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!mail_status (NIL,tmp,f)) response = lose;
                                    ^~~
../c-client/mail.h:1683:44: note: passing argument to parameter 'mbx' here
long mail_status (MAILSTREAM *stream,char *mbx,long flags);
                                           ^
imapd.c:1258:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!mail_status (NIL,s,f)) response = lose;
                                       ^
../c-client/mail.h:1683:44: note: passing argument to parameter 'mbx' here
long mail_status (MAILSTREAM *stream,char *mbx,long flags);
                                           ^
imapd.c:1265:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) {
                                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1269:29: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (compare_cstring (s,"MAILBOX")) response = badarg;
                                   ^~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1272:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_subscribe (NIL,s);
                                     ^
../c-client/mail.h:1677:47: note: passing argument to parameter 'mailbox' here
long mail_subscribe (MAILSTREAM *stream,char *mailbox);
                                              ^
imapd.c:1274:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':');
                                ^
imapd.c:200:25: note: passing argument to parameter 'name' here
long isnewsproxy (char *name);
                        ^
imapd.c:1274:49: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':');
                                                       ^~~
../c-client/newsrc.h:38:46: note: passing argument to parameter 'group' here
long newsrc_update (MAILSTREAM *stream,char *group,char state);
                                             ^
imapd.c:1275:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else mail_subscribe (NIL,s);
                                   ^
../c-client/mail.h:1677:47: note: passing argument to parameter 'mailbox' here
long mail_subscribe (MAILSTREAM *stream,char *mailbox);
                                              ^
imapd.c:1280:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) {
                                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1284:29: warning: passing 'char [8]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (compare_cstring (s,"MAILBOX")) response = badarg;
                                   ^~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1287:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!');
                                  ^
imapd.c:200:25: note: passing argument to parameter 'name' here
long isnewsproxy (char *name);
                        ^
imapd.c:1287:51: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!');
                                                         ^~~
../c-client/newsrc.h:38:46: note: passing argument to parameter 'group' here
long newsrc_update (MAILSTREAM *stream,char *group,char state);
                                             ^
imapd.c:1288:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_unsubscribe (NIL,s);
                                       ^
../c-client/mail.h:1678:49: note: passing argument to parameter 'mailbox' here
long mail_unsubscribe (MAILSTREAM *stream,char *mailbox);
                                                ^
imapd.c:1290:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else mail_unsubscribe (NIL,s);
                                     ^
../c-client/mail.h:1678:49: note: passing argument to parameter 'mailbox' here
long mail_unsubscribe (MAILSTREAM *stream,char *mailbox);
                                                ^
imapd.c:1295:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"NAMESPACE")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1346:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || strcmp (cmd,"CREATE"))) {
                                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1349:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else mail_create (NIL,s);
                                ^
../c-client/mail.h:1679:44: note: passing argument to parameter 'mailbox' here
long mail_create (MAILSTREAM *stream,char *mailbox);
                                           ^
imapd.c:1354:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || strcmp (cmd,"DELETE"))) {
                                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1358:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (lastsel && (!strcmp (s,lastsel) ||
                                     ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1359:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            (stream && !strcmp (s,stream->mailbox))))
                                                ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1361:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_delete (NIL,s);
                                  ^
../c-client/mail.h:1680:44: note: passing argument to parameter 'mailbox' here
long mail_delete (MAILSTREAM *stream,char *mailbox);
                                           ^
imapd.c:1367:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!(anonymous || strcmp (cmd,"RENAME"))) {
                                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1371:30: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,"INBOX")) s = "INBOX";
                                    ^~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1371:42: warning: assigning to 'unsigned char *' from 'char [6]' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!compare_cstring (s,"INBOX")) s = "INBOX";
                                                ^ ~~~~~~~
imapd.c:1372:35: warning: passing 'char [9]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
                                         ^~~~~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
imapd.c:1372:50: warning: assigning to 'unsigned char *' from 'char [9]' converts between pointers to integer types with different sign [-Wpointer-sign]
            else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX";
                                                        ^ ~~~~~~~~~~
imapd.c:1373:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (lastsel && (!strcmp (s,lastsel) ||
                                     ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1374:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                            (stream && !strcmp (s,stream->mailbox))))
                                                ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1376:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_rename (NIL,s,t);
                                  ^
../c-client/mail.h:1681:44: note: passing argument to parameter 'old' here
long mail_rename (MAILSTREAM *stream,char *old,char *newname);
                                           ^
imapd.c:1376:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            else mail_rename (NIL,s,t);
                                    ^
../c-client/mail.h:1681:54: note: passing argument to parameter 'newname' here
long mail_rename (MAILSTREAM *stream,char *old,char *newname);
                                                     ^
imapd.c:1383:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        else if (!strcmp (cmd,"IDLE")) {
                          ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:1415:12: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp,"* OK Timeout in %lu minutes\015\012",
                         ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1417:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                PSOUT (tmp);
                       ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1421:12: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012",
                         ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1423:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                PSOUT (tmp);    /* prod client to wake up */
                       ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1432:10: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                slurp (tmp,MAILTMPLEN,INPUTTIMEOUT);
                       ^~~
imapd.c:133:19: note: passing argument to parameter 's' here
void slurp (char *s,int n,unsigned long timeout);
                  ^
imapd.c:1443:16: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--);
                             ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1444:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                    PSOUT (tmp);
                           ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1446:14: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  sprintf (tmp,"* %lu EXISTS\015\012* %lu RECENT\015\012",
                           ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1448:12: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                  PSOUT (tmp);
                         ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1471:17: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (PSINR (tmp,i)) litplus.size -= i;
                       ^~~
../c-client/mail.h:1893:19: note: passing argument to parameter 's' here
long PSINR (char *s,unsigned long n);
                  ^
imapd.c:1480:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        slurp (tmp,MAILTMPLEN,INPUTTIMEOUT);
               ^~~
imapd.c:133:19: note: passing argument to parameter 's' here
void slurp (char *s,int n,unsigned long timeout);
                  ^
imapd.c:1482:19: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((t = strchr (tmp,'\012')) != NULL) {
                         ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:1482:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((t = strchr (tmp,'\012')) != NULL) {
               ^ ~~~~~~~~~~~~~~~~~~~
imapd.c:1487:22: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (((i = strlen (tmp)) > 3) && (tmp[i - 1] == '}') &&
                            ^~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:1493:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              litplus.size = strtoul (tmp + i + 1,NIL,10);
                                      ^~~~~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:1508:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (tmp,response,lstref ? "*" : tag);
                 ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1509:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        PSOUT (tmp);            /* start response */
               ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1512:9: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        PSOUT (user);
               ^~~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1515:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (tmp,response,tag);
                   ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1516:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          PSOUT (tmp);          /* start response */
                 ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1525:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (tmp,response,tag);
                 ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1526:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        PSOUT (tmp);
               ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1529:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity);
                                 ^~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:1529:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                   ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity);
                       ^ ~~~~~~~~~~~~~~~~
imapd.c:1528:13: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          sprintf (tmp,"[%.80sUID %lu ",(char *)
                   ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1530:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          PSOUT (tmp);
                 ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1546:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          PSOUT (cmd);
                 ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1560:11: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sprintf (tmp,response,tag,cmd,lasterror ());
                 ^~~
/usr/include/stdio.h:271:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
imapd.c:1561:9: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        PSOUT (tmp);            /* output response */
               ^~~
../c-client/mail.h:1896:18: note: passing argument to parameter 's' here
int PSOUT (char *s);
                 ^
imapd.c:1936:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (user) s = sout (sout (s,"."),user);
                                   ^~~~
imapd.c:131:27: note: passing argument to parameter 't' here
char *sout (char *s,char *t);
                          ^
imapd.c:1956:36: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      s = sout (sout (s,"\nuser="),user);
                                   ^~~~
imapd.c:131:27: note: passing argument to parameter 't' here
char *sout (char *s,char *t);
                          ^
imapd.c:1974:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (cmd) s = sout (sout (s,", last command="),cmd);
                                                    ^~~
imapd.c:131:27: note: passing argument to parameter 't' here
char *sout (char *s,char *t);
                          ^
imapd.c:1976:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (cmd) s = sout (sout (s,cmd)," in progress");
                                    ^~~
imapd.c:131:27: note: passing argument to parameter 't' here
char *sout (char *s,char *t);
                          ^
imapd.c:2157:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) {
                              ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:2176:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i);
                 ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2176:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i);
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2042:23: note: passing argument to parameter 's' here
void inliteral (char *s,unsigned long n)
                      ^
imapd.c:2178:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    slurp (*arg = t,CMDLEN - (t - cmdbuf),INPUTTIMEOUT);
           ^~~~~~~~
imapd.c:2023:19: note: passing argument to parameter 's' here
void slurp (char *s,int n,unsigned long timeout)
                  ^
imapd.c:2180:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strchr (t,'\012')) return flush ();
                 ^
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:2182:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strtok_r (t,"\015\012",&sstate)) *t = '\0';
                   ^
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:2184:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (((i = strlen (t)) > 3) && (t[i - 1] == '}') &&
                      ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:2190:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        litplus.size = strtoul (t + i + 1,NIL,10);
                                ^~~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:2324:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((c == ' ') && (t = parse_astring (s,&i,&c))) {
                                                  ^~
imapd.c:2126:25: note: passing argument to parameter 'del' here
                              unsigned char *del)
                                             ^
imapd.c:2324:29: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    while ((c == ' ') && (t = parse_astring (s,&i,&c))) {
                            ^ ~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2336:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((t = *s) != NULL) {       /* need to reload strtok state? */
         ^ ~~
imapd.c:2407:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
                          ^~~~~~~~~~
/usr/include/string.h:110:27: note: passing argument to parameter here
char    *strpbrk(const char *, const char *) __pure;
                             ^
imapd.c:2407:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2407:68: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg);
                                                                   ^~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:2423:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"LL")) ret = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2424:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T;
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2428:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"CC") && c == ' ' && *++tail)
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2430:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2432:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2436:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"C") && c == ' ' && *++tail)
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2440:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2441:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2444:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2445:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2449:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) &&
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2453:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        *hdr = mail_newsearchheader (s,t);
                                     ^
../c-client/mail.h:1830:43: note: passing argument to parameter 'line' here
SEARCHHEADER *mail_newsearchheader (char *line,char *text);
                                          ^
imapd.c:2453:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        *hdr = mail_newsearchheader (s,t);
                                       ^
../c-client/mail.h:1830:54: note: passing argument to parameter 'text' here
SEARCHHEADER *mail_newsearchheader (char *line,char *text);
                                                     ^
imapd.c:2460:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail)
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2464:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail)
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2468:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2469:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) {
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2477:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"LD")) ret = pgm->old = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2478:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"N") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2480:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"R") && c == ' ') {
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2488:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2492:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2495:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"EEN")) ret = pgm->seen = T;
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2496:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2498:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2500:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2502:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2504:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2506:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2510:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"EXT") && c == ' ' && *++tail)
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2512:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"O") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2517:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"ID") && c== ' ' && *++tail) {
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2526:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T;
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2527:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T;
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2528:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T;
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2529:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T;
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2530:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail)
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2532:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T;
                        ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2535:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail)
                   ^~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2698:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  char *s = parse_astring (arg,&i,&c);
                                  ^~
imapd.c:2126:25: note: passing argument to parameter 'del' here
                              unsigned char *del)
                                             ^
imapd.c:2698:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  char *s = parse_astring (arg,&i,&c);
        ^   ~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2708:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!*arg) *arg = (char *) (*string)->text.data + i;
                  ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2755:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (ucase (t),"ALL"))
                      ^
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
imapd.c:2755:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (ucase (t),"ALL"))
               ^~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2762:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if ((s = strtok_r (t," ",&sstate)) != NULL) do {
         ^ ~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2763:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (list && (i = strlen (s)) && (s[i-1] == ')')) {
                             ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:2768:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!strcmp (s,"UID")) {    /* no-op if implicit */
                 ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2771:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags;
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2772:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate;
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2773:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size;
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2774:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"ENVELOPE")) {
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2778:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"BODY")) {
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2782:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"BODYSTRUCTURE")) {
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2786:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"RFC822")) {
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2790:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header;
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2791:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strcmp (s,"RFC822.TEXT")) {
                      ^
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
imapd.c:2796:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
                       ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2796:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) ||
                                                 ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2797:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
                       ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2797:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) ||
                                                   ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2798:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             !strncmp (s,"BINARY.SIZE[",12)) {
                       ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2838:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!strncmp (v,"MIME",4)) {
                          ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2851:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          if (!strncmp (v,"HEADER",6)) {
                        ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2856:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            if (!strncmp (v,".FIELDS",7)) {
                          ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2858:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (!strncmp (v,".NOT",4)) {
                            ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2862:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
              if (*v || !(v = strtok_r (NIL,"\015\012",&sstate)) ||
                            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:2871:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          else if (!strncmp (v,"TEXT",4)) {
                             ^
/usr/include/string.h:101:26: note: passing argument to parameter here
int      strncmp(const char *, const char *, size_t) __pure;
                             ^
imapd.c:2894:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
           !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) ||
                                                      ^~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:2896:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
             (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) &&
                                                   ^
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:2905:9: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        sstate = v + 1;         /* reset strtok mechanism */
               ^ ~~~~~
imapd.c:2913:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          strtok_r (v," ",&sstate);
                    ^
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:2924:42: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (s && *s) ta->section = cpystr (s);
                                         ^
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:2931:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  } while ((s = strtok_r (NIL," ",&sstate)) && (k < MAXFETCH) && list);
              ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
imapd.c:3070:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    BODY *body = mail_body (stream,i,ta->section);
                                     ^~~~~~~~~~~
../c-client/mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
imapd.c:3444:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    pnstring (env->date);       /* output envelope fields */
              ^~~~~~~~~
imapd.c:185:22: note: passing argument to parameter 's' here
void pnstring (char *s);
                     ^
imapd.c:3984:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
             ^ ~~~
imapd.c:3984:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
                      ^ ~~~~~~~~
imapd.c:3993:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
           ^ ~~~~
imapd.c:3993:22: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++);
                     ^ ~~~~~~~~
imapd.c:4139:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)))
                                  ^~~~~~~~
../c-client/mail.h:1816:59: note: passing argument to parameter 'sequence' here
long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                          ^
imapd.c:4139:62: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)))
                                                                    ^~~~~~~~
../c-client/mail.h:1815:55: note: passing argument to parameter 'sequence' here
long mail_sequence (MAILSTREAM *stream,unsigned char *sequence);
                                                      ^
imapd.c:4248:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    t = ++arg;                  /* pointer to flag list contents */
      ^ ~~~~~
imapd.c:4255:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (*arg == '"') *date = ad->date = cpystr (snarf (&arg));
                                              ^~~~~~~~~~~~
../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
imapd.c:4260:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  else if (!(i = strtoul (arg+1,&t,10)))
                          ^~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:4268:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf),INPUTTIMEOUT);
           ^~~~~~~
imapd.c:2023:19: note: passing argument to parameter 's' here
void slurp (char *s,int n,unsigned long timeout)
                  ^
imapd.c:4269:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (strchr (ad->arg,'\012')) {
                ^~~~~~~
/usr/include/string.h:77:26: note: passing argument to parameter here
char    *strchr(const char *, int) __pure;
                            ^
imapd.c:4271:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (!strtok_r (ad->arg,"\015\012",&sstate)) *ad->arg = '\0';
                     ^~~~~~~
/usr/include/string.h:122:22: note: passing argument to parameter here
char    *strtok_r(char *, const char *, char **);
                        ^
imapd.c:4273:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') &&
                        ^~~~~~~
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
imapd.c:4279:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
          litplus.size = strtoul (ad->arg + j + 1,NIL,10);
                                  ^~~~~~~~~~~~~~~
/usr/include/stdlib.h:116:34: note: passing argument to parameter here
         strtoul(const char * __restrict, char ** __restrict, int);
                                        ^
imapd.c:4649:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  strncpy (password,pass,256);  /* and password */
                    ^~~~
/usr/include/string.h:102:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
392 warnings generated.
cc -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`
cd mailutil;make
cc -I../c-client `cat ../c-client/CFLAGS` -c mailutil.c -o mailutil.o
mailutil.c:609:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      switch (*ucase (criterion)) {
                      ^~~~~~~~~
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
1 warning generated.
cc -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
cd mlock;make || true
cc `cat ../c-client/CFLAGS` -c mlock.c -o mlock.o
cc `cat ../c-client/CFLAGS` -o mlock mlock.o
cd dmail;make || true
cc -I../c-client `cat ../c-client/CFLAGS` -c dmail.c -o dmail.o
dmail.c:230:66: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!*mailbox || !compare_cstring ((unsigned char *) mailbox,"INBOX"))
                                                                 ^~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
dmail.c:566:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
                      ^~~~~~~~~~~~~~~~~~~~~~~
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
dmail.c:566:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
3 warnings generated.
cc -I../c-client `cat ../c-client/CFLAGS` -c dquota.c -o dquota.o
cc -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
cd tmail;make || true
cc -I../c-client `cat ../c-client/CFLAGS` -c tmail.c -o tmail.o
tmail.c:164:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               !compare_cstring (format->name,"dummy"))
                                 ^~~~~~~~~~~~
../c-client/misc.h:106:37: note: passing argument to parameter 's1' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                    ^
tmail.c:164:40: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
               !compare_cstring (format->name,"dummy"))
                                              ^~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
tmail.c:609:56: warning: passing 'char [6]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if (!**t || !compare_cstring ((unsigned char *) *t,"INBOX")) *t = NIL;
                                                       ^~~~~~~
../c-client/misc.h:106:55: note: passing argument to parameter 's2' here
int compare_cstring (unsigned char *s1,unsigned char *s2);
                                                      ^
tmail.c:706:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
                      ^~~~~~~~~~~~~~~~~~~~~~~
../c-client/misc.h:82:38: note: passing argument to parameter 'string' here
unsigned char *ucase (unsigned char *string);
                                     ^
tmail.c:706:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
  if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T;
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/string.h:81:25: note: passing argument to parameter here
int      strcmp(const char *, const char *) __pure;
                            ^
5 warnings generated.
cc -I../c-client `cat ../c-client/CFLAGS` -c tquota.c -o tquota.o
cc -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/c-client.a `cat ../c-client/LDFLAGS`
/usr/bin/make  all-recursive
Making all in m4
Making all in po
Making all in pith
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 895: warning: duplicate script for target "help_c_gen" ignored
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 501: warning: using previous script for "help_c_gen" defined here
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 896: warning: duplicate script for target "help_c_gen" ignored
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 501: warning: using previous script for "help_c_gen" defined here
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 898: warning: duplicate script for target "help_h_gen" ignored
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 505: warning: using previous script for "help_h_gen" defined here
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 899: warning: duplicate script for target "help_h_gen" ignored
make[3]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 505: warning: using previous script for "help_h_gen" defined here
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT help_h_gen.o -MD -MP -MF .deps/help_h_gen.Tpo -c -o help_h_gen.o help_h_gen.c
mv -f .deps/help_h_gen.Tpo .deps/help_h_gen.Po
/bin/sh ../libtool  --tag=CC    --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing   -L/usr/lib -o help_h_gen help_h_gen.o  -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo
libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -o help_h_gen help_h_gen.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  -L/usr/lib -lssl -lcrypto -ltinfo -pthread
./help_h_gen < pine.hlp > helptext.h
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT help_c_gen.o -MD -MP -MF .deps/help_c_gen.Tpo -c -o help_c_gen.o help_c_gen.c
mv -f .deps/help_c_gen.Tpo .deps/help_c_gen.Po
/bin/sh ../libtool  --tag=CC    --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing   -L/usr/lib -o help_c_gen help_c_gen.o  -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo
libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -o help_c_gen help_c_gen.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  -L/usr/lib -lssl -lcrypto -ltinfo -pthread
./help_c_gen < pine.hlp > helptext.c
/usr/bin/make  all-recursive
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 895: warning: duplicate script for target "help_c_gen" ignored
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 501: warning: using previous script for "help_c_gen" defined here
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 896: warning: duplicate script for target "help_c_gen" ignored
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 501: warning: using previous script for "help_c_gen" defined here
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 898: warning: duplicate script for target "help_h_gen" ignored
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 505: warning: using previous script for "help_h_gen" defined here
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 899: warning: duplicate script for target "help_h_gen" ignored
make[4]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 505: warning: using previous script for "help_h_gen" defined here
Making all in osdep
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT bldpath.o -MD -MP -MF .deps/bldpath.Tpo -c -o bldpath.o bldpath.c
mv -f .deps/bldpath.Tpo .deps/bldpath.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT canaccess.o -MD -MP -MF .deps/canaccess.Tpo -c -o canaccess.o canaccess.c
mv -f .deps/canaccess.Tpo .deps/canaccess.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT canonicl.o -MD -MP -MF .deps/canonicl.Tpo -c -o canonicl.o canonicl.c
mv -f .deps/canonicl.Tpo .deps/canonicl.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT collate.o -MD -MP -MF .deps/collate.Tpo -c -o collate.o collate.c
mv -f .deps/collate.Tpo .deps/collate.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT coredump.o -MD -MP -MF .deps/coredump.Tpo -c -o coredump.o coredump.c
mv -f .deps/coredump.Tpo .deps/coredump.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT creatdir.o -MD -MP -MF .deps/creatdir.Tpo -c -o creatdir.o creatdir.c
mv -f .deps/creatdir.Tpo .deps/creatdir.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT debugtime.o -MD -MP -MF .deps/debugtime.Tpo -c -o debugtime.o debugtime.c
mv -f .deps/debugtime.Tpo .deps/debugtime.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT domnames.o -MD -MP -MF .deps/domnames.Tpo -c -o domnames.o domnames.c
mv -f .deps/domnames.Tpo .deps/domnames.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT err_desc.o -MD -MP -MF .deps/err_desc.Tpo -c -o err_desc.o err_desc.c
mv -f .deps/err_desc.Tpo .deps/err_desc.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT fgetpos.o -MD -MP -MF .deps/fgetpos.Tpo -c -o fgetpos.o fgetpos.c
mv -f .deps/fgetpos.Tpo .deps/fgetpos.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT filesize.o -MD -MP -MF .deps/filesize.Tpo -c -o filesize.o filesize.c
mv -f .deps/filesize.Tpo .deps/filesize.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT fnexpand.o -MD -MP -MF .deps/fnexpand.Tpo -c -o fnexpand.o fnexpand.c
mv -f .deps/fnexpand.Tpo .deps/fnexpand.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT hostname.o -MD -MP -MF .deps/hostname.Tpo -c -o hostname.o hostname.c
mv -f .deps/hostname.Tpo .deps/hostname.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT lstcmpnt.o -MD -MP -MF .deps/lstcmpnt.Tpo -c -o lstcmpnt.o lstcmpnt.c
mv -f .deps/lstcmpnt.Tpo .deps/lstcmpnt.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mimedisp.o -MD -MP -MF .deps/mimedisp.Tpo -c -o mimedisp.o mimedisp.c
mv -f .deps/mimedisp.Tpo .deps/mimedisp.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c
mv -f .deps/pipe.Tpo .deps/pipe.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT pw_stuff.o -MD -MP -MF .deps/pw_stuff.Tpo -c -o pw_stuff.o pw_stuff.c
mv -f .deps/pw_stuff.Tpo .deps/pw_stuff.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT rename.o -MD -MP -MF .deps/rename.Tpo -c -o rename.o rename.c
mv -f .deps/rename.Tpo .deps/rename.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT tempfile.o -MD -MP -MF .deps/tempfile.Tpo -c -o tempfile.o tempfile.c
mv -f .deps/tempfile.Tpo .deps/tempfile.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT temp_nam.o -MD -MP -MF .deps/temp_nam.Tpo -c -o temp_nam.o temp_nam.c
mv -f .deps/temp_nam.Tpo .deps/temp_nam.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT writ_dir.o -MD -MP -MF .deps/writ_dir.Tpo -c -o writ_dir.o writ_dir.c
mv -f .deps/writ_dir.Tpo .deps/writ_dir.Po
rm -f libpithosd.a
/usr/bin/ar cru libpithosd.a bldpath.o canaccess.o  canonicl.o collate.o color.o  coredump.o creatdir.o debugtime.o  domnames.o err_desc.o fgetpos.o  filesize.o fnexpand.o hostname.o  lstcmpnt.o mimedisp.o pipe.o  pw_stuff.o rename.o tempfile.o  temp_nam.o writ_dir.o 
ranlib libpithosd.a
Making all in charconv
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c
mv -f .deps/filesys.Tpo .deps/filesys.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT utf8.o -MD -MP -MF .deps/utf8.Tpo -c -o utf8.o utf8.c
mv -f .deps/utf8.Tpo .deps/utf8.Po
rm -f libpithcc.a
/usr/bin/ar cru libpithcc.a filesys.o utf8.o 
ranlib libpithcc.a
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 895: warning: duplicate script for target "help_c_gen" ignored
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 501: warning: using previous script for "help_c_gen" defined here
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 896: warning: duplicate script for target "help_c_gen" ignored
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 501: warning: using previous script for "help_c_gen" defined here
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 898: warning: duplicate script for target "help_h_gen" ignored
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 505: warning: using previous script for "help_h_gen" defined here
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 899: warning: duplicate script for target "help_h_gen" ignored
make[5]: "/magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39/pith/Makefile" line 505: warning: using previous script for "help_h_gen" defined here
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT ablookup.o -MD -MP -MF .deps/ablookup.Tpo -c -o ablookup.o ablookup.c
mv -f .deps/ablookup.Tpo .deps/ablookup.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT abdlc.o -MD -MP -MF .deps/abdlc.Tpo -c -o abdlc.o abdlc.c
mv -f .deps/abdlc.Tpo .deps/abdlc.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT addrbook.o -MD -MP -MF .deps/addrbook.Tpo -c -o addrbook.o addrbook.c
mv -f .deps/addrbook.Tpo .deps/addrbook.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT addrstring.o -MD -MP -MF .deps/addrstring.Tpo -c -o addrstring.o addrstring.c
mv -f .deps/addrstring.Tpo .deps/addrstring.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT adrbklib.o -MD -MP -MF .deps/adrbklib.Tpo -c -o adrbklib.o adrbklib.c
adrbklib.c:823:14: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
    if(count < 0)
       ~~~~~ ^ ~
adrbklib.c:4803:58: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
    if(new_entry_num && (adrbk_cntr_t) current_entry_num >= 0
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~
adrbklib.c:4814:12: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
        if(e->ent >= 0 && e->ent < count)
           ~~~~~~ ^  ~
adrbklib.c:4829:39: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
            if(e2->ent != NO_NEXT && e2->ent >= 0 && e2->ent < count && e2->ent < smallest->ent)
                                     ~~~~~~~ ^  ~
adrbklib.c:4850:12: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
        if(e->ent >= 0 && e->ent < count)
           ~~~~~~ ^  ~
adrbklib.c:4862:39: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
            if(e2->ent != NO_NEXT && e2->ent >= 0 && e2->ent < count && e2->ent < smallest->ent)
                                     ~~~~~~~ ^  ~
6 warnings generated.
mv -f .deps/adrbklib.Tpo .deps/adrbklib.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT bldaddr.o -MD -MP -MF .deps/bldaddr.Tpo -c -o bldaddr.o bldaddr.c
mv -f .deps/bldaddr.Tpo .deps/bldaddr.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT body.o -MD -MP -MF .deps/body.Tpo -c -o body.o body.c
mv -f .deps/body.Tpo .deps/body.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT charset.o -MD -MP -MF .deps/charset.Tpo -c -o charset.o charset.c
mv -f .deps/charset.Tpo .deps/charset.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c
mv -f .deps/conf.Tpo .deps/conf.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT context.o -MD -MP -MF .deps/context.Tpo -c -o context.o context.c
mv -f .deps/context.Tpo .deps/context.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT copyaddr.o -MD -MP -MF .deps/copyaddr.Tpo -c -o copyaddr.o copyaddr.c
mv -f .deps/copyaddr.Tpo .deps/copyaddr.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT detoken.o -MD -MP -MF .deps/detoken.Tpo -c -o detoken.o detoken.c
mv -f .deps/detoken.Tpo .deps/detoken.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT detach.o -MD -MP -MF .deps/detach.Tpo -c -o detach.o detach.c
mv -f .deps/detach.Tpo .deps/detach.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT editorial.o -MD -MP -MF .deps/editorial.Tpo -c -o editorial.o editorial.c
mv -f .deps/editorial.Tpo .deps/editorial.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT escapes.o -MD -MP -MF .deps/escapes.Tpo -c -o escapes.o escapes.c
mv -f .deps/escapes.Tpo .deps/escapes.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c
mv -f .deps/filter.Tpo .deps/filter.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT flag.o -MD -MP -MF .deps/flag.Tpo -c -o flag.o flag.c
mv -f .deps/flag.Tpo .deps/flag.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT folder.o -MD -MP -MF .deps/folder.Tpo -c -o folder.o folder.c
mv -f .deps/folder.Tpo .deps/folder.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT handle.o -MD -MP -MF .deps/handle.Tpo -c -o handle.o handle.c
mv -f .deps/handle.Tpo .deps/handle.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c
mv -f .deps/help.Tpo .deps/help.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT helpindx.o -MD -MP -MF .deps/helpindx.Tpo -c -o helpindx.o helpindx.c
mv -f .deps/helpindx.Tpo .deps/helpindx.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT hist.o -MD -MP -MF .deps/hist.Tpo -c -o hist.o hist.c
mv -f .deps/hist.Tpo .deps/hist.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT icache.o -MD -MP -MF .deps/icache.Tpo -c -o icache.o icache.c
mv -f .deps/icache.Tpo .deps/icache.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT ical.o -MD -MP -MF .deps/ical.Tpo -c -o ical.o ical.c
ical.c:244:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       strncpy(text, t, strlen(t));
                               ^
/usr/include/string.h:96:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
ical.c:244:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
       strncpy(text, t, strlen(t));
                     ^
/usr/include/string.h:102:57: note: passing argument to parameter here
char    *strncpy(char * __restrict, const char * __restrict, size_t);
                                                           ^
ical.c:2536:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                rv->description[i++] = cpystr(ical_decode(s, vcal->encoding));
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
ical.c:2536:24: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                rv->description[i++] = cpystr(ical_decode(s, vcal->encoding));
                                     ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ical.c:2542:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        rv->description[i++] = cpystr(ical_decode(s, vcal->encoding));
                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./../c-client/misc.h:84:27: note: passing argument to parameter 'string' here
char *cpystr (const char *string);
                          ^
ical.c:2542:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        rv->description[i++] = cpystr(ical_decode(s, vcal->encoding));
                             ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 warnings generated.
mv -f .deps/ical.Tpo .deps/ical.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT imap.o -MD -MP -MF .deps/imap.Tpo -c -o imap.o imap.c
mv -f .deps/imap.Tpo .deps/imap.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c
mv -f .deps/init.Tpo .deps/init.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT keyword.o -MD -MP -MF .deps/keyword.Tpo -c -o keyword.o keyword.c
mv -f .deps/keyword.Tpo .deps/keyword.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT ldap.o -MD -MP -MF .deps/ldap.Tpo -c -o ldap.o ldap.c
mv -f .deps/ldap.Tpo .deps/ldap.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c
mv -f .deps/list.Tpo .deps/list.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mailcap.o -MD -MP -MF .deps/mailcap.Tpo -c -o mailcap.o mailcap.c
mv -f .deps/mailcap.Tpo .deps/mailcap.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mailcmd.o -MD -MP -MF .deps/mailcmd.Tpo -c -o mailcmd.o mailcmd.c
mv -f .deps/mailcmd.Tpo .deps/mailcmd.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mailindx.o -MD -MP -MF .deps/mailindx.Tpo -c -o mailindx.o mailindx.c
mv -f .deps/mailindx.Tpo .deps/mailindx.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT maillist.o -MD -MP -MF .deps/maillist.Tpo -c -o maillist.o maillist.c
mv -f .deps/maillist.Tpo .deps/maillist.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mailview.o -MD -MP -MF .deps/mailview.Tpo -c -o mailview.o mailview.c
mailview.c:512:48: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        b = mail_body (ps_global->mail_stream, msgno, a->number);
                                                      ^~~~~~~~~
./../c-client/mail.h:1746:19: note: passing argument to parameter 'section' here
                 unsigned char *section);
                                ^
mailview.c:528:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                caltext = rfc822_base64(rawtext, strlen(rawtext), &callen);
                                        ^~~~~~~
./../c-client/rfc822.h:102:37: note: passing argument to parameter 'src' here
void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len);
                                    ^
mailview.c:538:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen);
                        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 warnings generated.
mv -f .deps/mailview.Tpo .deps/mailview.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT margin.o -MD -MP -MF .deps/margin.Tpo -c -o margin.o margin.c
mv -f .deps/margin.Tpo .deps/margin.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mimedesc.o -MD -MP -MF .deps/mimedesc.Tpo -c -o mimedesc.o mimedesc.c
mv -f .deps/mimedesc.Tpo .deps/mimedesc.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mimetype.o -MD -MP -MF .deps/mimetype.Tpo -c -o mimetype.o mimetype.c
mv -f .deps/mimetype.Tpo .deps/mimetype.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT msgno.o -MD -MP -MF .deps/msgno.Tpo -c -o msgno.o msgno.c
mv -f .deps/msgno.Tpo .deps/msgno.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c
mv -f .deps/newmail.Tpo .deps/newmail.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT news.o -MD -MP -MF .deps/news.Tpo -c -o news.o news.c
mv -f .deps/news.Tpo .deps/news.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT pattern.o -MD -MP -MF .deps/pattern.Tpo -c -o pattern.o pattern.c
mv -f .deps/pattern.Tpo .deps/pattern.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c
mv -f .deps/pipe.Tpo .deps/pipe.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT readfile.o -MD -MP -MF .deps/readfile.Tpo -c -o readfile.o readfile.c
mv -f .deps/readfile.Tpo .deps/readfile.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT remote.o -MD -MP -MF .deps/remote.Tpo -c -o remote.o remote.c
mv -f .deps/remote.Tpo .deps/remote.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT reply.o -MD -MP -MF .deps/reply.Tpo -c -o reply.o reply.c
mv -f .deps/reply.Tpo .deps/reply.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT rfc2231.o -MD -MP -MF .deps/rfc2231.Tpo -c -o rfc2231.o rfc2231.c
mv -f .deps/rfc2231.Tpo .deps/rfc2231.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT save.o -MD -MP -MF .deps/save.Tpo -c -o save.o save.c
mv -f .deps/save.Tpo .deps/save.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c
mv -f .deps/search.Tpo .deps/search.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT sequence.o -MD -MP -MF .deps/sequence.Tpo -c -o sequence.o sequence.c
mv -f .deps/sequence.Tpo .deps/sequence.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c
send.c:4262:17: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
    if(c_in_buf >= 0 && c_in_buf < SIZEOF_20KBUF)
       ~~~~~~~~ ^  ~
1 warning generated.
mv -f .deps/send.Tpo .deps/send.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT sort.o -MD -MP -MF .deps/sort.Tpo -c -o sort.o sort.c
mv -f .deps/sort.Tpo .deps/sort.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c
mv -f .deps/state.Tpo .deps/state.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
mv -f .deps/status.Tpo .deps/status.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.c
mv -f .deps/store.Tpo .deps/store.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT stream.o -MD -MP -MF .deps/stream.Tpo -c -o stream.o stream.c
mv -f .deps/stream.Tpo .deps/stream.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT string.o -MD -MP -MF .deps/string.Tpo -c -o string.o string.c
mv -f .deps/string.Tpo .deps/string.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT strlst.o -MD -MP -MF .deps/strlst.Tpo -c -o strlst.o strlst.c
mv -f .deps/strlst.Tpo .deps/strlst.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT takeaddr.o -MD -MP -MF .deps/takeaddr.Tpo -c -o takeaddr.o takeaddr.c
mv -f .deps/takeaddr.Tpo .deps/takeaddr.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT tempfile.o -MD -MP -MF .deps/tempfile.Tpo -c -o tempfile.o tempfile.c
mv -f .deps/tempfile.Tpo .deps/tempfile.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.c
mv -f .deps/text.Tpo .deps/text.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT thread.o -MD -MP -MF .deps/thread.Tpo -c -o thread.o thread.c
mv -f .deps/thread.Tpo .deps/thread.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT adjtime.o -MD -MP -MF .deps/adjtime.Tpo -c -o adjtime.o adjtime.c
mv -f .deps/adjtime.Tpo .deps/adjtime.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT url.o -MD -MP -MF .deps/url.Tpo -c -o url.o url.c
mv -f .deps/url.Tpo .deps/url.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c
mv -f .deps/util.Tpo .deps/util.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT helptext.o -MD -MP -MF .deps/helptext.Tpo -c -o helptext.o helptext.c
mv -f .deps/helptext.Tpo .deps/helptext.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT smkeys.o -MD -MP -MF .deps/smkeys.Tpo -c -o smkeys.o smkeys.c
smkeys.c:205:59: warning: passing 'char [39]' to parameter of type 'const unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
            X509_NAME_add_entry_by_txt(name, "CN", MBSTRING_ASC, "Password File Certificate and Key Pair", -1, -1, 0);
                                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/openssl/x509.h:1040:53: note: passing argument to parameter 'bytes' here
                               const unsigned char *bytes, int len, int loc,
                                                    ^
1 warning generated.
mv -f .deps/smkeys.Tpo .deps/smkeys.Po
cc -DHAVE_CONFIG_H   -I../include -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT smime.o -MD -MP -MF .deps/smime.Tpo -c -o smime.o smime.c
mv -f .deps/smime.Tpo .deps/smime.Po
rm -f libpith.a
/usr/bin/ar cru libpith.a ablookup.o abdlc.o  addrbook.o addrstring.o adrbklib.o  bldaddr.o body.o charset.o  color.o conf.o context.o  copyaddr.o detoken.o detach.o  editorial.o escapes.o filter.o  flag.o folder.o handle.o  help.o helpindx.o hist.o  icache.o ical.o imap.o init.o  keyword.o ldap.o list.o  mailcap.o mailcmd.o mailindx.o  maillist.o mailview.o margin.o  mimedesc.o mimetype.o msgno.o  newmail.o news.o pattern.o  pipe.o readfile.o remote.o  reply.o rfc2231.o save.o  search.o sequence.o send.o  sort.o state.o status.o  store.o stream.o string.o  strlst.o takeaddr.o tempfile.o  text.o thread.o adjtime.o  url.o util.o helptext.o  smkeys.o smime.o 
ranlib libpith.a
Making all in pico
Making all in osdep
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT altedit.o -MD -MP -MF .deps/altedit.Tpo -c -o altedit.o altedit.c
mv -f .deps/altedit.Tpo .deps/altedit.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT chkpoint.o -MD -MP -MF .deps/chkpoint.Tpo -c -o chkpoint.o chkpoint.c
mv -f .deps/chkpoint.Tpo .deps/chkpoint.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c
mv -f .deps/color.Tpo .deps/color.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c
mv -f .deps/filesys.Tpo .deps/filesys.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT fsync.o -MD -MP -MF .deps/fsync.Tpo -c -o fsync.o fsync.c
mv -f .deps/fsync.Tpo .deps/fsync.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT getkey.o -MD -MP -MF .deps/getkey.Tpo -c -o getkey.o getkey.c
getkey.c:320:12: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
    if (ch >= 0x00 && ch <= 0x1F)       /* C0 control -> C-     */
        ~~ ^  ~~~~
1 warning generated.
mv -f .deps/getkey.Tpo .deps/getkey.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o mouse.c
mv -f .deps/mouse.Tpo .deps/mouse.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c
mv -f .deps/newmail.Tpo .deps/newmail.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c
mv -f .deps/popen.Tpo .deps/popen.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT raw.o -MD -MP -MF .deps/raw.Tpo -c -o raw.o raw.c
mv -f .deps/raw.Tpo .deps/raw.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT read.o -MD -MP -MF .deps/read.Tpo -c -o read.o read.c
mv -f .deps/read.Tpo .deps/read.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.c
mv -f .deps/shell.Tpo .deps/shell.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c
mv -f .deps/signals.Tpo .deps/signals.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT spell.o -MD -MP -MF .deps/spell.Tpo -c -o spell.o spell.c
mv -f .deps/spell.Tpo .deps/spell.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT terminal.o -MD -MP -MF .deps/terminal.Tpo -c -o terminal.o terminal.c
mv -f .deps/terminal.Tpo .deps/terminal.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT truncate.o -MD -MP -MF .deps/truncate.Tpo -c -o truncate.o truncate.c
mv -f .deps/truncate.Tpo .deps/truncate.Po
cc -DHAVE_CONFIG_H   -I../../include -I../../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT tty.o -MD -MP -MF .deps/tty.Tpo -c -o tty.o tty.c
mv -f .deps/tty.Tpo .deps/tty.Po
rm -f libpicoosd.a
/usr/bin/ar cru libpicoosd.a altedit.o chkpoint.o  color.o filesys.o fsync.o  getkey.o mouse.o newmail.o  popen.o raw.o read.o shell.o  signals.o spell.o terminal.o  truncate.o tty.o 
ranlib libpicoosd.a
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT attach.o -MD -MP -MF .deps/attach.Tpo -c -o attach.o attach.c
mv -f .deps/attach.Tpo .deps/attach.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT basic.o -MD -MP -MF .deps/basic.Tpo -c -o basic.o basic.c
mv -f .deps/basic.Tpo .deps/basic.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT bind.o -MD -MP -MF .deps/bind.Tpo -c -o bind.o bind.c
mv -f .deps/bind.Tpo .deps/bind.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT browse.o -MD -MP -MF .deps/browse.Tpo -c -o browse.o browse.c
browse.c:1121:5: warning: format specifies type 'char *' but the argument has type 'int' [-Wformat]
                                NLINE - 20, add_file > 0 ? "File" : "Directory", child);
                                ^~~~~~~~~~
./estruct.h:48:17: note: expanded from macro 'NLINE'
#define NLINE   500                     /* # of bytes, line             */
                ^
browse.c:1120:41: warning: field precision should have type 'int', but argument has type 'char *' [-Wformat]
                        snprintf(tmp, sizeof(tmp), _("%s \"%.*s\" already exists!"),
                                                           ~~^~
../include/system.h:245:29: note: expanded from macro '_'
# define _(String) gettext (String)
                            ^
2 warnings generated.
mv -f .deps/browse.Tpo .deps/browse.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c
mv -f .deps/buffer.Tpo .deps/buffer.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT composer.o -MD -MP -MF .deps/composer.Tpo -c -o composer.o composer.c
mv -f .deps/composer.Tpo .deps/composer.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c
mv -f .deps/display.Tpo .deps/display.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
mv -f .deps/file.Tpo .deps/file.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT fileio.o -MD -MP -MF .deps/fileio.Tpo -c -o fileio.o fileio.c
mv -f .deps/fileio.Tpo .deps/fileio.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT line.o -MD -MP -MF .deps/line.Tpo -c -o line.o line.c
line.c:624:39: warning: comparison of constant -96 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
          || (unsigned char) lgetc(line,n).c != NBSPC)
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^  ~~~~~
1 warning generated.
mv -f .deps/line.Tpo .deps/line.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT pico.o -MD -MP -MF .deps/pico.Tpo -c -o pico.o pico.c
mv -f .deps/pico.Tpo .deps/pico.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c
mv -f .deps/random.Tpo .deps/random.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT region.o -MD -MP -MF .deps/region.Tpo -c -o region.o region.c
mv -f .deps/region.Tpo .deps/region.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c
mv -f .deps/search.Tpo .deps/search.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c
mv -f .deps/window.Tpo .deps/window.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT word.o -MD -MP -MF .deps/word.Tpo -c -o word.o word.c
mv -f .deps/word.Tpo .deps/word.Po
rm -f libpico.a
/usr/bin/ar cru libpico.a attach.o basic.o bind.o  browse.o buffer.o composer.o  display.o file.o fileio.o  line.o pico.o random.o  region.o search.o window.o  word.o 
ranlib libpico.a
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT utf8stub.o -MD -MP -MF .deps/utf8stub.Tpo -c -o utf8stub.o utf8stub.c
mv -f .deps/utf8stub.Tpo .deps/utf8stub.Po
/bin/sh ../libtool  --tag=CC    --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing   -L/usr/lib -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a  ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo
libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -o pico main.o utf8stub.o ../c-client/utf8.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lssl -lcrypto -ltinfo -pthread
cc -DHAVE_CONFIG_H   -I../include  -I/usr/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing -MT pilot.o -MD -MP -MF .deps/pilot.Tpo -c -o pilot.o pilot.c
mv -f .deps/pilot.Tpo .deps/pilot.Po
/bin/sh ../libtool  --tag=CC    --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe  -fno-strict-aliasing   -L/usr/lib -o pilot pilot.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a  ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lssl -lcrypto  /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo
libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fno-strict-aliasing -o pilot pilot.o utf8stub.o ../c-client/utf8.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib  -L/usr/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lssl -lcrypto -ltinfo -pthread
make[3]: don't know how to make doc/pico.1. Stop

make[3]: stopped in /magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39
*** Error code 1

Stop.
make[2]: stopped in /magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39
*** Error code 1

Stop.
make[1]: stopped in /magus/work/usr/mports/editors/pico-alpine/work/alpine-d3e6f39
*** Error code 1

Stop.
make: stopped in /usr/mports/editors/pico-alpine