RUN: /usr/share/launchpad-buildd/slavebin/slave-prep ['slave-prep'] Forking launchpad-buildd slave process... Kernel version: Linux kishi01 3.2.0-51-highbank #77-Ubuntu SMP PREEMPT Thu Jul 25 04:09:51 UTC 2013 armv7l Buildd toolchain package versions: launchpad-buildd_119~0.IS.08.04 python-lpbuildd_119~0.IS.08.04 bzr_2.5.1-0ubuntu2. Syncing the system clock with the buildd NTP service... 30 Dec 10:09:36 ntpdate[3656]: adjust time server 10.211.37.1 offset 0.000181 sec RUN: /usr/share/launchpad-buildd/slavebin/unpack-chroot ['unpack-chroot', 'PACKAGEBUILD-5395779', '/home/buildd/filecache-default/788c82489e30fc9f76da26660b92d4554bee8a7e'] Unpacking chroot for build PACKAGEBUILD-5395779 RUN: /usr/share/launchpad-buildd/slavebin/mount-chroot ['mount-chroot', 'PACKAGEBUILD-5395779'] Mounting chroot for build PACKAGEBUILD-5395779 RUN: /usr/share/launchpad-buildd/slavebin/override-sources-list ['override-sources-list', 'PACKAGEBUILD-5395779', 'deb http://ftpmaster.internal/ubuntu trusty main universe', 'deb http://ftpmaster.internal/ubuntu trusty-security main universe', 'deb http://ftpmaster.internal/ubuntu trusty-updates main universe', 'deb http://ftpmaster.internal/ubuntu trusty-proposed main universe'] Overriding sources.list in build-PACKAGEBUILD-5395779 RUN: /usr/share/launchpad-buildd/slavebin/update-debian-chroot ['update-debian-chroot', 'PACKAGEBUILD-5395779', 'armhf'] Updating debian chroot for build PACKAGEBUILD-5395779 Ign http://ftpmaster.internal trusty InRelease Ign http://archive-team.internal trusty InRelease Ign http://ftpmaster.internal trusty-security InRelease Ign http://archive-team.internal trusty Release.gpg Ign http://ftpmaster.internal trusty-updates InRelease Get:1 http://archive-team.internal trusty Release [730 B] Ign http://ftpmaster.internal trusty-proposed InRelease Get:2 http://ftpmaster.internal trusty Release.gpg [933 B] Get:3 http://ftpmaster.internal trusty-security Release.gpg [933 B] Get:4 http://ftpmaster.internal trusty-updates Release.gpg [933 B] Get:5 http://ftpmaster.internal trusty-proposed Release.gpg [933 B] Get:6 http://ftpmaster.internal trusty Release [58.5 kB] Get:7 http://archive-team.internal trusty/main armhf Packages Get:8 http://ftpmaster.internal trusty-security Release [58.5 kB] Get:9 http://ftpmaster.internal trusty-updates Release [58.5 kB] Ign http://archive-team.internal trusty/main Translation-en Get:10 http://ftpmaster.internal trusty-proposed Release [58.5 kB] Get:11 http://ftpmaster.internal trusty/main armhf Packages [1243 kB] Get:12 http://ftpmaster.internal trusty/universe armhf Packages [5672 kB] Get:13 http://ftpmaster.internal trusty/main Translation-en [727 kB] Get:14 http://ftpmaster.internal trusty/universe Translation-en [4017 kB] Get:15 http://ftpmaster.internal trusty-security/main armhf Packages [14 B] Get:16 http://ftpmaster.internal trusty-security/universe armhf Packages [14 B] Get:17 http://ftpmaster.internal trusty-security/main Translation-en [14 B] Get:18 http://ftpmaster.internal trusty-security/universe Translation-en [14 B] Get:19 http://ftpmaster.internal trusty-updates/main armhf Packages [14 B] Get:20 http://ftpmaster.internal trusty-updates/universe armhf Packages [14 B] Get:21 http://ftpmaster.internal trusty-updates/main Translation-en [14 B] Get:22 http://ftpmaster.internal trusty-updates/universe Translation-en [14 B] Get:23 http://ftpmaster.internal trusty-proposed/main armhf Packages [66.7 kB] Get:24 http://ftpmaster.internal trusty-proposed/universe armhf Packages [245 kB] Get:25 http://ftpmaster.internal trusty-proposed/main Translation-en [29.5 kB] Get:26 http://ftpmaster.internal trusty-proposed/universe Translation-en [170 kB] Fetched 12.4 MB in 16s (743 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. RUN: /usr/share/launchpad-buildd/slavebin/sbuild-package ['sbuild-package', 'PACKAGEBUILD-5395779', 'armhf', 'trusty-proposed', '--nolog', '--batch', '--archive=ubuntu', '--dist=trusty-proposed', '--purpose=PRIMARY', '--architecture=armhf', '--comp=universe', 'uw-imap_2007f~dfsg-2.dsc'] Initiating build PACKAGEBUILD-5395779 with 4 jobs across 4 processor cores. Kernel reported to sbuild: 3.2.0-51-highbank #77-Ubuntu SMP PREEMPT Thu Jul 25 04:09:51 UTC 2013 armv7l Automatic build of uw-imap_2007f~dfsg-2 on kishi01 by sbuild/armhf 1.170.5 Build started at 20131230-1010 ****************************************************************************** uw-imap_2007f~dfsg-2.dsc exists in cwd ** Using build dependencies supplied by package: Build-Depends: cdbs (>= 0.4.72~), debhelper, dh-buildinfo, devscripts, libpam-dev, libkrb5-dev, comerr-dev, libssl-dev, d-shlibs Checking for already installed source dependencies... cdbs: missing debhelper: missing dh-buildinfo: missing devscripts: missing libpam-dev: missing libkrb5-dev: missing comerr-dev: missing libssl-dev: missing d-shlibs: missing Checking for source dependency conflicts... /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install cdbs debhelper dh-buildinfo devscripts libpam-dev libkrb5-dev comerr-dev libssl-dev d-shlibs Reading package lists... Building dependency tree... Reading state information... The following extra packages will be installed: apparmor-easyprof autoconf automake autotools-dev bsdmainutils ca-certificates dh-apparmor dh-python dh-translations file gettext gettext-base groff-base intltool intltool-debian krb5-multidev libasprintf0c2 libcroco3 libencode-locale-perl libexpat1 libfile-listing-perl libglib2.0-0 libgssrpc4 libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-7 liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic1 libnet-http-perl libnet-ssleay-perl libpipeline1 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libsigsegv2 libssl1.0.0 libunistring0 liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl libxml2 m4 man-db mime-support netbase openssl po-debconf python python-minimal python-scour python2.7 python2.7-minimal python3 python3-minimal python3.3 python3.3-minimal zlib1g-dev Suggested packages: autoconf2.13 autoconf-archive gnu-standards autoconf-doc libtool wamerican wordlist whois vacation doc-base dh-make bsd-mailx mailx cvs-buildpackage devscripts-el gnuplot libauthen-sasl-perl libfile-desktopentry-perl libnet-smtp-ssl-perl libterm-size-perl libyaml-syck-perl mutt ssh-client svn-buildpackage w3m debian-keyring equivs libsoap-lite-perl gettext-doc groff krb5-doc krb5-user libdata-dump-perl libcrypt-ssleay-perl libauthen-ntlm-perl less www-browser libmail-box-perl python-doc python-tk python-rsvg python-cairo python2.7-doc binfmt-support python3-doc python3-tk python3.3-doc Recommended packages: at dctrl-tools dput dupload libdistro-info-perl libjson-perl libparse-debcontrol-perl lintian patchutils python3-debian python3-magic strace unzip wdiff wget curl libasprintf-dev libgettextpo-dev libglib2.0-data shared-mime-info libhtml-format-perl libio-socket-inet6-perl libio-socket-ip-perl libssl-doc libhtml-form-perl libhttp-daemon-perl libmailtools-perl xml-core libmail-sendmail-perl The following NEW packages will be installed: apparmor-easyprof autoconf automake autotools-dev bsdmainutils ca-certificates cdbs comerr-dev d-shlibs debhelper devscripts dh-apparmor dh-buildinfo dh-python dh-translations file gettext gettext-base groff-base intltool intltool-debian krb5-multidev libasprintf0c2 libcroco3 libencode-locale-perl libexpat1 libfile-listing-perl libglib2.0-0 libgssrpc4 libhtml-parser-perl libhtml-tagset-perl libhtml-tree-perl libhttp-cookies-perl libhttp-date-perl libhttp-message-perl libhttp-negotiate-perl libio-html-perl libio-socket-ssl-perl libkadm5clnt-mit8 libkadm5srv-mit8 libkdb5-7 libkrb5-dev liblwp-mediatypes-perl liblwp-protocol-https-perl libmagic1 libnet-http-perl libnet-ssleay-perl libpam0g-dev libpipeline1 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib libpython3.3-minimal libpython3.3-stdlib libsigsegv2 libssl-dev libssl1.0.0 libunistring0 liburi-perl libwww-perl libwww-robotrules-perl libxml-parser-perl libxml2 m4 man-db mime-support netbase openssl po-debconf python python-minimal python-scour python2.7 python2.7-minimal python3 python3-minimal python3.3 python3.3-minimal zlib1g-dev 0 upgraded, 80 newly installed, 0 to remove and 0 not upgraded. Need to get 19.2 MB of archives. After this operation, 70.6 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu/ trusty/main libexpat1 armhf 2.1.0-4ubuntu1 [52.6 kB] Get:2 http://ftpmaster.internal/ubuntu/ trusty/main libmagic1 armhf 1:5.14-2ubuntu1 [180 kB] Get:3 http://ftpmaster.internal/ubuntu/ trusty/main libssl1.0.0 armhf 1.0.1e-4ubuntu4 [656 kB] Get:4 http://ftpmaster.internal/ubuntu/ trusty/main libpython3.3-minimal armhf 3.3.3-4 [393 kB] Get:5 http://ftpmaster.internal/ubuntu/ trusty/main mime-support all 3.54ubuntu1 [31.7 kB] Get:6 http://ftpmaster.internal/ubuntu/ trusty/main libpython3.3-stdlib armhf 3.3.3-4 [2007 kB] Get:7 http://ftpmaster.internal/ubuntu/ trusty/main python3.3-minimal armhf 3.3.3-4 [1135 kB] Get:8 http://ftpmaster.internal/ubuntu/ trusty/main libasprintf0c2 armhf 0.18.3.1-1ubuntu2 [6448 B] Get:9 http://ftpmaster.internal/ubuntu/ trusty/main libglib2.0-0 armhf 2.39.2-0ubuntu1 [903 kB] Get:10 http://ftpmaster.internal/ubuntu/ trusty/main libgssrpc4 armhf 1.11.3+dfsg-3ubuntu2 [52.3 kB] Get:11 http://ftpmaster.internal/ubuntu/ trusty/main libkdb5-7 armhf 1.11.3+dfsg-3ubuntu2 [35.4 kB] Get:12 http://ftpmaster.internal/ubuntu/ trusty/main libpipeline1 armhf 1.2.6-1 [19.4 kB] Get:13 http://ftpmaster.internal/ubuntu/ trusty/main libxml2 armhf 2.9.1+dfsg1-3ubuntu3 [484 kB] Get:14 http://ftpmaster.internal/ubuntu/ trusty/main groff-base armhf 1.22.2-3 [648 kB] Get:15 http://ftpmaster.internal/ubuntu/ trusty/main bsdmainutils armhf 9.0.5ubuntu1 [195 kB] Get:16 http://ftpmaster.internal/ubuntu/ trusty/main man-db armhf 2.6.5-2 [684 kB] Get:17 http://ftpmaster.internal/ubuntu/ trusty/main libcroco3 armhf 0.6.8-2ubuntu1 [69.1 kB] Get:18 http://ftpmaster.internal/ubuntu/ trusty/main libkadm5clnt-mit8 armhf 1.11.3+dfsg-3ubuntu2 [37.6 kB] Get:19 http://ftpmaster.internal/ubuntu/ trusty/main libkadm5srv-mit8 armhf 1.11.3+dfsg-3ubuntu2 [50.4 kB] Get:20 http://ftpmaster.internal/ubuntu/ trusty/main libsigsegv2 armhf 2.10-2 [14.0 kB] Get:21 http://ftpmaster.internal/ubuntu/ trusty/main libunistring0 armhf 0.9.3-5ubuntu3 [251 kB] Get:22 http://ftpmaster.internal/ubuntu/ trusty/main libpython2.7-minimal armhf 2.7.6-3ubuntu1 [307 kB] Get:23 http://ftpmaster.internal/ubuntu/ trusty/main python2.7-minimal armhf 2.7.6-3ubuntu1 [1044 kB] Get:24 http://ftpmaster.internal/ubuntu/ trusty/main python3.3 armhf 3.3.3-4 [129 kB] Get:25 http://ftpmaster.internal/ubuntu/ trusty/main python3-minimal armhf 3.3.2-17ubuntu1 [23.5 kB] Get:26 http://ftpmaster.internal/ubuntu/ trusty/main libpython3-stdlib armhf 3.3.2-17ubuntu1 [7096 B] Get:27 http://ftpmaster.internal/ubuntu/ trusty/main python3 armhf 3.3.2-17ubuntu1 [8678 B] Get:28 http://ftpmaster.internal/ubuntu/ trusty/main dh-python all 1.20131021-1ubuntu6 [50.2 kB] Get:29 http://ftpmaster.internal/ubuntu/ trusty/main file armhf 1:5.14-2ubuntu1 [18.5 kB] Get:30 http://ftpmaster.internal/ubuntu/ trusty/main netbase all 5.1 [13.9 kB] Get:31 http://ftpmaster.internal/ubuntu/ trusty/main openssl armhf 1.0.1e-4ubuntu4 [488 kB] Get:32 http://ftpmaster.internal/ubuntu/ trusty/main ca-certificates all 20130906ubuntu1 [180 kB] Get:33 http://ftpmaster.internal/ubuntu/ trusty/main gettext-base armhf 0.18.3.1-1ubuntu2 [45.9 kB] Get:34 http://ftpmaster.internal/ubuntu/ trusty/main m4 armhf 1.4.17-2ubuntu1 [178 kB] Get:35 http://ftpmaster.internal/ubuntu/ trusty/main autoconf all 2.69-2 [573 kB] Get:36 http://ftpmaster.internal/ubuntu/ trusty/main autotools-dev all 20130810.1 [44.3 kB] Get:37 http://ftpmaster.internal/ubuntu/ trusty/main automake all 1:1.14-2ubuntu1 [580 kB] Get:38 http://ftpmaster.internal/ubuntu/ trusty/main gettext armhf 0.18.3.1-1ubuntu2 [778 kB] Get:39 http://ftpmaster.internal/ubuntu/ trusty/main intltool-debian all 0.35.0+20060710.1 [31.6 kB] Get:40 http://ftpmaster.internal/ubuntu/ trusty/main po-debconf all 1.0.16+nmu2ubuntu1 [210 kB] Get:41 http://ftpmaster.internal/ubuntu/ trusty/main apparmor-easyprof all 2.8.0-0ubuntu35 [20.1 kB] Get:42 http://ftpmaster.internal/ubuntu/ trusty/main dh-apparmor all 2.8.0-0ubuntu35 [7300 B] Get:43 http://ftpmaster.internal/ubuntu/ trusty/main debhelper all 9.20131127ubuntu1 [604 kB] Get:44 http://ftpmaster.internal/ubuntu/ trusty/main liburi-perl all 1.60-1 [89.6 kB] Get:45 http://ftpmaster.internal/ubuntu/ trusty/main libencode-locale-perl all 1.03-1 [12.4 kB] Get:46 http://ftpmaster.internal/ubuntu/ trusty/main libhttp-date-perl all 6.02-1 [10.4 kB] Get:47 http://ftpmaster.internal/ubuntu/ trusty/main libfile-listing-perl all 6.04-1 [9774 B] Get:48 http://ftpmaster.internal/ubuntu/ trusty/main libhtml-tagset-perl all 3.20-2 [13.5 kB] Get:49 http://ftpmaster.internal/ubuntu/ trusty/main libhtml-parser-perl armhf 3.71-1build1 [94.4 kB] Get:50 http://ftpmaster.internal/ubuntu/ trusty/main libhtml-tree-perl all 5.03-1 [215 kB] Get:51 http://ftpmaster.internal/ubuntu/ trusty/main libio-html-perl all 1.00-1 [15.7 kB] Get:52 http://ftpmaster.internal/ubuntu/ trusty/main liblwp-mediatypes-perl all 6.02-1 [21.7 kB] Get:53 http://ftpmaster.internal/ubuntu/ trusty/main libhttp-message-perl all 6.06-1 [78.7 kB] Get:54 http://ftpmaster.internal/ubuntu/ trusty/main libhttp-cookies-perl all 6.00-2 [23.3 kB] Get:55 http://ftpmaster.internal/ubuntu/ trusty/main libhttp-negotiate-perl all 6.00-2 [13.4 kB] Get:56 http://ftpmaster.internal/ubuntu/ trusty/main libnet-ssleay-perl armhf 1.55-1build1 [293 kB] Get:57 http://ftpmaster.internal/ubuntu/ trusty/main libio-socket-ssl-perl all 1.76-2ubuntu1 [51.4 kB] Get:58 http://ftpmaster.internal/ubuntu/ trusty/main libnet-http-perl all 6.06-1 [24.2 kB] Get:59 http://ftpmaster.internal/ubuntu/ trusty/main liblwp-protocol-https-perl all 6.04-2 [7330 B] Get:60 http://ftpmaster.internal/ubuntu/ trusty/main libwww-robotrules-perl all 6.01-1 [14.1 kB] Get:61 http://ftpmaster.internal/ubuntu/ trusty/main libwww-perl all 6.05-2 [146 kB] Get:62 http://ftpmaster.internal/ubuntu/ trusty/main libxml-parser-perl armhf 2.41-1build3 [276 kB] Get:63 http://ftpmaster.internal/ubuntu/ trusty/main intltool all 0.50.2-2 [52.0 kB] Get:64 http://ftpmaster.internal/ubuntu/ trusty/main dh-translations all 118 [21.9 kB] Get:65 http://ftpmaster.internal/ubuntu/ trusty/main libpython2.7-stdlib armhf 2.7.6-3ubuntu1 [1819 kB] Get:66 http://ftpmaster.internal/ubuntu/ trusty/main python2.7 armhf 2.7.6-3ubuntu1 [191 kB] Get:67 http://ftpmaster.internal/ubuntu/ trusty/main python-minimal armhf 2.7.5-5ubuntu3 [27.4 kB] Get:68 http://ftpmaster.internal/ubuntu/ trusty/main libpython-stdlib armhf 2.7.5-5ubuntu3 [6984 B] Get:69 http://ftpmaster.internal/ubuntu/ trusty/main python armhf 2.7.5-5ubuntu3 [134 kB] Get:70 http://ftpmaster.internal/ubuntu/ trusty/main python-scour all 0.26-3 [46.5 kB] Get:71 http://ftpmaster.internal/ubuntu/ trusty/main cdbs all 0.4.122ubuntu1 [49.1 kB] Get:72 http://ftpmaster.internal/ubuntu/ trusty/main d-shlibs all 0.54 [11.2 kB] Get:73 http://ftpmaster.internal/ubuntu/ trusty/main devscripts armhf 2.13.9 [783 kB] Get:74 http://ftpmaster.internal/ubuntu/ trusty/main dh-buildinfo all 0.10ubuntu1 [14.1 kB] Get:75 http://ftpmaster.internal/ubuntu/ trusty/main comerr-dev armhf 2.1-1.42.8-1ubuntu3 [39.0 kB] Get:76 http://ftpmaster.internal/ubuntu/ trusty/main krb5-multidev armhf 1.11.3+dfsg-3ubuntu2 [134 kB] Get:77 http://ftpmaster.internal/ubuntu/ trusty/main libpam0g-dev armhf 1.1.3-10ubuntu1 [115 kB] Get:78 http://ftpmaster.internal/ubuntu/ trusty/main zlib1g-dev armhf 1:1.2.8.dfsg-1ubuntu1 [176 kB] Get:79 http://ftpmaster.internal/ubuntu/ trusty/main libssl-dev armhf 1.0.1e-4ubuntu4 [909 kB] Get:80 http://ftpmaster.internal/ubuntu/ trusty/main libkrb5-dev armhf 1.11.3+dfsg-3ubuntu2 [16.2 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 19.2 MB in 4s (4676 kB/s) Selecting previously unselected package libexpat1:armhf. (Reading database ... 11801 files and directories currently installed.) Unpacking libexpat1:armhf (from .../libexpat1_2.1.0-4ubuntu1_armhf.deb) ... Selecting previously unselected package libmagic1:armhf. Unpacking libmagic1:armhf (from .../libmagic1_1%3a5.14-2ubuntu1_armhf.deb) ... Selecting previously unselected package libssl1.0.0:armhf. Unpacking libssl1.0.0:armhf (from .../libssl1.0.0_1.0.1e-4ubuntu4_armhf.deb) ... Selecting previously unselected package libpython3.3-minimal:armhf. Unpacking libpython3.3-minimal:armhf (from .../libpython3.3-minimal_3.3.3-4_armhf.deb) ... Selecting previously unselected package mime-support. Unpacking mime-support (from .../mime-support_3.54ubuntu1_all.deb) ... Selecting previously unselected package libpython3.3-stdlib:armhf. Unpacking libpython3.3-stdlib:armhf (from .../libpython3.3-stdlib_3.3.3-4_armhf.deb) ... Selecting previously unselected package python3.3-minimal. Unpacking python3.3-minimal (from .../python3.3-minimal_3.3.3-4_armhf.deb) ... Selecting previously unselected package libasprintf0c2:armhf. Unpacking libasprintf0c2:armhf (from .../libasprintf0c2_0.18.3.1-1ubuntu2_armhf.deb) ... Selecting previously unselected package libglib2.0-0:armhf. Unpacking libglib2.0-0:armhf (from .../libglib2.0-0_2.39.2-0ubuntu1_armhf.deb) ... Selecting previously unselected package libgssrpc4:armhf. Unpacking libgssrpc4:armhf (from .../libgssrpc4_1.11.3+dfsg-3ubuntu2_armhf.deb) ... Selecting previously unselected package libkdb5-7:armhf. Unpacking libkdb5-7:armhf (from .../libkdb5-7_1.11.3+dfsg-3ubuntu2_armhf.deb) ... Selecting previously unselected package libpipeline1:armhf. Unpacking libpipeline1:armhf (from .../libpipeline1_1.2.6-1_armhf.deb) ... Selecting previously unselected package libxml2:armhf. Unpacking libxml2:armhf (from .../libxml2_2.9.1+dfsg1-3ubuntu3_armhf.deb) ... Selecting previously unselected package groff-base. Unpacking groff-base (from .../groff-base_1.22.2-3_armhf.deb) ... Selecting previously unselected package bsdmainutils. Unpacking bsdmainutils (from .../bsdmainutils_9.0.5ubuntu1_armhf.deb) ... Selecting previously unselected package man-db. Unpacking man-db (from .../man-db_2.6.5-2_armhf.deb) ... Selecting previously unselected package libcroco3:armhf. Unpacking libcroco3:armhf (from .../libcroco3_0.6.8-2ubuntu1_armhf.deb) ... Selecting previously unselected package libkadm5clnt-mit8:armhf. Unpacking libkadm5clnt-mit8:armhf (from .../libkadm5clnt-mit8_1.11.3+dfsg-3ubuntu2_armhf.deb) ... Selecting previously unselected package libkadm5srv-mit8:armhf. Unpacking libkadm5srv-mit8:armhf (from .../libkadm5srv-mit8_1.11.3+dfsg-3ubuntu2_armhf.deb) ... Selecting previously unselected package libsigsegv2:armhf. Unpacking libsigsegv2:armhf (from .../libsigsegv2_2.10-2_armhf.deb) ... Selecting previously unselected package libunistring0:armhf. Unpacking libunistring0:armhf (from .../libunistring0_0.9.3-5ubuntu3_armhf.deb) ... Selecting previously unselected package libpython2.7-minimal:armhf. Unpacking libpython2.7-minimal:armhf (from .../libpython2.7-minimal_2.7.6-3ubuntu1_armhf.deb) ... Selecting previously unselected package python2.7-minimal. Unpacking python2.7-minimal (from .../python2.7-minimal_2.7.6-3ubuntu1_armhf.deb) ... Selecting previously unselected package python3.3. Unpacking python3.3 (from .../python3.3_3.3.3-4_armhf.deb) ... Selecting previously unselected package python3-minimal. Unpacking python3-minimal (from .../python3-minimal_3.3.2-17ubuntu1_armhf.deb) ... Selecting previously unselected package libpython3-stdlib:armhf. Unpacking libpython3-stdlib:armhf (from .../libpython3-stdlib_3.3.2-17ubuntu1_armhf.deb) ... Selecting previously unselected package python3. Unpacking python3 (from .../python3_3.3.2-17ubuntu1_armhf.deb) ... Selecting previously unselected package dh-python. Unpacking dh-python (from .../dh-python_1.20131021-1ubuntu6_all.deb) ... Selecting previously unselected package file. Unpacking file (from .../file_1%3a5.14-2ubuntu1_armhf.deb) ... Selecting previously unselected package netbase. Unpacking netbase (from .../archives/netbase_5.1_all.deb) ... Selecting previously unselected package openssl. Unpacking openssl (from .../openssl_1.0.1e-4ubuntu4_armhf.deb) ... Selecting previously unselected package ca-certificates. Unpacking ca-certificates (from .../ca-certificates_20130906ubuntu1_all.deb) ... Selecting previously unselected package gettext-base. Unpacking gettext-base (from .../gettext-base_0.18.3.1-1ubuntu2_armhf.deb) ... Selecting previously unselected package m4. Unpacking m4 (from .../m4_1.4.17-2ubuntu1_armhf.deb) ... Selecting previously unselected package autoconf. Unpacking autoconf (from .../autoconf_2.69-2_all.deb) ... Selecting previously unselected package autotools-dev. Unpacking autotools-dev (from .../autotools-dev_20130810.1_all.deb) ... Selecting previously unselected package automake. Unpacking automake (from .../automake_1%3a1.14-2ubuntu1_all.deb) ... Selecting previously unselected package gettext. Unpacking gettext (from .../gettext_0.18.3.1-1ubuntu2_armhf.deb) ... Selecting previously unselected package intltool-debian. Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ... Selecting previously unselected package po-debconf. Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2ubuntu1_all.deb) ... Selecting previously unselected package apparmor-easyprof. Unpacking apparmor-easyprof (from .../apparmor-easyprof_2.8.0-0ubuntu35_all.deb) ... Selecting previously unselected package dh-apparmor. Unpacking dh-apparmor (from .../dh-apparmor_2.8.0-0ubuntu35_all.deb) ... Selecting previously unselected package debhelper. Unpacking debhelper (from .../debhelper_9.20131127ubuntu1_all.deb) ... Selecting previously unselected package liburi-perl. Unpacking liburi-perl (from .../liburi-perl_1.60-1_all.deb) ... Selecting previously unselected package libencode-locale-perl. Unpacking libencode-locale-perl (from .../libencode-locale-perl_1.03-1_all.deb) ... Selecting previously unselected package libhttp-date-perl. Unpacking libhttp-date-perl (from .../libhttp-date-perl_6.02-1_all.deb) ... Selecting previously unselected package libfile-listing-perl. Unpacking libfile-listing-perl (from .../libfile-listing-perl_6.04-1_all.deb) ... Selecting previously unselected package libhtml-tagset-perl. Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ... Selecting previously unselected package libhtml-parser-perl. Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.71-1build1_armhf.deb) ... Selecting previously unselected package libhtml-tree-perl. Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_5.03-1_all.deb) ... Selecting previously unselected package libio-html-perl. Unpacking libio-html-perl (from .../libio-html-perl_1.00-1_all.deb) ... Selecting previously unselected package liblwp-mediatypes-perl. Unpacking liblwp-mediatypes-perl (from .../liblwp-mediatypes-perl_6.02-1_all.deb) ... Selecting previously unselected package libhttp-message-perl. Unpacking libhttp-message-perl (from .../libhttp-message-perl_6.06-1_all.deb) ... Selecting previously unselected package libhttp-cookies-perl. Unpacking libhttp-cookies-perl (from .../libhttp-cookies-perl_6.00-2_all.deb) ... Selecting previously unselected package libhttp-negotiate-perl. Unpacking libhttp-negotiate-perl (from .../libhttp-negotiate-perl_6.00-2_all.deb) ... Selecting previously unselected package libnet-ssleay-perl. Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.55-1build1_armhf.deb) ... Selecting previously unselected package libio-socket-ssl-perl. Unpacking libio-socket-ssl-perl (from .../libio-socket-ssl-perl_1.76-2ubuntu1_all.deb) ... Selecting previously unselected package libnet-http-perl. Unpacking libnet-http-perl (from .../libnet-http-perl_6.06-1_all.deb) ... Selecting previously unselected package liblwp-protocol-https-perl. Unpacking liblwp-protocol-https-perl (from .../liblwp-protocol-https-perl_6.04-2_all.deb) ... Selecting previously unselected package libwww-robotrules-perl. Unpacking libwww-robotrules-perl (from .../libwww-robotrules-perl_6.01-1_all.deb) ... Selecting previously unselected package libwww-perl. Unpacking libwww-perl (from .../libwww-perl_6.05-2_all.deb) ... Selecting previously unselected package libxml-parser-perl. Unpacking libxml-parser-perl (from .../libxml-parser-perl_2.41-1build3_armhf.deb) ... Selecting previously unselected package intltool. Unpacking intltool (from .../intltool_0.50.2-2_all.deb) ... Selecting previously unselected package dh-translations. Unpacking dh-translations (from .../dh-translations_118_all.deb) ... Selecting previously unselected package libpython2.7-stdlib:armhf. Unpacking libpython2.7-stdlib:armhf (from .../libpython2.7-stdlib_2.7.6-3ubuntu1_armhf.deb) ... Selecting previously unselected package python2.7. Unpacking python2.7 (from .../python2.7_2.7.6-3ubuntu1_armhf.deb) ... Selecting previously unselected package python-minimal. Unpacking python-minimal (from .../python-minimal_2.7.5-5ubuntu3_armhf.deb) ... Selecting previously unselected package libpython-stdlib:armhf. Unpacking libpython-stdlib:armhf (from .../libpython-stdlib_2.7.5-5ubuntu3_armhf.deb) ... Selecting previously unselected package python. Unpacking python (from .../python_2.7.5-5ubuntu3_armhf.deb) ... Selecting previously unselected package python-scour. Unpacking python-scour (from .../python-scour_0.26-3_all.deb) ... Selecting previously unselected package cdbs. Unpacking cdbs (from .../cdbs_0.4.122ubuntu1_all.deb) ... Selecting previously unselected package d-shlibs. Unpacking d-shlibs (from .../archives/d-shlibs_0.54_all.deb) ... Selecting previously unselected package devscripts. Unpacking devscripts (from .../devscripts_2.13.9_armhf.deb) ... Selecting previously unselected package dh-buildinfo. Unpacking dh-buildinfo (from .../dh-buildinfo_0.10ubuntu1_all.deb) ... Selecting previously unselected package comerr-dev. Unpacking comerr-dev (from .../comerr-dev_2.1-1.42.8-1ubuntu3_armhf.deb) ... Selecting previously unselected package krb5-multidev. Unpacking krb5-multidev (from .../krb5-multidev_1.11.3+dfsg-3ubuntu2_armhf.deb) ... Selecting previously unselected package libpam0g-dev:armhf. Unpacking libpam0g-dev:armhf (from .../libpam0g-dev_1.1.3-10ubuntu1_armhf.deb) ... Selecting previously unselected package zlib1g-dev:armhf. Unpacking zlib1g-dev:armhf (from .../zlib1g-dev_1%3a1.2.8.dfsg-1ubuntu1_armhf.deb) ... Selecting previously unselected package libssl-dev:armhf. Unpacking libssl-dev:armhf (from .../libssl-dev_1.0.1e-4ubuntu4_armhf.deb) ... Selecting previously unselected package libkrb5-dev. Unpacking libkrb5-dev (from .../libkrb5-dev_1.11.3+dfsg-3ubuntu2_armhf.deb) ... Setting up libexpat1:armhf (2.1.0-4ubuntu1) ... Setting up libmagic1:armhf (1:5.14-2ubuntu1) ... Setting up libssl1.0.0:armhf (1.0.1e-4ubuntu4) ... Setting up libpython3.3-minimal:armhf (3.3.3-4) ... Setting up mime-support (3.54ubuntu1) ... update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode Setting up libpython3.3-stdlib:armhf (3.3.3-4) ... Setting up python3.3-minimal (3.3.3-4) ... Setting up libasprintf0c2:armhf (0.18.3.1-1ubuntu2) ... Setting up libglib2.0-0:armhf (2.39.2-0ubuntu1) ... No schema files found: doing nothing. Setting up libgssrpc4:armhf (1.11.3+dfsg-3ubuntu2) ... Setting up libkdb5-7:armhf (1.11.3+dfsg-3ubuntu2) ... Setting up libpipeline1:armhf (1.2.6-1) ... Setting up libxml2:armhf (2.9.1+dfsg1-3ubuntu3) ... Setting up groff-base (1.22.2-3) ... Setting up bsdmainutils (9.0.5ubuntu1) ... update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode update-alternatives: using /usr/bin/bsd-from to provide /usr/bin/from (from) in auto mode Setting up man-db (2.6.5-2) ... Not building database; man-db/auto-update is not 'true'. Setting up libcroco3:armhf (0.6.8-2ubuntu1) ... Setting up libkadm5clnt-mit8:armhf (1.11.3+dfsg-3ubuntu2) ... Setting up libkadm5srv-mit8:armhf (1.11.3+dfsg-3ubuntu2) ... Setting up libsigsegv2:armhf (2.10-2) ... Setting up libunistring0:armhf (0.9.3-5ubuntu3) ... Setting up libpython2.7-minimal:armhf (2.7.6-3ubuntu1) ... Setting up python2.7-minimal (2.7.6-3ubuntu1) ... Linking and byte-compiling packages for runtime python2.7... Setting up python3.3 (3.3.3-4) ... Setting up python3-minimal (3.3.2-17ubuntu1) ... Setting up libpython3-stdlib:armhf (3.3.2-17ubuntu1) ... Setting up file (1:5.14-2ubuntu1) ... Setting up netbase (5.1) ... Setting up openssl (1.0.1e-4ubuntu4) ... Setting up ca-certificates (20130906ubuntu1) ... Setting up gettext-base (0.18.3.1-1ubuntu2) ... Setting up m4 (1.4.17-2ubuntu1) ... Setting up autoconf (2.69-2) ... Setting up autotools-dev (20130810.1) ... Setting up automake (1:1.14-2ubuntu1) ... update-alternatives: using /usr/bin/automake-1.14 to provide /usr/bin/automake (automake) in auto mode Setting up gettext (0.18.3.1-1ubuntu2) ... Setting up intltool-debian (0.35.0+20060710.1) ... Setting up po-debconf (1.0.16+nmu2ubuntu1) ... Setting up liburi-perl (1.60-1) ... Setting up libencode-locale-perl (1.03-1) ... Setting up libhttp-date-perl (6.02-1) ... Setting up libfile-listing-perl (6.04-1) ... Setting up libhtml-tagset-perl (3.20-2) ... Setting up libhtml-parser-perl (3.71-1build1) ... Setting up libhtml-tree-perl (5.03-1) ... Setting up libio-html-perl (1.00-1) ... Setting up liblwp-mediatypes-perl (6.02-1) ... Setting up libhttp-message-perl (6.06-1) ... Setting up libhttp-cookies-perl (6.00-2) ... Setting up libhttp-negotiate-perl (6.00-2) ... Setting up libnet-ssleay-perl (1.55-1build1) ... Setting up libio-socket-ssl-perl (1.76-2ubuntu1) ... Setting up libnet-http-perl (6.06-1) ... Setting up libwww-robotrules-perl (6.01-1) ... Setting up libpython2.7-stdlib:armhf (2.7.6-3ubuntu1) ... Setting up python2.7 (2.7.6-3ubuntu1) ... Setting up python-minimal (2.7.5-5ubuntu3) ... Setting up libpython-stdlib:armhf (2.7.5-5ubuntu3) ... Setting up python (2.7.5-5ubuntu3) ... Setting up python-scour (0.26-3) ... Setting up d-shlibs (0.54) ... Setting up comerr-dev (2.1-1.42.8-1ubuntu3) ... Setting up krb5-multidev (1.11.3+dfsg-3ubuntu2) ... Setting up libpam0g-dev:armhf (1.1.3-10ubuntu1) ... Setting up zlib1g-dev:armhf (1:1.2.8.dfsg-1ubuntu1) ... Setting up libssl-dev:armhf (1.0.1e-4ubuntu4) ... Setting up libkrb5-dev (1.11.3+dfsg-3ubuntu2) ... Setting up libwww-perl (6.05-2) ... Setting up libxml-parser-perl (2.41-1build3) ... Setting up intltool (0.50.2-2) ... Setting up python3 (3.3.2-17ubuntu1) ... running python rtupdate hooks for python3.3... running python post-rtupdate hooks for python3.3... Setting up dh-python (1.20131021-1ubuntu6) ... Setting up apparmor-easyprof (2.8.0-0ubuntu35) ... Setting up dh-apparmor (2.8.0-0ubuntu35) ... Setting up debhelper (9.20131127ubuntu1) ... Setting up liblwp-protocol-https-perl (6.04-2) ... Setting up dh-translations (118) ... Setting up cdbs (0.4.122ubuntu1) ... Setting up devscripts (2.13.9) ... Setting up dh-buildinfo (0.10ubuntu1) ... Processing triggers for libc-bin ... Processing triggers for ca-certificates ... Updating certificates in /etc/ssl/certs... 166 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d....done. Checking correctness of source dependencies... Toolchain package versions: libc6-dev_2.18-0ubuntu2 make_3.81-8.2ubuntu3 dpkg-dev_1.17.1ubuntu1 gcc-4.8_4.8.2-10ubuntu2 g++-4.8_4.8.2-10ubuntu2 binutils_2.24-2ubuntu2 libstdc++-4.8-dev_4.8.2-10ubuntu2 libstdc++6_4.8.2-10ubuntu2 ------------------------------------------------------------------------------ dpkg-source: warning: -sn is not a valid option for Dpkg::Source::Package::V3::Quilt gpgv: Signature made Thu Oct 25 21:14:58 2012 UTC using DSA key ID 7D61E3E6 gpgv: Can't check signature: public key not found dpkg-source: warning: failed to verify signature on ./uw-imap_2007f~dfsg-2.dsc dpkg-source: info: extracting uw-imap in uw-imap-2007f~dfsg dpkg-source: info: unpacking uw-imap_2007f~dfsg.orig.tar.gz dpkg-source: info: unpacking uw-imap_2007f~dfsg-2.debian.tar.gz dpkg-source: info: applying 1001_shlibs.patch dpkg-source: info: applying 1002_fix_ftbfs.patch dpkg-source: info: applying 1003_fix_zero_len_when_mail_fetch_body_is_empty.patch dpkg-source: info: applying 1004_support_rfc5464_METADATA.patch dpkg-source: info: applying 2002_mailspool.patch dpkg-source: info: applying 2004_no_binaries_below_etc.patch dpkg-source: info: applying 2010_disallow_escaping_home.patch dpkg-source: info: applying 2011_disable_version_check.patch dpkg-buildpackage: source package uw-imap dpkg-buildpackage: source version 8:2007f~dfsg-2 dpkg-buildpackage: source distribution unstable dpkg-source --before-build uw-imap-2007f~dfsg dpkg-buildpackage: host architecture armhf /usr/bin/fakeroot debian/rules clean sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' debian/control.in test -x debian/rules dh_clean rm -f debian/copyright_newhints rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check rm -rf "debian/upstream-cruft" rm -f debian/stamp-upstream-cruft /usr/bin/make clean make[1]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' Removing old processed sources and binaries... sh -c 'rm -rf an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true' cd tools;make clean make[2]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/tools' sh -c 'rm -f *.o uahelper || true' make[2]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/tools' make[1]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' for dir in ; do rm -f $dir/*.log; done rm -f c-client.a rm -f debian/build-stamp rm -f debian/mlock.1 rm -rf RCS rm -f ip6 for file in `find debian -maxdepth 2 -type f -name '*.in' -not -name control.in -not -name control.in.in -not -name README.source.in -not -name POTFILES.in -not -name 'watch.in'`; do \ targetfile=`echo $file | sed -e 's/__VER__/2007e/g' -e 's/\\.in$//'`; \ rm -f $targetfile; \ done rm -f debian/install-libs-stamp -find -name '*.txt' | grep rfc make: [clean] Error 1 (ignored) debian/rules build-arch sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' debian/control.in test -x debian/rules mkdir -p "." Scanning upstream source for new/changed copyright notices... licensecheck -c '.*' -r --copyright -i '^debian/(changelog|copyright(|_hints|_newhints))' -l '99999' * | /usr/lib/cdbs/licensecheck2dep5 > debian/copyright_newhints 16 combinations of copyright and licensing found. WARNING: The following (and possibly more) new or changed notices discovered: src/c-client/utf8.h src/osdep/unix/os_aos.c src/osdep/unix/os_art.c src/osdep/unix/os_asv.c src/osdep/unix/os_aux.c src/osdep/unix/os_bsd.c src/osdep/unix/os_cvx.c src/osdep/unix/os_cyg.c src/osdep/unix/os_do4.c src/osdep/unix/os_dyn.c src/osdep/unix/os_hpp.c src/osdep/unix/os_isc.c src/osdep/unix/os_ptx.c src/osdep/unix/os_pyr.c src/osdep/unix/os_s40.c src/osdep/unix/os_shp.c src/osdep/unix/os_sol.c src/osdep/unix/os_sun.c src/osdep/unix/os_sv2.c src/osdep/unix/os_sv4.c src/osdep/unix/os_vu2.h debian/patches/2011_disable_version_check.patch Files: LICENSE.txt Copyright: License. Subject to the terms and conditions of You must retain, in the Source form of any Derivative … [yyyy license to reproduce, prepare Derivative Works of License: Apache-2.0 FIXME Files: src/ansilib/memset.c Copyright: 1988-2006, University of Washington while (n) s[--n License: Apache-2.0 FIXME To fix the situation please do the following: 1) Fully compare debian/copyright_hints with debian/copyright_newhints 2) Update debian/copyright as needed 3) Replace debian/copyright_hints with debian/copyright_newhints touch debian/stamp-copyright-check touch debian/stamp-upstream-cruft echo "sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' $targetfile; \ done dh_testdir # Debian libc is believed to be IPv6-safe touch ip6 /usr/bin/make VERSION=2007e EXTRAAUTHENTICATORS='gss' EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' ldb make[1]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' make[2]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnp IP=6 \ SPECIALS="SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail" make[2]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' make[3]: `ip6' is up to date. make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' Building c-client for lnp... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnp EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing'\ EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss'\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ SSLINCLUDE=/usr/include/openssl SSLLIB=/usr/lib SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private GSSINCLUDE=/usr/include GSSLIB=/usr/lib MAILSPOOL=/var/mail make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make build EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=slx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-g -O2 -pipe -fno-omit-frame-pointer" \ BASELDFLAGS="../c-client/c-client.a -lpam -ldl" make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -g -O2 -pipe -fno-omit-frame-pointer '-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo ../c-client/c-client.a -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro > 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 c-client.a > ARCHIVENAME echo slx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_slx.h osdep.h ln -s os_slx.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 slx = sc5 -o slx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/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 slx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:49:0: nl_unix.c: In function 'strcrlfcpy': nl_unix.c:49:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1); ^ In file included from env_unix.c:256:0, from osdep.c:50: pmatch.c: In function 'pmatch_full': pmatch.c:41:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ pmatch.c:41:5: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, from env_unix.c:260, from osdep.c:50: kerb_mit.c: In function 'kerberos_login': kerb_mit.c:103:6: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^ In file included from osdep.c:44:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from auths.c:1:0, from env_unix.c:260, from osdep.c:50: kerb_mit.c:103:6: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from osdep.c:31: env.h:40:6: note: expected 'char *' but argument is of type 'unsigned char *' long authserver_login (char *user,char *authuser,int argc,char *argv[]); ^ In file included from auths.c:2:0, from env_unix.c:260, from osdep.c:50: auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:399:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Failed to acquire credentials for %s",buf.value); ^ auth_gss.c:406:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); ^ auth_gss.c:414:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:195:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ auth_md5.c:197:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); ^ auth_md5.c:199:5: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lusr = *s ? lcase (cpystr (user)) : NIL; ^ In file included from osdep.c:44:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:50: auth_md5.c:200:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; ^ auth_md5.c:201:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) ^ auth_md5.c:203:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:203:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:203:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] In file included from osdep.c:44:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:50: auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:209:5: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!ret && lret) ret = cpystr (lret); ^ In file included from osdep.c:44:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from osdep.c:50:0: env_unix.c: In function 'pwuser': env_unix.c:641:10: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] struct passwd *pw = getpwnam (user); ^ In file included from osdep.c:42:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name); ^ In file included from osdep.c:50:0: env_unix.c:645:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:44:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from osdep.c:50:0: env_unix.c:645:7: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:44:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:50:0: env_unix.c:645:7: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:42:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name); ^ In file included from osdep.c:50:0: env_unix.c: In function 'valpwd': env_unix.c:671:2: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] ret = pwuser (user); /* validated, get passwd entry for user */ ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c:676:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (pw = pwuser (user)) {/* can get user? */ ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c:679:2: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c: In function 'server_login': env_unix.c:710:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c: In function 'authserver_login': env_unix.c:728:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] return pw_login (pwuser (user),authuser,user,NIL,argc,argv); ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c: In function 'pw_login': env_unix.c:767:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:767:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:770:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:770:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c: In function 'mailboxfile': env_unix.c:1057:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1057:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1067:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1067:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1087:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1087:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1101:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1101:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1115:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1115:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c: In function 'lock_work': env_unix.c:1374:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (op & LOCK_NB) i = flock (fd,op); ^ env_unix.c: In function 'dorc': env_unix.c:1565:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1565:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1579:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1579:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1580:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1580:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1581:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1581:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1583:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1583:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1586:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1586:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1590:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1590:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1593:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1593:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1604:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1604:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1605:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1605:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1606:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1606:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1607:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1607:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1609:9: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1609:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1611:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1611:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1615:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1615:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1626:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1626:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1630:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1630:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1634:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1634:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1638:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1638:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1640:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1640:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1642:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1642:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1646:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1646:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1650:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1650:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1654:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1654:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1658:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1658:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1662:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1662:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1666:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1666:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1668:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1668:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1671:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1671:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1673:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1673:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1675:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1675:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1677:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1677:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1679:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1679:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1681:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1681:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1683:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1683:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1685:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1685:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1687:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1687:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1689:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1689:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1691:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1691:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1693:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1693:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1695:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1695:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1697:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1697:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1699:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1699:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1701:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1701:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1703:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1703:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1706:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1706:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1708:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1708:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1710:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1710:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1712:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1712:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1714:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1714:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1716:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1716:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1718:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1718:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1720:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1720:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1722:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1722:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1724:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1724:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1726:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1726:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1728:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1728:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1730:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1730:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1732:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1732:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1734:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1734:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1736:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1736:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1738:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1738:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1740:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1740:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1742:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1742:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1746:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1746:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1748:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1748:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1751:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1751:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1758:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1758:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1760:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1760:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1762:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1762:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1764:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1764:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1766:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1766:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1768:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1768:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1769:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1769:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1771:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1771:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1773:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1773:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1775:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1775:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1778:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1778:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1780:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1780:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1782:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1782:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1784:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1784:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1788:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:50:0: env_unix.c:1788:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ In file included from osdep.c:44:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from tcp_unix.c:29:0, from osdep.c:53: ip_unix.c: In function 'ip_stringtoaddr': ip_unix.c:136:7: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) { ^ In file included from osdep.c:44:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from tcp_unix.c:29:0, from osdep.c:53: ip_unix.c:136:7: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) { ^ In file included from osdep.c:38:0: /usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int getaddrinfo (const char *__restrict __name, ^ In file included from tcp_unix.c:29:0, from osdep.c:53: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:253:2: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) { ^ In file included from osdep.c:44:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from tcp_unix.c:29:0, from osdep.c:53: ip_unix.c:253:2: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) { ^ In file included from osdep.c:38:0: /usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int getaddrinfo (const char *__restrict __name, ^ In file included from osdep.c:53:0: tcp_unix.c: In function 'tcp_getline': tcp_unix.c:464:3: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] char *ret = tcp_getline_work (stream,&n,&contd); ^ tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^ tcp_unix.c:472:7: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] ret = tcp_getline_work (stream,&n,&contd); ^ tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1026:17: warning: unused variable 'sadrlen' [-Wunused-variable] size_t adrlen,sadrlen,len; ^ In file included from osdep.c:56:0: flocklnx.c: In function 'safe_flock': flocklnx.c:60:4: warning: passing argument 1 of 'syslog' makes integer from pointer without a cast [enabled by default] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^ In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0, from /usr/include/syslog.h:1, from osdep.h:50, from osdep.c:31: /usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'int' but argument is of type 'char *' syslog (int __pri, const char *__fmt, ...) ^ In file included from osdep.c:56:0: flocklnx.c:60:4: warning: passing argument 2 of 'syslog' makes pointer from integer without a cast [enabled by default] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^ In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0, from /usr/include/syslog.h:1, from osdep.h:50, from osdep.c:31: /usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'const char *' but argument is of type 'int' syslog (int __pri, const char *__fmt, ...) ^ osdep.c: In function 'ssl_validate_cert': osdep.c:566:5: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:299:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:566:5: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:299:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:575:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (name->type = GEN_DNS) && (s = name->d.ia5->data) && ^ osdep.c:576:6: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^ osdep.c:299:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:576:6: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^ osdep.c:299:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c: In function 'ssl_getline': osdep.c:617:3: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] char *ret = ssl_getline_work (stream,&n,&contd); ^ osdep.c:300:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^ osdep.c:625:7: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] ret = ssl_getline_work (stream,&n,&contd); ^ osdep.c:300:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:50: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:195:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ In file included from osdep.c:50:0: env_unix.c: In function 'pw_login': env_unix.c:785:43: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^ `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c: In function 'mail_parameters': mail.c:374:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:374:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:379:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:379:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:384:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:384:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:390:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:390:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:395:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:395:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:400:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:400:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:405:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:405:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_valid_net_parse_work': mail.c:792:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:792:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:793:4: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:794:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:794:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:796:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:796:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:802:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:802:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:803:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:803:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:804:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:804:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:805:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:805:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:806:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:806:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:807:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:807:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:808:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:808:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:810:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:810:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:812:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:812:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:814:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:814:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:816:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:816:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:818:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:818:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:821:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:821:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:824:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:824:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:825:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:825:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:826:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:826:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:827:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:827:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:828:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:828:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:829:4: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:830:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:830:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:831:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:831:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:832:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:832:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:833:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:833:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:835:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:835:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_create': mail.c:1008:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1008:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_open': mail.c:1250:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1250:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_fetch_overview': mail.c:1472:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_uid_sequence (stream,sequence) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_fetch_overview_sequence': mail.c:1488:3: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_sequence (stream,sequence) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_fetch_overview_default': mail.c:1513:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ mail.c: In function 'mail_fetch_header': mail.c:1731:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_fetch_text': mail.c:1822:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_fetch_mime': mail.c:1876:3: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(section && *section && (b = mail_body (stream,msgno,section)))) ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_fetch_body': mail.c:1962:3: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return ""; ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_partial_text': mail.c:2022:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_partial_body': mail.c:2090:3: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return NIL; ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_flag': mail.c:2312:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:2313:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_append_multiple': mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mail.c: In function 'mail_body': mail.c:2724:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(i = strtoul (section,(char **) §ion,10)) || ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_parse_date': mail.c:2856:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2856:3: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from mail.c:28: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mail.c:2856:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c:2862:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(m = strtoul (s,(char **) &s,10))) return NIL; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2866:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2868:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2878:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2879:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (d = strtoul (s,(char **) &s,10)) && !*s) break; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2884:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (s) < (size_t) 5) return NIL; ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2912:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2936:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] d = strtoul (s+1,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2938:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] m = strtoul (++s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2939:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_uid_sequence': mail.c:3269:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:3280:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_filter': mail.c:3377:2: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ In file included from c-client.h:41:0, from mail.c:31: mail.c: In function 'mail_search_msg': mail.h:740:21: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] #define BODY struct mail_bodystruct ^ mail.c:3519:7: note: in expansion of macro 'BODY' BODY *body = mail_body (stream,msgno,section); ^ mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c: In function 'mail_search_text': mail.c:3691:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] else if ((body = mail_body (stream,msgno,section)) && ^ mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c: In function 'mail_search_string': mail.c:3810:16: warning: unused variable 'sc' [-Wunused-variable] STRINGLIST **sc = st; ^ mail.c: In function 'mail_search_keyword': mail.c:3858:7: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[i],&st->text)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mail.c: In function 'mail_criteria': mail.c:3989:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c: In function 'mail_criteria_date': mail.c:4080:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,(char *) s->text.data) && ^ mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sort_loadcache': mail.c:4336:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4352:4: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!(t && mail_parse_date (&telt,t) && ^ mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sort_compare': mail.c:4652:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->from,s2->from); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4652:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->from,s2->from); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4655:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->to,s2->to); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4655:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->to,s2->to); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4658:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->cc,s2->cc); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4658:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->cc,s2->cc); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4661:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->subject,s2->subject); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4661:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->subject,s2->subject); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_msgs': mail.c:4760:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4760:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_orderedsubject': mail.c:4804:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4804:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_loadcache': mail.c:5125:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { ^ mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sequence': mail.c:5375:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10)) || ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:5391:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10)) || ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_parse_flags': mail.c:5446:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5446:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5447:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5447:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5448:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5448:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5449:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5449:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5450:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5450:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5460:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5460:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_usable_network_stream': mail.c:5510:10: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] trustdns ? tcp_canonical (nmb.host) : nmb.host)&& ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5510:10: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] trustdns ? tcp_canonical (nmb.host) : nmb.host)&& ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5515:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5515:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_auth': mail.c:6112:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6112:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_lookup_auth_name': mail.c:6145:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6145:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: At top level: mail.c:38:14: warning: 'mailcclientversion' defined but not used [-Wunused-variable] static char *mailcclientversion = CCLIENTVERSION; ^ mail.c: In function 'mail_parse_set': mail.c:4153:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] else cur = cur->next = mail_newsearchset (); ^ `cat CCTYPE` -c `cat CFLAGS` misc.c misc.c: In function 'compare_csizedtext': misc.c:471:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function 'newsrc_lsub': newsrc.c:167:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:167:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:170:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:170:4: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c: In function 'newsrc_state': newsrc.c:468:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s,(size_t) 1,size,f); ^ `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c: In function 'sm_subscribe': smanager.c:44:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:44:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c: In function 'sm_unsubscribe': smanager.c:77:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:77:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:343:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ utf8.c:343:1: warning: (near initialization for 'utf8_csvalid[92]') [-Wmissing-braces] utf8.c:370:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ utf8.c:370:1: warning: (near initialization for 'utf8_scvalid[21]') [-Wmissing-braces] utf8.c: In function 'utf8_script': utf8.c:383:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:383:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_charset': utf8.c:400:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:400:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_cstext': utf8.c:586:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:586:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_cstocstext': utf8.c:613:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:613:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_rmap': utf8.c:647:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:647:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_csvalidmap': utf8.c:1291:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:1291:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'ucs4_decompose': utf8.c:2497:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^ `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:415:3: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign] if (mail_utf7_valid (src)) return NIL; ^ In file included from c-client.h:41:0, from utf8aux.c:32: mail.h:1644:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_utf7_valid (char *mailbox); ^ utf8aux.c:420:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ In file included from osdep.h:44:0, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ utf8aux.c:420:3: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ In file included from c-client.h:48:0, from utf8aux.c:32: misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ utf8aux.c:420:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c: In function 'dummy_valid': dummy.c:124:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:124:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_scan': dummy.c:185:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ In file included from dummy.c:39:0: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:185:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c: In function 'dummy_lsub': dummy.c:224:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:224:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:225:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ In file included from dummy.c:39:0: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:225:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:227:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:227:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:230:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:230:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c: In function 'dummy_list_work': dummy.c:290:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:290:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:290:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:290:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:304:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:304:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:305:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:305:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:306:7: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:306:7: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:315:6: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:315:6: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:316:8: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:316:8: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:321:8: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:321:8: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:325:6: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:325:6: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:331:6: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:331:6: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:331:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:331:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_create': dummy.c:458:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:458:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_rename': dummy.c:568:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:568:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_open': dummy.c:597:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:597:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_copy': dummy.c:704:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from dummy.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c:705:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); ^ In file included from dummy.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c: In function 'dummy_append': dummy.c:726:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:726:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) ^ dummy.c: In function 'dummy_canonicalize': dummy.c:803:28: warning: value computed is not used [-Wunused-value] for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ dummy.c: In function 'dummy_scan_contents': dummy.c:383:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c fdstring.c: In function 'fd_string_setpos': fdstring.c:97:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read ((long) s->data,s->curpos,(size_t) s->cursize); ^ fdstring.c: In function 'fd_string_init': fdstring.c:67:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (d->fd,s->chunk,(size_t) s->cursize); ^ `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:159:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); /* coerce to uppercase */ ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:198:53: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); ^ rfc822.c: In function 'rfc822_parse_content': rfc822.c:490:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:490:6: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^ In file included from c-client.h:43:0, from rfc822.c:38: rfc822.h:64:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_parse_content_header (BODY *body,char *name,char *s); ^ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:560:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:560:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ rfc822.c:574:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] stl->text.data = (unsigned char *) ucase (cpystr (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:601:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:601:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:612:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:612:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ rfc822.c:624:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:624:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ rfc822.c:642:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:642:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:653:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:653:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:686:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:686:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1462:5: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign] rfc822_output_header_line (buf,"Date",i,env->date) && ^ In file included from c-client.h:43:0, from rfc822.c:38: rfc822.h:88:6: note: expected 'char *' but argument is of type 'unsigned char *' long rfc822_output_header_line (RFC822BUFFER *buf,char *type,long resent, ^ rfc822.c: In function 'rfc822_output': rfc822.c:2342:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ ^ `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c: In function 'nntp_list': nntp.c:362:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:362:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:365:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:365:4: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c: In function 'nntp_lsub': nntp.c:397:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:397:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c: In function 'nntp_status': nntp.c:566:6: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,k,&status.recent,&status.unseen); ^ In file included from nntp.c:33:0: newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c:575:2: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,i++,&status.recent,&status.unseen); ^ In file included from nntp.c:33:0: newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c: In function 'nntp_mopen': nntp.c:735:6: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] net_host (nstream->netstream) : mb.host)); ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ nntp.c: In function 'nntp_fetchfast': nntp.c:853:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:854:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c: In function 'nntp_flags': nntp.c:896:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:896:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c: In function 'nntp_over': nntp.c:999:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c: In function 'nntp_parse_overview': nntp.c:1045:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!elt->day) mail_parse_date (elt,ov->date); ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_search_msg': nntp.c:1314:2: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] (!mail_parse_date (&delt,ov->date) || ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1531:6: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_extensions': nntp.c:1818:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1818:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1819:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1819:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1820:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1820:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1821:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1821:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1822:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1822:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1823:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1823:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1825:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1825:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1828:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1828:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c: In function 'nntp_mail': nntp.c:1916:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (s = strstr (env->date," (")) *s = NIL; ^ In file included from osdep.h:44:0, from c-client.h:42, from nntp.c:32: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable] long retry = NIL; ^ nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] long error = NIL; ^ nntp.c: In function 'nntp_mopen': nntp.c:764:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^ nntp.c: In function 'nntp_header': nntp.c:1100:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^ `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c: In function 'smtp_open_full': smtp.c:166:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:166:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:184:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:184:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c: In function 'smtp_ehlo': smtp.c:690:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:690:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:694:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:694:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:698:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:698:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:702:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:702:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:708:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:708:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:709:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:709:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:710:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:710:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:711:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:711:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:712:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:712:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:713:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:713:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:714:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:714:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:715:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:715:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:716:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:716:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:717:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:717:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:718:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:718:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:719:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:719:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:720:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:720:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:721:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:721:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:722:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:722:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:724:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:724:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:725:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:725:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c imap4r1.c: In function 'imap_lsub': imap4r1.c:509:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from imap4r1.c:38: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ imap4r1.c:509:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from imap4r1.c:38: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ imap4r1.c: In function 'imap_list_work': imap4r1.c:568:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:568:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:570:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:570:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_manage': imap4r1.c:685:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^ imap4r1.c:706:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ret ? NIL : ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_open': imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:876:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:989:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:989:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:999:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_rimap': imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_anon': imap4r1.c:1085:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (reply->tag,tag)) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1087:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1102:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_auth': imap4r1.c:1152:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (compare_cstring (reply->tag,tag)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1153:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1162:2: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (reply->text); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c: In function 'imap_login': imap4r1.c:1214:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_challenge': imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1249:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c: In function 'imap_close': imap4r1.c:1306:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_fast': imap4r1.c:1346:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_flags': imap4r1.c:1367:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_overview': imap4r1.c:1420:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1468:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1595:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1597:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1827:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1837:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1846:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1850:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_uid': imap4r1.c:1903:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_msgno': imap4r1.c:1939:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_flag': imap4r1.c:1980:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_search': imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2073:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:2109:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_sort': imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2188:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_thread': imap4r1.c:2275:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2275:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_thread_work': imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2350:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_check': imap4r1.c:2374:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_expunge': imap4r1.c:2399:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (mail_sequence (stream,sequence)) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2427:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_copy': imap4r1.c:2465:3: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2469:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append': imap4r1.c:2522:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2585:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append_single': imap4r1.c:2615:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:2619:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2620:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2621:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2895:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_annotation_work': imap4r1.c:2906:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_setquota': imap4r1.c:2929:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_getquota': imap4r1.c:2951:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:2974:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_send': imap4r1.c:3011:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3011:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3012:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3012:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3013:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3013:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3183:2: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!map->date || mail_parse_date (&elt,map->date)) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c: In function 'imap_send_qstring': imap4r1.c:3256:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_reply': imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3699:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (tag && !compare_cstring (tag,reply->tag)) return reply; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:3725:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:3731:3: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (LOCAL->reply.line); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:3732:3: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3732:3: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3732:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3740:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { ^ imap4r1.c:3750:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3751:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3754:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:3755:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3756:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3776:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:3777:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:3778:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ imap4r1.c: In function 'imap_OK': imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3794:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,NIL); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3799:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,NIL); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3802:7: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,NIL); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:3826:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] msgno = strtoul (reply->key,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3840:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3840:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3840:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3842:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); ^ imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3868:7: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] while (prop = (strtok_r (t," )",&r))) { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3868:7: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] while (prop = (strtok_r (t," )",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3869:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3881:6: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:3887:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3928:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:3930:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3943:8: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3943:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3943:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3948:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] md.first = strtoul (s+1,(char **) &s,10) + 1; ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3991:6: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->rfc822_size = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4031:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4031:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4031:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ imap4r1.c:4034:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,stream->user_flags[i]); i++); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4040:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:4042:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (s = strtok_r (NIL," )",&r)); ^ imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4045:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4045:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4045:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ imap4r1.c:4046:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (i = strtoul (t,NIL,10)) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4055:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4065:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4065:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4065:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ imap4r1.c:4066:7: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] do if ((i = atol (t)) && (LOCAL->filter ? ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/stdlib.h:283:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^ imap4r1.c:4069:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); ^ imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4094:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:4094:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4094:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:4100:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4100:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4100:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4103:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4104:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (txt,"MESSAGES")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4108:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"RECENT")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4112:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UNSEEN")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4116:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDNEXT")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4120:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDVALIDITY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4129:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4139:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4139:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4139:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4143:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4143:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4143:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ imap4r1.c:4144:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4145:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4146:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4147:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4148:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4149:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4152:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:4166:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:4166:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap4r1.c:4169:7: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1617:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4170:7: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] else mm_list (stream,delimiter,s,i); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){ ^ imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4202:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mbox = imap_parse_astring (stream, &s, reply,NIL); ^ imap4r1.c:4208:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] al->entry = t; ^ imap4r1.c:4226:13: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] vlIter->attr = cpystr (strlist->text.data); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:4230:13: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] vlIter->value = cpystr (strlist->text.data); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4247:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:4249:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ imap4r1.c:4258:7: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:4258:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4262:5: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:4262:5: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4270:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:4272:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4286:4: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,rl); ^ imap4r1.c:4286:4: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4291:2: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,NIL); ^ imap4r1.c:4291:2: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4313:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4319:7: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4319:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4342:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4344:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4345:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4345:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4345:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4347:6: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4353:8: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4353:8: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4387:7: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4387:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4399:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4401:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4403:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4406:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,BYE,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4409:5: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ^ imap4r1.c:268:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^ imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4412:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4413:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4413:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap4r1.c:4415:5: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] mm_list (stream,NIL,t,NIL); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c: In function 'imap_parse_response': imap4r1.c:4448:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDVALIDITY") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4448:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDVALIDITY") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4457:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4457:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4459:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4459:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4467:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4467:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4468:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4468:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4470:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4470:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4472:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4472:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4474:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4474:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4482:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CAPABILITY")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4482:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CAPABILITY")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4485:9: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4485:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4491:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4491:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4498:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4498:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4505:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4505:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4509:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4509:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4510:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4510:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4512:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4512:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4554:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4579:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4591:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ In file included from imap4r1.c:35:0: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4664:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4666:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:4750:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4757:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:4759:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:4856:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4857:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4858:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4859:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:4956:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:4964:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4964:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4965:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4965:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4966:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4966:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4967:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4967:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4968:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4968:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4969:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4969:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:4993:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4993:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:5026:7: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imap4r1.c:5026:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:5067:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:5116:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5147:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5148:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5149:5: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c: In function 'imap_cache': imap4r1.c:5217:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,seg))) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:5294:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5295:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5313:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5334:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5335:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5344:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5345:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); /* parse subtype */ ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5352:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5353:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5355:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5356:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5369:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5389:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.lines = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5396:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5409:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5457:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5463:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ imap4r1.c:5485:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5509:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5552:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5620:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (i = strtoul (*txtptr,(char **) txtptr,10)) do ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5625:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5626:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5627:5: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:5632:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5666:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5666:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5668:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5668:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5670:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5670:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5671:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5671:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5673:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5673:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5674:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5674:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5675:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5675:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5676:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5676:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5677:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5677:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5678:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5678:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5679:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5679:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5680:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5680:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5681:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5681:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5682:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5682:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5683:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5683:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5684:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5684:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5685:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5685:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5686:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5686:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5687:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5687:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5688:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5688:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5689:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5689:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5690:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5690:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5691:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5691:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5692:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5692:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5693:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5693:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5701:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5701:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5708:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5708:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5711:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5711:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function 'pop3_valid': pop3.c:180:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:180:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c: In function 'pop3_scan': pop3.c:232:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:232:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:233:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:233:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_list': pop3.c:248:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:248:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:253:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:253:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_lsub': pop3.c:279:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:279:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_capa': pop3.c:500:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:500:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:501:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:501:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:502:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:502:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:503:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:503:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:504:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:504:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:505:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:505:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:506:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:506:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:508:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:508:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:516:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:516:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:517:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:517:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:519:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:519:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:527:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:527:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:530:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:530:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c: In function 'pop3_fetchfast': pop3.c:784:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:785:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c: In function 'pop3_expunge': pop3.c:948:4: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:949:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c: In function 'pop3_header': pop3.c:848:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_valid': unix.c:231:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ unix.c: In function 'unix_open': unix.c:468:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:468:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:480:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ unix.c:530:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^ unix.c: In function 'unix_header': unix.c:626:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:640:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:653:3: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^ In file included from unix.c:45:0: mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ unix.c: In function 'unix_text_work': unix.c:703:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:731:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:734:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ unix.c: In function 'unix_ping': unix.c:788:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:789:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_expunge': unix.c:846:5: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from unix.c:45:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:847:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from unix.c:45:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^ unix.c:860:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ unix.c: In function 'unix_copy': unix.c:902:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from unix.c:45:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:903:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from unix.c:45:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:909:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:909:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:916:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:917:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:921:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:922:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:926:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:927:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:937:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:938:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:947:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:948:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:957:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from unix.c:46: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:965:6: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^ unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:966:6: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^ unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:967:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from unix.c:46: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:981:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1007:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_append': unix.c:1051:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1051:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1093:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from unix.c:45:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^ unix.c: In function 'unix_collect_msg': unix.c:1196:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ unix.c: In function 'unix_parse': unix.c:1462:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1463:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1473:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1474:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1486:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1495:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1500:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (char *) s); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1501:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1550:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1551:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1555:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44:0, from unix.c:46: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ unix.c:1578:9: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^ In file included from unix.c:52:0: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1633:4: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ unix.c:1663:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1668:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,prevuid + 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1686:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1742:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1743:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1744:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1745:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1746:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1747:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1770:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ unix.c:1796:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_rewrite': unix.c:2082:3: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2090:2: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2098:5: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] size = unix_pseudo (stream,LOCAL->buf); ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2118:7: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2118:7: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2135:8: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2149:4: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2170:9: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2170:9: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2255:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2256:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_extend': unix.c:2277:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:2282:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:63:0, from unix.c:46: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:2288:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2289:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'mbox_valid': unix.c:2461:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2461:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c: In function 'mbox_create': unix.c:2476:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2476:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c: In function 'mbox_ping': unix.c:2605:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sysinbox ()); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2606:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2618:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2619:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2626:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sysinbox (),size,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2627:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2644:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] size,stream->mailbox,sysinbox ()); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2648:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_open': unix.c:519:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^ unix.c: In function 'unix_header': unix.c:630:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^ unix.c:640:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c: In function 'unix_text_work': unix.c:707:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^ unix.c: In function 'unix_copy': unix.c:956:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ unix.c:982:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_append': unix.c:1152:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_rewrite': unix.c:2139:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ unix.c:2239:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ unix.c: In function 'unix_extend': unix.c:2285:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c: In function 'mbox_ping': unix.c:2611:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (sfd,s = (char *) fs_get (size + 1),size); ^ unix.c:2621:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2629:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2640:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^ `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c: In function 'mbx_isvalid': mbx.c:233:8: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_SH) || ^ mbx.c:303:7: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^ mbx.c:307:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:307:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_rename': mbx.c:506:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:506:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_open': mbx.c:587:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mbx.c:590:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:590:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_flags': mbx.c:677:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:678:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mbx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c: In function 'mbx_header': mbx.c:706:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mbx.c:709:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_text': mbx.c:746:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mbx.c: In function 'mbx_ping': mbx.c:856:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:857:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c: In function 'mbx_expunge': mbx.c:889:4: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:890:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) { ^ In file included from mbx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:896:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:897:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:900:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:901:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c: In function 'mbx_snarf': mbx.c:940:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mbx.c:41:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:941:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:945:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fANSWERED * elt->answered) + (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:947:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:947:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:963:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:964:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c: In function 'mbx_copy': mbx.c:999:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1000:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mbx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1009:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1010:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1014:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1015:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1019:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1020:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1032:7: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date(LOCAL->buf,elt);/* build target header */ ^ In file included from mbx.c:41:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:1037:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1037:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1038:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1042:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft)),cu ? ++dstream->uid_last : 0); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1044:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1044:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1047:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = write (fd,LOCAL->buf,j) >= 0; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1058:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1059:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1065:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx",dstream->uid_last); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1066:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (fd,LOCAL->buf,8); ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_append': mbx.c:1123:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1123:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1165:2: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mbx.c:41:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mbx.c: In function 'mbx_parse': mbx.c:1274:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1277:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf + 15,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1281:8: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1281:8: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1281:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1284:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1285:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->user_flags[i] = cpystr (s); ^ In file included from mbx.c:46:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ mbx.c:1295:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1312:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1312:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1312:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1321:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1321:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1321:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1351:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1369:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (t+13,NIL,16)) && ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1385:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1419:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (t,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_read_flags': mbx.c:1502:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1503:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1510:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1511:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1517:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.special.text.size,(char *) LOCAL->buf); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1518:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1522:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf+9,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1531:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1547:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^ mbx.c:1558:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1563:9: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] HDRSIZE - CYGKLUDGEOFFSET) > 0) break; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_update_status': mbx.c:1586:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1587:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1594:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1595:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1601:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.special.text.size,(char *) LOCAL->buf); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1602:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1607:9: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1610:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft) + fOLD),elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1615:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_hdrpos': mbx.c:1663:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1670:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1680:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ mbx.c: In function 'mbx_rewrite': mbx.c:1761:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_header': mbx.c:709:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_snarf': mbx.c:965:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mbx.c: In function 'mbx_copy': mbx.c:1046:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mbx.c:1060:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mbx.c: In function 'mbx_append': mbx.c:1195:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mbx.c: In function 'mbx_parse': mbx.c:1269:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,HDRSIZE); ^ mbx.c: In function 'mbx_rewrite': mbx.c:1757:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mbx.c:1781:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mmdf.c: In function 'mmdf_open': mmdf.c:607:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:607:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:619:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mmdf.c:669:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^ mmdf.c: In function 'mmdf_header': mmdf.c:765:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:779:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:792:3: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^ In file included from mmdf.c:33:0: mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:842:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:870:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ mmdf.c: In function 'mmdf_ping': mmdf.c:927:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:928:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_expunge': mmdf.c:985:5: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mmdf.c:33:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:986:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mmdf.c:33:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^ mmdf.c:999:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1038:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mmdf.c:33:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1039:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mmdf.c:33:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1044:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1044:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1051:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1052:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1056:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1057:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1061:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1062:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1072:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1073:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1082:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1083:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1092:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from mmdf.c:34: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:1100:6: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^ mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:1101:6: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^ mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:1102:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from mmdf.c:34: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:1117:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1143:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_append': mmdf.c:1188:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1188:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1230:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mmdf.c:33:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1332:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1591:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1592:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1602:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1603:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1615:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1624:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1629:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (char *) s); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1634:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1639:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1656:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1692:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1693:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1710:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44:0, from mmdf.c:34: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mmdf.c:1742:9: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^ In file included from mmdf.c:39:0: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1797:4: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mmdf.c:1827:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1832:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,prevuid + 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1850:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1906:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1907:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1908:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1909:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1910:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1911:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1934:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ mmdf.c:1958:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1983:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2245:3: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2253:2: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2261:5: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] size = mmdf_pseudo (stream,LOCAL->buf); ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2281:7: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2281:7: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2298:8: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2312:4: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2333:9: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2333:9: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2401:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:2402:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2423:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:2428:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:63:0, from mmdf.c:34: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:2434:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:2435:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_open': mmdf.c:658:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^ mmdf.c: In function 'mmdf_header': mmdf.c:769:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^ mmdf.c:779:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1091:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:1118:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_append': mmdf.c:1288:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2302:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:2385:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2431:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_isvalid': tenex.c:206:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ tenex.c:211:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:211:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_rename': tenex.c:315:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_EX|LOCK_NB)) { ^ tenex.c:350:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:350:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_open': tenex.c:427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ tenex.c:433:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:433:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_fast': tenex.c:500:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:501:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:511:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ tenex.c: In function 'tenex_flags': tenex.c:538:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:539:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c: In function 'tenex_header': tenex.c:564:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:574:5: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); ^ In file included from osdep.h:66:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c: In function 'tenex_text': tenex.c:609:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:632:2: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); ^ In file included from osdep.h:66:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c: In function 'tenex_snarf': tenex.c:774:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from tenex.c:46:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ tenex.c:775:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44:0, from tenex.c:47: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:779:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:781:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44:0, from tenex.c:47: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:781:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:797:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:798:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_expunge': tenex.c:833:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:834:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:895:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:913:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) pos,(unsigned long) LOCAL->filesize,delta); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:914:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:918:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:920:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_copy': tenex.c:961:3: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ tenex.c:176:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^ tenex.c:968:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:969:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:973:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:974:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:978:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:979:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:982:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:983:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:986:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:987:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:1009:2: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:1014:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:1015:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_append': tenex.c:1072:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:1072:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:1122:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from tenex.c:46:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ tenex.c: In function 'tenex_parse': tenex.c:1244:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1244:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1244:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1253:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1253:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1253:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1276:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c:1300:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_read_flags': tenex.c:1378:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:1379:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from tenex.c:47: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ tenex.c:1387:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_update_status': tenex.c:1416:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:1421:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ tenex.c: In function 'tenex_fast': tenex.c:516:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); ^ tenex.c: In function 'tenex_header': tenex.c:567:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length = i); ^ tenex.c:572:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_text': tenex.c:614:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,i); ^ tenex.c:629:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_snarf': tenex.c:799:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ tenex.c: In function 'tenex_expunge': tenex.c:890:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ tenex.c:917:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ tenex.c: In function 'tenex_copy': tenex.c:1008:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ tenex.c:1016:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ tenex.c: In function 'tenex_append': tenex.c:1150:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_isvalid': mtx.c:199:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mtx.c:204:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:204:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_rename': mtx.c:308:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_EX|LOCK_NB)) { ^ mtx.c:343:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:343:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_open': mtx.c:421:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mtx.c:424:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:424:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_flags': mtx.c:487:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:488:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mtx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c: In function 'mtx_header': mtx.c:511:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c: In function 'mtx_text': mtx.c:546:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mtx.c: In function 'mtx_snarf': mtx.c:685:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mtx.c:41:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mtx.c:686:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44:0, from mtx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:690:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:692:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44:0, from mtx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:692:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:708:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:709:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_expunge': mtx.c:744:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:745:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mtx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:806:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:823:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) pos,(unsigned long) LOCAL->filesize,delta); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:824:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:828:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:830:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_copy': mtx.c:871:3: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ mtx.c:169:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^ mtx.c:878:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:879:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:883:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:884:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:888:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:889:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:892:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:893:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mtx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:896:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:897:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:919:2: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:924:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:925:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_append': mtx.c:982:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:982:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:1032:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mtx.c:41:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtx.c: In function 'mtx_parse': mtx.c:1132:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1132:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1132:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1141:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1141:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1141:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1164:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c:1188:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_read_flags': mtx.c:1266:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:1267:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mtx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mtx.c:1275:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_update_status': mtx.c:1304:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:1309:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c: In function 'mtx_header': mtx.c:515:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length); ^ mtx.c: In function 'mtx_snarf': mtx.c:710:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mtx.c: In function 'mtx_expunge': mtx.c:801:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mtx.c:827:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ mtx.c: In function 'mtx_copy': mtx.c:918:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mtx.c:926:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mtx.c: In function 'mtx_append': mtx.c:1053:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^ `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function 'news_list': news.c:237:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:237:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:240:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:240:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c: In function 'news_canonicalize': news.c:286:34: warning: value computed is not used [-Wunused-value] for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ news.c: In function 'news_open': news.c:370:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ news.c:370:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ news.c: In function 'news_fast': news.c:456:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from news.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:457:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from news.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c: In function 'news_flags': news.c:474:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from news.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:474:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from news.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c: In function 'news_load_message': news.c:495:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from news.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ news.c:500:7: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from news.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ news.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ news.c: In function 'news_valid': news.c:161:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); ^ news.c: In function 'news_list': news.c:228:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ `cat CCTYPE` -c `cat CFLAGS` phile.c phile.c: In function 'phile_open': phile.c:305:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:327:7: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); ^ In file included from osdep.h:66:0, from phile.c:36: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ phile.c:317:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); ^ `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function 'mh_isvalid': mh.c:193:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:193:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:194:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:194:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:198:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:198:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_path': mh.c:259:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:259:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_scan': mh.c:377:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:377:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_lsub': mh.c:406:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:406:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c: In function 'mh_list_work': mh.c:438:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:438:4: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:440:4: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:440:4: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c: In function 'mh_open': mh.c:590:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:590:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:595:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:595:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_fast': mh.c:641:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:642:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mh.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c: In function 'mh_load_message': mh.c:665:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:670:7: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mh.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:674:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_ping': mh.c:865:5: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mh.c:865:5: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mh.c:902:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:906:5: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] (long) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mh.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:929:4: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] mh_setdate (LOCAL->buf,elt); ^ mh.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *' void mh_setdate (char *file,MESSAGECACHE *elt); ^ mh.c:937:6: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:45:0, from mh.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:940:6: warning: too many arguments for format [-Wformat-extra-args] s,strerror (errno)); ^ mh.c: In function 'mh_expunge': mh.c:984:4: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:985:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) { ^ In file included from mh.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:990:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:991:2: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:45:0, from mh.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:993:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:994:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mh.c:1012:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:1013:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mh.c: In function 'mh_copy': mh.c:1044:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1045:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) ^ In file included from mh.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1048:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:1049:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mh.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:1061:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_append': mh.c:1109:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1109:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1110:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1110:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1131:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mh.c:1131:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mh.c:1149:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mh.c:34:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] long i,size,last,nfiles; ^ mh.c: In function 'mh_file': mh.c:1231:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1231:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1231:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1231:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_canonicalize': mh.c:1264:34: warning: value computed is not used [-Wunused-value] for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ mh.c: In function 'mh_setdate': mh.c:1282:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mh.c: In function 'mh_path': mh.c:251:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); ^ `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c: In function 'mx_isvalid': mx.c:186:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:186:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c: In function 'mx_scan_contents': mx.c:277:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:277:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c: In function 'mx_create': mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ mx.c: In function 'mx_rename': mx.c:439:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:439:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:462:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:462:7: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c: In function 'mx_open': mx.c:518:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:518:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:524:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mx.c: In function 'mx_fast': mx.c:573:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:574:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mx.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c: In function 'mx_fast_work': mx.c:591:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:593:3: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mx.c: In function 'mx_header': mx.c:633:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ mx.c:648:5: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^ In file included from mx.c:39:0: misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c:649:5: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^ In file included from mx.c:39:0: misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c: In function 'mx_ping': mx.c:731:5: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:731:5: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c:767:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:771:5: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] (long) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mx.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mx.c:794:4: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] mx_setdate (LOCAL->buf,elt); ^ mx.c:106:6: note: expected 'char *' but argument is of type 'unsigned char *' void mx_setdate (char *file,MESSAGECACHE *elt); ^ mx.c:801:6: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:45:0, from mx.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:804:6: warning: too many arguments for format [-Wformat-extra-args] s,strerror (errno)); ^ mx.c: In function 'mx_expunge': mx.c:848:5: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:849:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mx.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:855:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:856:2: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:45:0, from mx.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:858:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:859:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mx.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c:875:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:876:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mx.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c: In function 'mx_copy': mx.c:913:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:914:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mx.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c:921:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:922:9: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^ In file included from mx.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:944:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] unsigned long i,j,uid,uidv; ^ mx.c: In function 'mx_append': mx.c:1003:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:1003:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:1038:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^ In file included from mx.c:34:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mx.c: In function 'mx_lockindex': mx.c:1173:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ ^ mx.c: In function 'mx_setdate': mx.c:1286:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mx.c: In function 'mx_header': mx.c:636:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,elt->rfc822_size); ^ mx.c: In function 'mx_lockindex': mx.c:1177:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ mx.c: In function 'mx_unlockindex': mx.c:1269:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,size); ^ `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c: In function 'mix_scan_contents': mix.c:324:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mix.c:324:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mix.c: In function 'mix_create': mix.c:420:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] fprintf (f,MTAFMT,now,0,now); ^ mix.c: In function 'mix_delete': mix.c:471:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) ^ mix.c: In function 'mix_rename': mix.c:529:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:529:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:556:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mix.c: In function 'mix_open': mix.c:608:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:608:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:610:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mix.c:613:3: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign] mix_dir (LOCAL->buf,stream->mailbox); ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_dir (char *dst,char *name); ^ mix.c:615:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->mailbox = cpystr (LOCAL->buf); ^ In file included from mix.c:37:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ mix.c:618:4: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:621:4: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:629:5: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:630:5: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:632:7: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] MIXSORTCACHE)); ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c: In function 'mix_header': mix.c:721:11: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:732:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); ^ mix.c:737:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:754:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from mix.c:33: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mix.c:754:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from mix.c:33: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ mix.c: In function 'mix_text': mix.c:784:11: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:807:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ mix.c: In function 'mix_flag': mix.c:832:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mix.c:32:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:833:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^ In file included from mix.c:32:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c: In function 'mix_ping': mix.c:975:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:976:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] int mfd,ifd,sfd; ^ mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] int mfd,ifd,sfd; ^ mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] int mfd,ifd,sfd; ^ mix.c: In function 'mix_expunge': mix.c:1035:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mix.c:32:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1036:3: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) || stream->rdonly); ^ In file included from mix.c:32:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1054:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mix.c:1054:7: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mix.c:1088:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.spare.data); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1089:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1098:6: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1100:9: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^ In file included from osdep.h:45:0, from mix.c:33: /usr/include/unistd.h:1015:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^ mix.c:1100:9: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^ In file included from osdep.h:45:0, from mix.c:33: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mix.c:1103:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] cur->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1104:8: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1131:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); ^ mix.c:1133:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] int ifd,sfd; ^ mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] int ifd,sfd; ^ mix.c: In function 'mix_burp': mix.c:1223:3: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1227:5: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat (LOCAL->buf,&sbuf)) { ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mix.c:1228:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1229:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1232:5: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^ mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^ mix.c:1236:7: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] else if (ret = !truncate (LOCAL->buf,burp->set.last)) ^ In file included from osdep.h:45:0, from mix.c:33: /usr/include/unistd.h:1015:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^ mix.c:1239:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1240:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1245:3: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mix.c:33: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mix.c:1248:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1249:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1253:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1254:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1259:3: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^ mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^ mix.c:1264:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mix.c:1266:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] set->first); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1267:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1307:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1308:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] void *s; ^ mix.c: In function 'mix_burp_check': mix.c:1337:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] file,size,set->last); ^ mix.c: In function 'mix_copy': mix.c:1357:3: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign] long ret = mix_isvalid (mailbox,LOCAL->buf); ^ mix.c:236:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_isvalid (char *name,char *meta) ^ mix.c:1375:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mix.c:32:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1376:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^ In file included from mix.c:32:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1393:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] mix.c:1394:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1403:5: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if (msgf = mix_data_open (astream,&fd,&size,newsize)) { ^ mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^ mix.c:1417:12: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] unsigned long j,uid,uidv; ^ mix.c: In function 'mix_append': mix.c:1519:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret = compare_cstring (mailbox,"INBOX") ? ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:1519:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret = compare_cstring (mailbox,"INBOX") ? ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:1550:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] mix.c:1551:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1555:7: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { ^ mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^ mix.c:1563:4: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^ In file included from mix.c:32:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c:1570:8: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,tmp); ^ In file included from mix.c:32:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c: In function 'mix_append_msg': mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^ mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^ mix.c: In function 'mix_parse': mix.c:1823:7: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && ^ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:1960:10: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] curfile = file),&sbuf)) { ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2043:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i,LOCAL->statusseq); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:2044:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:2055:9: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] "status")) && *s && (*s++ == ':') && ^ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c: In function 'mix_meta_slurp': mix.c:2150:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mix.c:2155:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) ^ mix.c: In function 'mix_meta_update': mix.c:2190:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:2191:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:2192:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] stream->uid_validity,stream->uid_last,LOCAL->newmsg); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:2193:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:2194:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { ^ mix.c:2208:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; ^ In file included from osdep.h:63:0, from mix.c:33: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mix.c: In function 'mix_index_update': mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] mix.c: In function 'mix_status_update': mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] sprintf (tmp,STRFMT,0,0,0,0); ^ mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] mix.c: In function 'mix_data_open': mix.c:2400:3: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2417:7: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] LOCAL->newmsg = mix_modseq (LOCAL->newmsg)), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c: In function 'mix_sortcache_open': mix.c:2467:10: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] "sortcache")) && *s && ^ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:2565:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) ^ mix.c:2577:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = LOCAL->buf,sl = NIL, ^ mix.c:2585:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sl->text.data = cpystr (s); ^ mix.c: In function 'mix_sortcache_update': mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] s->message_id ? strlen (s->message_id) + 1 : 0,j); ^ mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' [-Wformat=] mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=] mix.c: In function 'mix_copy': mix.c:1477:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert file */ ^ mix.c: In function 'mix_append': mix.c:1594:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert all writes to file*/ ^ mix.c: In function 'mix_meta_update': mix.c:2209:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->mfd,i); /* and tie off at that point */ ^ mix.c: In function 'mix_index_update': mix.c:2255:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (idxf),sbuf.st_size); ^ mix.c:2288:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (idxf),ftell (idxf)); ^ mix.c: In function 'mix_status_update': mix.c:2335:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (statf),sbuf.st_size); ^ mix.c:2369:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (statf),ftell (statf)); ^ mix.c: In function 'mix_sortcache_update': mix.c:2697:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (f),ftell (f)); ^ mix.c: In function 'mix_sortcache_open': mix.c:2640:15: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] else fchmod (fd,sbuf.st_mode); ^ 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 make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' echo lnp > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'main': mtest.c:124:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); ^ In file included from ../c-client/c-client.h:48:0, from mtest.c:39: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mtest.c: In function 'mm': mtest.c:168:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (cmd)) { /* dispatch based on command */ ^ In file included from ../c-client/c-client.h:48:0, from mtest.c:39: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mtest.c:204:13: warning: the address of 'parms' will always evaluate as 'true' [-Waddress] if (parms) { ^ mtest.c: In function 'overview_header': mtest.c:402:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&selt,ov->date); ^ In file included from ../c-client/c-client.h:41:0, from mtest.c:39: ../c-client/mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtest.c: In function 'prompt': mtest.c:622:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations] gets (txt); ^ mtest.c: In function 'smtptest': mtest.c:818:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations] while (gets (line)) { ^ mtest.c:829:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg->date = (char *) fs_get (1+strlen (line)); ^ mtest.c:830:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (msg->date,line); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtest.c:36: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mtest.c: In function 'prompt': mtest.c:622:8: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result] gets (txt); ^ mtest.c: In function 'mm_login': mtest.c:744:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (user,NETMAXUSER-1,stdin); ^ In file included from /usr/include/stdio.h:937:0, from mtest.c:36: In function 'gets', inlined from 'prompt' at mtest.c:622:8: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:237:3: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' mtest.o: In function `gets': /usr/include/arm-linux-gnueabihf/bits/stdio2.h:237: warning: the `gets' function is dangerous and should not be used. /usr/include/arm-linux-gnueabihf/bits/stdio2.h:236: warning: the `gets' function is dangerous and should not be used. make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/mtest' cd ipopd;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/ipopd' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c ipop2d.c: In function 'main': ipop2d.c:149:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:48:0, from ipop2d.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ ipop2d.c: In function 'c_fold': ipop2d.c:333:10: warning: unused variable 'mb' [-Wunused-variable] NETMBX mb; ^ ipop2d.c:332:9: warning: unused variable 's' [-Wunused-variable] char *s = NIL,tmp[2*TMPLEN]; ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c ipop3d.c: In function 'main': ipop3d.c:129:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next; ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ ipop3d.c:129:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next; ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ ipop3d.c:186:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ ipop3d.c: In function 'pass_login': ipop3d.c:654:8: warning: unused variable 'tmp' [-Wunused-variable] char tmp[MAILTMPLEN]; ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/ipopd' cd imapd;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/imapd' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[5]: Nothing to be done for `all'. make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c imapd.c: In function 'main': imapd.c:302:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:302:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:307:3: warning: pointer targets in passing argument 1 of 'rfc822_date' differ in signedness [-Wpointer-sign] rfc822_date (tmp); /* get date/time at startup */ ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_date (char *date); ^ imapd.c:327:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (proxy,'\n')) *s = '\0'; ^ imapd.c:334:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = myusername_full (&i); /* get user name and flags */ ^ imapd.c:342:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = "ANONYMOUS"; ^ imapd.c:346:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:346:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ imapd.c:347:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); /* set fake password */ ^ imapd.c:356:7: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:370:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:392:5: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (cmdbuf,CMDLEN,TIMEOUT); ^ imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^ imapd.c:399:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (cmdbuf,'\012')) { ^ imapd.c:399:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:400:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:400:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:400:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:406:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,t ? (char *) cmdbuf : "*"); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:407:7: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:409:5: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] else if (!(tag = strtok (cmdbuf," \015\012"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:416:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!(s = strtok (NIL," \015\012"))) { ^ imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID") && strtok (NIL," \015\012")) { ^ imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:436:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] cmd = cpystr (s); /* save current command */ ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:436:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd = cpystr (s); /* save current command */ ^ imapd.c:438:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && ^ imapd.c:438:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:444:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (arg + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = imap_responder ("",0,NIL))) ^ imapd.c:503:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr ("ANONYMOUS"); ^ imapd.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:514:4: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1822:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]); ^ imapd.c:514:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ imapd.c:515:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:525:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:525:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:528:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd = msg; ^ imapd.c:530:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] auth && compare_cstring (s,auth->name); auth = auth->next); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:559:4: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:559:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ imapd.c:560:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:560:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ imapd.c:563:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (user,"ANONYMOUS") && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:574:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:574:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:574:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:576:6: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:576:6: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:576:6: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:600:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:600:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:600:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:603:6: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign] mail_sequence (stream,s)) fetch (t,uid); ^ imapd.c:148:6: note: expected 'char *' but argument is of type 'unsigned char *' void fetch (char *t,unsigned long uid); ^ imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:609:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:609:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:609:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:610:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strtok (NIL,"\015\012")))) response = misarg; ^ imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:616:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen"); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:618:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) ^ imapd.c:619:10: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (v) < ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:620:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:622:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:622:5: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:624:8: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:624:8: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:634:6: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:634:6: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:660:6: warning: pointer targets in passing argument 2 of 'mail_expunge_full' differ in signedness [-Wpointer-sign] mail_expunge_full (stream,arg,arg ? EX_UID : NIL); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1695:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options); ^ imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:684:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:684:48: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:694:4: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:694:4: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:703:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:703:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:703:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:711:6: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:711:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:718:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok (NIL," "))) { ^ imapd.c:719:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ""; /* end of attributes */ ^ imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:731:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (s = strtok (NIL," ")); ^ imapd.c:735:8: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:763:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ imapd.c:764:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012")))) ^ imapd.c:770:6: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign] if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1756:13: note: expected 'char *' but argument is of type 'unsigned char *' THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, ^ imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:848:6: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s = snarf (&arg)) charset = cpystr (s); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:943:4: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^ imapd.c:943:4: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^ imapd.c:943:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:943:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1087:23: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign] #define DRIVER struct driver ^ imapd.c:944:6: note: in expansion of macro 'DRIVER' DRIVER *factory = mail_valid (NIL,s,NIL); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1632:9: note: expected 'char *' but argument is of type 'unsigned char *' DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); ^ imapd.c:955:3: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] (stream = mail_open (stream,s,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:961:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = mail_fetch_text (stream,1,NIL,&i,NIL)) && ^ imapd.c:964:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:964:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:3: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:966:3: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:968:3: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:980:6: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (!factory && isnewsproxy (s)) { ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:981:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:982:8: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] stream = mail_open (stream,tmp,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:985:6: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] else stream = mail_open (stream,s,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:991:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"#MHINBOX")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:993:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else lastsel = cpystr (compare_cstring (s,"INBOX") ? ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1022:6: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign] if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1700:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, ^ imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1043:4: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1043:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1044:6: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1044:6: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1044:6: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1046:8: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,"",tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1049:6: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1049:6: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1061:4: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1061:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1062:6: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1062:6: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1062:6: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1064:6: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1064:6: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1064:6: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1076:4: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1076:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1077:6: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1077:6: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1077:6: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1077:6: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *' void newsrc_lsub (MAILSTREAM *stream,char *pattern); ^ imapd.c:1078:6: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1078:6: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1087:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:1087:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) && ^ imapd.c:1089:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg)))) ^ imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1095:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1099:8: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1103:8: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1114:3: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:1114:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1114:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:1120:6: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:1120:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1129:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1132:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok (NIL," ")); ^ imapd.c:1135:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1135:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:1136:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1136:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1144:8: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1148:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1148:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1150:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1150:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1154:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1154:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1157:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1157:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1159:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1160:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] stream->uid_validity); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1162:8: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (tmp,")\015\012"); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:1164:8: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign] pastring (s); ^ imapd.c:179:6: note: expected 'char *' but argument is of type 'unsigned char *' void pastring (char *s); ^ imapd.c:1165:8: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1167:6: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) { ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1168:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1169:8: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] if (!mail_status (NIL,tmp,f)) response = lose; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ imapd.c:1171:6: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] else if (!mail_status (NIL,s,f)) response = lose; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1182:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1185:6: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1187:4: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1187:4: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^ imapd.c:1188:4: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1197:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1200:6: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1200:6: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^ imapd.c:1201:6: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1203:4: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1262:4: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign] else mail_create (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1641:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_create (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1274:6: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign] else mail_delete (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1642:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_delete (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1284:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1284:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:1285:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1285:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1289:6: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1289:6: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1328:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (i * IDLETIMER) / 60); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1329:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1334:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] donefake = nmsgs + 1,recent + 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1335:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* prod client to wake up */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1344:3: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN,INPUTTIMEOUT); ^ imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^ imapd.c:1355:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1356:7: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1359:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] nmsgs,recent); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1360:5: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1383:6: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] if (PSINR (tmp,i)) litplus.size -= i; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1856:6: note: expected 'char *' but argument is of type 'unsigned char *' long PSINR (char *s,unsigned long n); ^ imapd.c:1392:2: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN,INPUTTIMEOUT); ^ imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^ imapd.c:1394:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (tmp,'\012')) { ^ imapd.c:1394:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1394:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (tmp,'\012')) { ^ imapd.c:1399:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((i = strlen (tmp)) > 3) && (tmp[i - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1405:8: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (tmp + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:1420:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,lstref ? "*" : tag); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1421:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* start response */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1424:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1427:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1428:4: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* start response */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1437:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1438:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1441:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ imapd.c:1441:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1441:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ imapd.c:1441:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1442:4: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1458:4: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (cmd); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1472:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag,cmd,lasterror ()); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1473:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* output response */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c: In function 'staint': imapd.c:1853:3: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (user) s = sout (sout (s,"."),user); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c:1858:5: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (user) s = sout (sout (s,", user="),user); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c:1878:7: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (cmd) s = sout (sout (s,", last command="),cmd); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c:1880:5: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] else s = sout (sout (s,cmd)," in progress"); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c: In function 'parse_astring': imapd.c:2062:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) { ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2081:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:2081:5: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:1945:6: note: expected 'char *' but argument is of type 'unsigned char *' void inliteral (char *s,unsigned long n) ^ imapd.c:2083:5: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (*arg = t,CMDLEN - (t - cmdbuf),INPUTTIMEOUT); ^ imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout) ^ imapd.c:2084:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (t,'\012')) return flush (); ^ imapd.c:2084:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2086:5: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!strtok (t,"\015\012")) *t = '\0'; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2088:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((i = strlen (t)) > 3) && (t[i - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2094:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (t + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c: In function 'parse_stringlist': imapd.c:2206:5: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^ imapd.c:2206:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:2218:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = *s) { /* need to reload strtok() state? */ ^ imapd.c: In function 'parse_criterion': imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2293:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2339:2: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:2339:2: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c: In function 'crit_string': imapd.c:2584:3: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^ imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^ imapd.c:2584:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^ imapd.c:2594:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*arg) *arg = (char *) (*string)->text.data + i; ^ imapd.c: In function 'fetch_work': imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2647:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strtok (t," ")) do { /* parse attribute list */ ^ imapd.c:2648:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (list && (i = strlen (s)) && (s[i-1] == ')')) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2683:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2723:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2736:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2741:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2743:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2747:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*v || !(v = strtok (NIL,"\015\012")) || ^ imapd.c:2755:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2778:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) || ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2780:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) && ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2791:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] strtok (v," "); /* reset strtok mechanism */ ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2798:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] strtok (v," "); /* reset strtok mechanism */ ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2809:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s && *s) ta->section = cpystr (s); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:2816:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: imapd.c: In function 'fetch_body_part_binary': ../c-client/mail.h:740:21: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] #define BODY struct mail_bodystruct ^ imapd.c:2955:5: note: in expansion of macro 'BODY' BODY *body = mail_body (stream,i,ta->section); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imapd.c: In function 'fetch_rfc822_text': imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable] int f = mail_elt (stream,i)->seen; ^ imapd.c: In function 'penv': imapd.c:3329:5: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign] pnstring (env->date); /* output envelope fields */ ^ imapd.c:178:6: note: expected 'char *' but argument is of type 'unsigned char *' void pnstring (char *s); ^ imapd.c: In function 'nameok': imapd.c:3864:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3864:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3873:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c: In function 'proxycopy': imapd.c:4019:2: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c:4019:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c: In function 'append_msg': imapd.c:4128:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = ++arg; /* pointer to flag list contents */ ^ imapd.c:4135:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (*arg == '"') *date = ad->date = cpystr (snarf (&arg)); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:4140:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (arg+1,&t,10))) ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:4148:5: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf),INPUTTIMEOUT); ^ imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout) ^ imapd.c:4149:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr (ad->arg,'\012')) { ^ imapd.c:4149:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:4151:7: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0'; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:4153:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:4159:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (ad->arg + j + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c: In function 'mm_login': imapd.c:4529:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (password,pass,256); /* and password */ ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c: In function 'main': imapd.c:897:12: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] if (j != --i) { ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/imapd' cd mailutil;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'prune_criteria': mailutil.c:453:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^ In file included from ../c-client/c-client.h:48:0, from mailutil.c:31: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mailutil.c: In function 'mbxcopy': mailutil.c:594:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp,MAILTMPLEN-1,stdin); ^ mailutil.c: In function 'mm_login': mailutil.c:893:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (username,NETMAXUSER-1,stdin); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/mailutil' cd mlock;make || true make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:60:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^ mlock.c: In function 'main': mlock.c:75:3: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) ^ mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] chdir (dir); ^ mlock.c:113:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) ^ mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (lock); /* time out lock if enough time has passed */ ^ mlock.c:123:7: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^ mlock.c:125:5: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^ mlock.c:132:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^ mlock.c:138:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] i = link (hitch,lock) ? errno : 0; ^ mlock.c:161:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^ mlock.c:169:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^ `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/mlock' cd dmail;make || true make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c dmail.c: In function 'main': dmail.c:162:5: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^ dmail.c: In function 'deliver': dmail.c:231:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!*mailbox || !compare_cstring ((unsigned char *) mailbox,"INBOX")) ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dmail.c: In function 'mm_notify': dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c: In function 'file_string_setpos': dmail.c:123:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^ dmail.c: In function 'delivery_unsafe': dmail.c:443:13: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/dmail' cd tmail;make || true make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c tmail.c: In function 'main': tmail.c:166:9: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (format->name,"dummy")) ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tmail.c:166:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (format->name,"dummy")) ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tmail.c:171:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^ tmail.c: In function 'getusername': tmail.c:608:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!**t || !compare_cstring ((unsigned char *) *t,"INBOX")) *t = NIL; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tmail.c: In function 'mm_notify': tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c: In function 'file_string_setpos': tmail.c:124:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^ tmail.c: In function 'delivery_unsafe': tmail.c:564:13: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` ../c-client/c-client.a(osdep.o): In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:337: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/tmail' make[2]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' make[1]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' mv c-client/c-client.a . /usr/bin/make clean make[1]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' Removing old processed sources and binaries... sh -c 'rm -rf an ua OSTYPE SPECIALS c-client mtest imapd ipopd mailutil mlock dmail tmail || true' cd tools;make clean make[2]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/tools' sh -c 'rm -f *.o uahelper || true' make[2]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/tools' make[1]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' # Use PAM /usr/bin/make VERSION=2007e EXTRAAUTHENTICATORS='gss' EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' ldbs make[1]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' make[2]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ make[2]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . make build EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='' BUILDTYPE=lnps IP=6 \ SPECIALS="GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private" make[2]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg' make[3]: `ip6' is up to date. make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' Building c-client for lnps... echo `cat SPECIALS` > c-client/SPECIALS cd c-client;make lnps EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs'\ EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro'\ EXTRADRIVERS='mbox'\ EXTRAAUTHENTICATORS='gss'\ PASSWDTYPE=std SSLTYPE=nopwd IP=6\ GSSDIR=/usr SSLDIR=/usr SSLINCLUDE=/usr/include/openssl SSLCERTS=/etc/ssl/certs SSLKEYS=/etc/ssl/private make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make build EXTRACFLAGS='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' EXTRALDFLAGS='-Wl,-Bsymbolic-functions -Wl,-z,relro' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='gss' PASSWDTYPE=std SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=lnx \ SIGTYPE=psx CHECKPW=pam CRXTYPE=nfs \ SPOOLDIR=/var/spool MAILSPOOL=/var/mail \ ACTIVEFILE=/var/lib/news/active \ RSHPATH=/usr/bin/rsh \ BASECFLAGS="-fPIC -g -O2 -pipe -fno-omit-frame-pointer" \ ARCHIVE="libc-client.so" \ BASELDFLAGS="-L../c-client -lc-client -lpam -ldl -lc" \ ARRC="gcc --shared -Wl,-soname,libc-client.so.2007e -o" \ LIBRARIES="-lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err" \ RANLIB=true make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE ARCHIVENAME *FLAGS *TYPE libc-client.so || true' Once-only environment setup... echo cc > CCTYPE echo -fPIC -g -O2 -pipe -fno-omit-frame-pointer '-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -D_REENTRANT -DDISABLE_POP_PROXY -Wno-parentheses -Wno-strict-aliasing -Wl,-z,defs' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto \ -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" \ -DANONYMOUSHOME=\"/var/mail/anonymous\" \ -DACTIVEFILE=\"/var/lib/news/active\" -DNEWSSPOOL=\"/var/spool/news\" \ -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" \ -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" \ -DLOCKPGM3=\"/etc/mlock\" > OSCFLAGS echo -L../c-client -lc-client -lpam -ldl -lc -Wl,-Bsymbolic-functions -Wl,-z,relro > LDFLAGS echo "gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so" > ARCHIVE echo libc-client.so > ARCHIVENAME echo lnx > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths gss ext md5 pla log make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' echo -I/usr/include -DGSS_C_NT_HOSTBASED_SERVICE=gss_nt_service_name -DKRB5_DEPRECATED=1 >> OSCFLAGS sh -c '(test -f /usr/lib/libk5crypto.a) && echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err || echo -L/usr/lib -lgssapi_krb5 -lkrb5 -lcrypto -lcom_err' >> LDFLAGS echo "#include \"kerb_mit.c\"" >> auths.c make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c ln -s os_lnx.h osdep.h ln -s os_lnx.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test lnx = sc5 -o lnx = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || fgrep statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' Standard password authentication ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/include/openssl -I/usr/include/openssl/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 lnx SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:48:0: nl_unix.c: In function 'strcrlfcpy': nl_unix.c:49:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*dst) *dst = (char *) fs_get ((*dstl = i) + 1); ^ In file included from env_unix.c:256:0, from osdep.c:49: pmatch.c: In function 'pmatch_full': pmatch.c:41:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ pmatch.c:41:5: note: expected 'const char *' but argument is of type 'unsigned char *' In file included from auths.c:1:0, from env_unix.c:260, from osdep.c:49: kerb_mit.c: In function 'kerberos_login': kerb_mit.c:103:6: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^ In file included from osdep.c:43:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from auths.c:1:0, from env_unix.c:260, from osdep.c:49: kerb_mit.c:103:6: warning: pointer targets in passing argument 1 of 'authserver_login' differ in signedness [-Wpointer-sign] authserver_login (lcase (user),kuser,argc,argv)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from osdep.c:31: env.h:40:6: note: expected 'char *' but argument is of type 'unsigned char *' long authserver_login (char *user,char *authuser,int argc,char *argv[]); ^ In file included from auths.c:2:0, from env_unix.c:260, from osdep.c:49: auth_gss.c: In function 'auth_gssapi_server': auth_gss.c:399:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Failed to acquire credentials for %s",buf.value); ^ auth_gss.c:406:4: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("Unknown GSSAPI failure: %s",resp.value); ^ auth_gss.c:414:2: warning: format '%s' expects argument of type 'char *', but argument 3 has type 'void *' [-Wformat=] SERVER_LOG ("GSSAPI mechanism status: %s",resp.value); ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:49: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:195:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ auth_md5.c:197:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); ^ auth_md5.c:199:5: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lusr = *s ? lcase (cpystr (user)) : NIL; ^ In file included from osdep.c:43:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:49: auth_md5.c:200:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; ^ auth_md5.c:201:5: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) ^ auth_md5.c:203:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:203:7: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:203:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:205:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:205:2: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] In file included from osdep.c:43:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:49: auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:206:2: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] auth_md5.c:206:2: note: expected 'const char *' but argument is of type 'unsigned char *' auth_md5.c:209:5: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!ret && lret) ret = cpystr (lret); ^ In file included from osdep.c:43:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from osdep.c:49:0: env_unix.c: In function 'pwuser': env_unix.c:641:10: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] struct passwd *pw = getpwnam (user); ^ In file included from osdep.c:42:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name); ^ In file included from osdep.c:49:0: env_unix.c:645:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:43:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ In file included from osdep.c:49:0: env_unix.c:645:7: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:43:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:49:0: env_unix.c:645:7: warning: pointer targets in passing argument 1 of 'getpwnam' differ in signedness [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^ In file included from osdep.c:42:0: /usr/include/pwd.h:116:23: note: expected 'const char *' but argument is of type 'unsigned char *' extern struct passwd *getpwnam (const char *__name); ^ In file included from osdep.c:49:0: env_unix.c: In function 'valpwd': env_unix.c:671:2: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] ret = pwuser (user); /* validated, get passwd entry for user */ ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c:676:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (pw = pwuser (user)) {/* can get user? */ ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c:679:2: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c: In function 'server_login': env_unix.c:710:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c: In function 'authserver_login': env_unix.c:728:3: warning: pointer targets in passing argument 1 of 'pwuser' differ in signedness [-Wpointer-sign] return pw_login (pwuser (user),authuser,user,NIL,argc,argv); ^ env_unix.c:638:23: note: expected 'unsigned char *' but argument is of type 'char *' static struct passwd *pwuser (unsigned char *user) ^ env_unix.c: In function 'pw_login': env_unix.c:767:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:767:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:770:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:770:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c: In function 'mailboxfile': env_unix.c:1057:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1057:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1067:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1067:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1087:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1087:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1101:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1101:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1115:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1115:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c: In function 'lock_work': env_unix.c:1374:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (op & LOCK_NB) i = flock (fd,op); ^ env_unix.c: In function 'dorc': env_unix.c:1565:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1565:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1579:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1579:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1580:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1580:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1581:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1581:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1583:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1583:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1586:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1586:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1590:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1590:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1593:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1593:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1604:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1604:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1605:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1605:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1606:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1606:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1607:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1607:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1609:9: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1609:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1611:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1611:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1615:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1615:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1626:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1626:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1630:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1630:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1634:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1634:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1638:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1638:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1640:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1640:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1642:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1642:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1646:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1646:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1650:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1650:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1654:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1654:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1658:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1658:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1662:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1662:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1666:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1666:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1668:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1668:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1671:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1671:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1673:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1673:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1675:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1675:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1677:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1677:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1679:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1679:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1681:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1681:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1683:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1683:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1685:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1685:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1687:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1687:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1689:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1689:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1691:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1691:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1693:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1693:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1695:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1695:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1697:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1697:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1699:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1699:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1701:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1701:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1703:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1703:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1706:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1706:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1708:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1708:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1710:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1710:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1712:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1712:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1714:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1714:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1716:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1716:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1718:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1718:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1720:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1720:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1722:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1722:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1724:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1724:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1726:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1726:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1728:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1728:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1730:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1730:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1732:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1732:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1734:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1734:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1736:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1736:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1738:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1738:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1740:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1740:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1742:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1742:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1746:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1746:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1748:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1748:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1751:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1751:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1758:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1758:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1760:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1760:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1762:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1762:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1764:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1764:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1766:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1766:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1768:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1768:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1769:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1769:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1771:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1771:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1773:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1773:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1775:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1775:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1778:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1778:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1780:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1780:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1782:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1782:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1784:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1784:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1788:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:49:0: env_unix.c:1788:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ In file included from osdep.c:43:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from tcp_unix.c:29:0, from osdep.c:51: ip_unix.c: In function 'ip_stringtoaddr': ip_unix.c:136:7: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) { ^ In file included from osdep.c:43:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from tcp_unix.c:29:0, from osdep.c:51: ip_unix.c:136:7: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,hints,&ai))) { ^ In file included from osdep.c:38:0: /usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int getaddrinfo (const char *__restrict __name, ^ In file included from tcp_unix.c:29:0, from osdep.c:51: ip_unix.c: In function 'ip_nametoaddr': ip_unix.c:253:2: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) { ^ In file included from osdep.c:43:0: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ In file included from tcp_unix.c:29:0, from osdep.c:51: ip_unix.c:253:2: warning: pointer targets in passing argument 1 of 'getaddrinfo' differ in signedness [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (lcname,name)),NIL,hints,&ai))) { ^ In file included from osdep.c:38:0: /usr/include/netdb.h:662:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern int getaddrinfo (const char *__restrict __name, ^ In file included from osdep.c:51:0: tcp_unix.c: In function 'tcp_getline': tcp_unix.c:464:3: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] char *ret = tcp_getline_work (stream,&n,&contd); ^ tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^ tcp_unix.c:472:7: warning: pointer targets in passing argument 3 of 'tcp_getline_work' differ in signedness [-Wpointer-sign] ret = tcp_getline_work (stream,&n,&contd); ^ tcp_unix.c:58:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *tcp_getline_work (TCPSTREAM *stream,unsigned long *size, ^ tcp_unix.c: In function 'tcp_isclienthost': tcp_unix.c:1026:17: warning: unused variable 'sadrlen' [-Wunused-variable] size_t adrlen,sadrlen,len; ^ In file included from osdep.c:54:0: flocklnx.c: In function 'safe_flock': flocklnx.c:60:4: warning: passing argument 1 of 'syslog' makes integer from pointer without a cast [enabled by default] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^ In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0, from /usr/include/syslog.h:1, from osdep.h:50, from osdep.c:31: /usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'int' but argument is of type 'char *' syslog (int __pri, const char *__fmt, ...) ^ In file included from osdep.c:54:0: flocklnx.c:60:4: warning: passing argument 2 of 'syslog' makes pointer from integer without a cast [enabled by default] if (!logged++) syslog ("%s",LOG_ERR,tmp); ^ In file included from /usr/include/arm-linux-gnueabihf/sys/syslog.h:207:0, from /usr/include/syslog.h:1, from osdep.h:50, from osdep.c:31: /usr/include/arm-linux-gnueabihf/bits/syslog.h:29:1: note: expected 'const char *' but argument is of type 'int' syslog (int __pri, const char *__fmt, ...) ^ osdep.c: In function 'ssl_validate_cert': osdep.c:564:5: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:297:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:564:5: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:297:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:573:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (name->type = GEN_DNS) && (s = name->d.ia5->data) && ^ osdep.c:574:6: warning: pointer targets in passing argument 1 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^ osdep.c:297:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:574:6: warning: pointer targets in passing argument 2 of 'ssl_compare_hostnames' differ in signedness [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^ osdep.c:297:13: note: expected 'unsigned char *' but argument is of type 'char *' static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c: In function 'ssl_getline': osdep.c:615:3: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] char *ret = ssl_getline_work (stream,&n,&contd); ^ osdep.c:298:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^ osdep.c:623:7: warning: pointer targets in passing argument 3 of 'ssl_getline_work' differ in signedness [-Wpointer-sign] ret = ssl_getline_work (stream,&n,&contd); ^ osdep.c:298:14: note: expected 'long int *' but argument is of type 'long unsigned int *' static char *ssl_getline_work (SSLSTREAM *stream,unsigned long *size, ^ In file included from auths.c:4:0, from env_unix.c:260, from osdep.c:49: auth_md5.c: In function 'auth_md5_pwd': auth_md5.c:195:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ In file included from osdep.c:49:0: env_unix.c: In function 'pw_login': env_unix.c:785:43: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (ret = env_init (user,home))) chdir (myhomedir ()); ^ `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c: In function 'mail_parameters': mail.c:374:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:374:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:379:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:379:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:384:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:384:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:390:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:390:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:395:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:395:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:400:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:400:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:405:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:405:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_valid_net_parse_work': mail.c:792:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:792:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:793:4: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:794:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:794:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:796:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:796:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:802:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:802:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:803:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:803:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:804:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:804:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:805:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:805:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:806:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:806:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:807:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:807:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:808:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:808:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:810:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:810:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:812:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:812:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"notls") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:814:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:814:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:816:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:816:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:818:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:818:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:821:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:821:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:824:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:824:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:825:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:825:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:826:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:826:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:827:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:827:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:828:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:828:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"submit")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:829:4: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:830:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:830:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:831:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:831:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:832:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:832:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:833:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:833:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:835:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:835:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_create': mail.c:1008:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1008:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_open': mail.c:1250:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1250:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_fetch_overview': mail.c:1472:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_uid_sequence (stream,sequence) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_fetch_overview_sequence': mail.c:1488:3: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] if (stream->dtb && mail_sequence (stream,sequence) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_fetch_overview_default': mail.c:1513:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ mail.c: In function 'mail_fetch_header': mail.c:1731:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_fetch_text': mail.c:1822:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_fetch_mime': mail.c:1876:3: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(section && *section && (b = mail_body (stream,msgno,section)))) ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_fetch_body': mail.c:1962:3: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return ""; ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_partial_text': mail.c:2022:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_partial_body': mail.c:2090:3: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return NIL; ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ mail.c: In function 'mail_flag': mail.c:2312:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:2313:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^ In file included from c-client.h:41:0, from mail.c:31: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c: In function 'mail_append_multiple': mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ mail.c:2602:3: note: expected 'const char *' but argument is of type 'unsigned char *' mail.c:2602:3: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from mail.c:31: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ mail.c:2602:3: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mail.c: In function 'mail_body': mail.c:2724:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(i = strtoul (section,(char **) §ion,10)) || ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_parse_date': mail.c:2856:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2856:3: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from mail.c:28: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mail.c:2856:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c:2862:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(m = strtoul (s,(char **) &s,10))) return NIL; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2866:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2868:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2878:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2879:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (d = strtoul (s,(char **) &s,10)) && !*s) break; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2884:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (s) < (size_t) 5) return NIL; ^ In file included from osdep.h:44:0, from c-client.h:42, from mail.c:31: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mail.c:2912:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2936:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] d = strtoul (s+1,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2938:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] m = strtoul (++s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:2939:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_uid_sequence': mail.c:3269:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:3280:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_filter': mail.c:3377:2: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ In file included from c-client.h:41:0, from mail.c:31: mail.c: In function 'mail_search_msg': mail.h:740:21: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] #define BODY struct mail_bodystruct ^ mail.c:3519:7: note: in expansion of macro 'BODY' BODY *body = mail_body (stream,msgno,section); ^ mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c: In function 'mail_search_text': mail.c:3691:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] else if ((body = mail_body (stream,msgno,section)) && ^ mail.c:2714:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c: In function 'mail_search_string': mail.c:3810:16: warning: unused variable 'sc' [-Wunused-variable] STRINGLIST **sc = st; ^ mail.c: In function 'mail_search_keyword': mail.c:3858:7: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[i],&st->text)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mail.c: In function 'mail_criteria': mail.c:3989:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mail.c: In function 'mail_criteria_date': mail.c:4080:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,(char *) s->text.data) && ^ mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sort_loadcache': mail.c:4336:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (env) t = env->date; ^ mail.c:4352:4: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!(t && mail_parse_date (&telt,t) && ^ mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sort_compare': mail.c:4652:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->from,s2->from); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4652:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->from,s2->from); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4655:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->to,s2->to); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4655:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->to,s2->to); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4658:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->cc,s2->cc); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4658:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->cc,s2->cc); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4661:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->subject,s2->subject); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4661:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] i = compare_cstring (s1->subject,s2->subject); ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_msgs': mail.c:4760:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4760:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_orderedsubject': mail.c:4804:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4804:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_thread_loadcache': mail.c:5125:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { ^ mail.c:2838:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c: In function 'mail_sequence': mail.c:5375:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10)) || ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c:5391:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10)) || ^ In file included from osdep.h:43:0, from c-client.h:42, from mail.c:31: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mail.c: In function 'mail_parse_flags': mail.c:5446:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5446:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5447:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5447:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5448:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5448:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5449:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5449:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5450:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5450:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5460:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5460:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_usable_network_stream': mail.c:5510:10: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] trustdns ? tcp_canonical (nmb.host) : nmb.host)&& ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5510:10: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] trustdns ? tcp_canonical (nmb.host) : nmb.host)&& ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5515:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5515:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_auth': mail.c:6112:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6112:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: In function 'mail_lookup_auth_name': mail.c:6145:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6145:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^ In file included from c-client.h:48:0, from mail.c:31: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c: At top level: mail.c:38:14: warning: 'mailcclientversion' defined but not used [-Wunused-variable] static char *mailcclientversion = CCLIENTVERSION; ^ mail.c: In function 'mail_parse_set': mail.c:4153:26: warning: 'cur' may be used uninitialized in this function [-Wmaybe-uninitialized] else cur = cur->next = mail_newsearchset (); ^ `cat CCTYPE` -c `cat CFLAGS` misc.c misc.c: In function 'compare_csizedtext': misc.c:471:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) ^ `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c: In function 'newsrc_lsub': newsrc.c:167:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:167:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:170:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:170:4: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from newsrc.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c: In function 'newsrc_state': newsrc.c:468:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s,(size_t) 1,size,f); ^ `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c: In function 'sm_subscribe': smanager.c:44:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:44:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c: In function 'sm_unsubscribe': smanager.c:77:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:77:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^ In file included from c-client.h:48:0, from smanager.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:343:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ utf8.c:343:1: warning: (near initialization for 'utf8_csvalid[92]') [-Wmissing-braces] utf8.c:370:1: warning: missing braces around initializer [-Wmissing-braces] }; ^ utf8.c:370:1: warning: (near initialization for 'utf8_scvalid[21]') [-Wmissing-braces] utf8.c: In function 'utf8_script': utf8.c:383:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:383:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_charset': utf8.c:400:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:400:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_cstext': utf8.c:586:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:586:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_cstocstext': utf8.c:613:8: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:613:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_rmap': utf8.c:647:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:647:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char * const' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'utf8_csvalidmap': utf8.c:1291:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:1291:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ In file included from c-client.h:48:0, from utf8.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c: In function 'ucs4_decompose': utf8.c:2497:3: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized] return ret; ^ `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c: In function 'utf8_from_mutf7': utf8aux.c:415:3: warning: pointer targets in passing argument 1 of 'mail_utf7_valid' differ in signedness [-Wpointer-sign] if (mail_utf7_valid (src)) return NIL; ^ In file included from c-client.h:41:0, from utf8aux.c:32: mail.h:1644:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_utf7_valid (char *mailbox); ^ utf8aux.c:420:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ In file included from osdep.h:44:0, from c-client.h:42, from utf8aux.c:32: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ utf8aux.c:420:3: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ In file included from c-client.h:48:0, from utf8aux.c:32: misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ utf8aux.c:420:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c: In function 'dummy_valid': dummy.c:124:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:124:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_scan': dummy.c:185:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ In file included from dummy.c:39:0: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:185:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c: In function 'dummy_lsub': dummy.c:224:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:224:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:225:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ In file included from dummy.c:39:0: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dummy.c:225:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:227:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:227:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:230:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:230:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c: In function 'dummy_list_work': dummy.c:290:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:290:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:290:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:290:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:304:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:304:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:305:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:305:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:306:7: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:306:7: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] dmatch (path,pat,'/')) && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:315:6: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:315:6: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:316:8: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:316:8: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:321:8: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:321:8: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:325:6: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:325:6: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (path,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:331:6: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:331:6: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from env_unix.h:61:0, from osdep.h:63, from dummy.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:331:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:331:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_create': dummy.c:458:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:458:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_rename': dummy.c:568:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:568:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_open': dummy.c:597:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:597:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c: In function 'dummy_copy': dummy.c:704:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from dummy.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c:705:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); ^ In file included from dummy.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c: In function 'dummy_append': dummy.c:726:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:726:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^ In file included from dummy.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:728:23: warning: operation on 'ts' may be undefined [-Wsequence-point] if (!ts && !(*(ts = default_proto (NIL))->dtb->create) (ts,"INBOX")) ^ dummy.c: In function 'dummy_canonicalize': dummy.c:803:28: warning: value computed is not used [-Wunused-value] for (i = 0, s = tmp; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ dummy.c: In function 'dummy_scan_contents': dummy.c:383:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf+ssiz,bsiz = min (fsiz,BUFSIZE)); ^ `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c fdstring.c: In function 'fd_string_setpos': fdstring.c:97:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read ((long) s->data,s->curpos,(size_t) s->cursize); ^ fdstring.c: In function 'fd_string_init': fdstring.c:67:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (d->fd,s->chunk,(size_t) s->cursize); ^ `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c: In function 'rfc822_parse_msg_full': rfc822.c:159:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); /* coerce to uppercase */ ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:198:53: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); ^ rfc822.c: In function 'rfc822_parse_content': rfc822.c:490:6: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:490:6: warning: pointer targets in passing argument 2 of 'rfc822_parse_content_header' differ in signedness [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^ In file included from c-client.h:43:0, from rfc822.c:38: rfc822.h:64:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_parse_content_header (BODY *body,char *name,char *s); ^ rfc822.c: In function 'rfc822_parse_content_header': rfc822.c:560:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:560:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ rfc822.c:574:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] stl->text.data = (unsigned char *) ucase (cpystr (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:601:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:601:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:612:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:612:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body_types[body->type] = ucase (s); ^ rfc822.c:624:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:624:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ rfc822.c:642:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:642:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:653:4: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:653:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ rfc822.c: In function 'rfc822_parse_parameter': rfc822.c:686:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ In file included from c-client.h:48:0, from rfc822.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ rfc822.c:686:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ rfc822.c: In function 'rfc822_output_header': rfc822.c:1462:5: warning: pointer targets in passing argument 4 of 'rfc822_output_header_line' differ in signedness [-Wpointer-sign] rfc822_output_header_line (buf,"Date",i,env->date) && ^ In file included from c-client.h:43:0, from rfc822.c:38: rfc822.h:88:6: note: expected 'char *' but argument is of type 'unsigned char *' long rfc822_output_header_line (RFC822BUFFER *buf,char *type,long resent, ^ rfc822.c: In function 'rfc822_output': rfc822.c:2342:10: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] char tmp[SENDBUFLEN+1]; /* client to give us a big enough one */ ^ `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c: In function 'nntp_list': nntp.c:362:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:362:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:365:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:365:4: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c: In function 'nntp_lsub': nntp.c:397:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:397:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (nntp_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from nntp.c:32: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c: In function 'nntp_status': nntp.c:566:6: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,k,&status.recent,&status.unseen); ^ In file included from nntp.c:33:0: newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c:575:2: warning: pointer targets in passing argument 1 of 'newsrc_check_uid' differ in signedness [-Wpointer-sign] newsrc_check_uid (state,i++,&status.recent,&status.unseen); ^ In file included from nntp.c:33:0: newsrc.h:42:6: note: expected 'unsigned char *' but argument is of type 'char *' void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c: In function 'nntp_mopen': nntp.c:735:6: warning: pointer targets in passing argument 1 of 'lcase' differ in signedness [-Wpointer-sign] net_host (nstream->netstream) : mb.host)); ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:87:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *lcase (unsigned char *string); ^ nntp.c: In function 'nntp_fetchfast': nntp.c:853:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:854:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c: In function 'nntp_flags': nntp.c:896:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:896:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c: In function 'nntp_over': nntp.c:999:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c:999:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] nntp.c:999:5: note: expected 'const char *' but argument is of type 'unsigned char *' nntp.c: In function 'nntp_parse_overview': nntp.c:1045:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!elt->day) mail_parse_date (elt,ov->date); ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_search_msg': nntp.c:1314:2: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] (!mail_parse_date (&delt,ov->date) || ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_sort_loadcache': nntp.c:1531:6: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); ^ In file included from c-client.h:41:0, from nntp.c:32: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c: In function 'nntp_extensions': nntp.c:1818:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1818:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1819:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1819:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1820:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1820:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1821:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1821:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1822:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1822:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1823:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1823:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1825:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1825:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1828:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1828:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^ In file included from c-client.h:48:0, from nntp.c:32: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c: In function 'nntp_mail': nntp.c:1916:3: warning: pointer targets in passing argument 1 of 'strstr' differ in signedness [-Wpointer-sign] if (s = strstr (env->date," (")) *s = NIL; ^ In file included from osdep.h:44:0, from c-client.h:42, from nntp.c:32: /usr/include/string.h:338:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strstr (const char *__haystack, const char *__needle) ^ nntp.c:1887:8: warning: unused variable 'retry' [-Wunused-variable] long retry = NIL; ^ nntp.c:1886:8: warning: unused variable 'error' [-Wunused-variable] long error = NIL; ^ nntp.c: In function 'nntp_mopen': nntp.c:764:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (LOCAL->over_fmt = (char *) fs_get ((size_t) k + 3), ^ nntp.c: In function 'nntp_header': nntp.c:1100:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = ^ `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c: In function 'smtp_open_full': smtp.c:166:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:166:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:184:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:184:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c: In function 'smtp_ehlo': smtp.c:690:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:690:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:694:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:694:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:698:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:698:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:702:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:702:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:708:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:708:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:709:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:709:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:710:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:710:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:711:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:711:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:712:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:712:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:713:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:713:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:714:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:714:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:715:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:715:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:716:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:716:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:717:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:717:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:718:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:718:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:719:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:719:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:720:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:720:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:721:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:721:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:722:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:722:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:724:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:724:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:725:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:725:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ In file included from c-client.h:48:0, from smtp.c:39: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` imap4r1.c imap4r1.c: In function 'imap_lsub': imap4r1.c:509:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from imap4r1.c:38: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ imap4r1.c:509:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (imap_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from imap4r1.c:38: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ imap4r1.c: In function 'imap_list_work': imap4r1.c:568:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:568:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:570:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:570:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^ imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:582:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:582:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^ imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:583:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:583:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_manage': imap4r1.c:685:52: warning: the address of 'imapdriver' will always evaluate as 'true' [-Waddress] if (mail_valid_net (mailbox,&imapdriver,NIL,mbx) && ^ imap4r1.c:706:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ret ? NIL : ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_open': imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^ imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:874:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:874:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^ imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:875:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:875:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:876:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (LOCAL->netstream && strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:881:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:881:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:989:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:989:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:999:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_rimap': imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^ imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1045:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1045:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^ imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1049:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1049:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_anon': imap4r1.c:1085:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (reply->tag,tag)) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1087:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1102:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_auth': imap4r1.c:1152:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (compare_cstring (reply->tag,tag)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1153:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1162:2: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] lsterr = cpystr (reply->text); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c: In function 'imap_login': imap4r1.c:1214:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_challenge': imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^ imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1244:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:1244:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:1249:9: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strlen (reply->text),len))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c: In function 'imap_close': imap4r1.c:1306:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_fast': imap4r1.c:1346:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_flags': imap4r1.c:1367:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_overview': imap4r1.c:1420:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ov.date = env->date; ^ imap4r1.c: In function 'imap_structure': imap4r1.c:1468:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1595:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1597:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_msgdata': imap4r1.c:1827:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1837:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1846:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,WARN); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:1850:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_uid': imap4r1.c:1903:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_msgno': imap4r1.c:1939:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_flag': imap4r1.c:1980:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_search': imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2048:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2048:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2067:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2067:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2073:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c:2109:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_sort': imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2172:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2172:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2179:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2179:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2188:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_thread': imap4r1.c:2275:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2275:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_thread_work': imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^ imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2335:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2335:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2342:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:2342:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:2350:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_check': imap4r1.c:2374:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_expunge': imap4r1.c:2399:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (mail_sequence (stream,sequence)) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2427:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_copy': imap4r1.c:2465:3: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2469:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append': imap4r1.c:2522:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append_referral': imap4r1.c:2585:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_append_single': imap4r1.c:2615:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:2619:44: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ imap4r1.c:2620:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ imap4r1.c:2621:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ imap4r1.c: In function 'imap_acl_work': imap4r1.c:2895:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_annotation_work': imap4r1.c:2906:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_setquota': imap4r1.c:2929:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_getquota': imap4r1.c:2951:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_getquotaroot': imap4r1.c:2974:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else mm_log (reply->text,ERROR); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ imap4r1.c: In function 'imap_send': imap4r1.c:3011:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3011:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3012:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3012:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3013:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3013:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3183:2: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!map->date || mail_parse_date (&elt,map->date)) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c: In function 'imap_send_qstring': imap4r1.c:3256:8: warning: unused variable 'c' [-Wunused-variable] char c; ^ imap4r1.c: In function 'imap_send_literal': imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^ imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3335:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3335:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c: In function 'imap_reply': imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^ imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3692:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3692:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^ imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3694:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3694:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3699:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (tag && !compare_cstring (tag,reply->tag)) return reply; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_reply': imap4r1.c:3725:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ imap4r1.c:3731:3: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (LOCAL->reply.line); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:3732:3: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3732:3: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3732:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^ imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3738:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3738:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3740:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { ^ imap4r1.c:3750:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3751:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3754:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ imap4r1.c:3755:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ imap4r1.c:3756:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = ""; ^ imap4r1.c: In function 'imap_fake': imap4r1.c:3776:40: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ imap4r1.c:3777:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ imap4r1.c:3778:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->reply.text = text; ^ imap4r1.c: In function 'imap_OK': imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^ imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3793:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3793:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3794:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,NIL); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3798:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3798:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3799:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,NIL); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^ imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3801:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3801:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3802:7: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,NIL); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c: In function 'imap_parse_unsolicited': imap4r1.c:3826:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] msgno = strtoul (reply->key,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3840:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3840:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3840:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3842:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); ^ imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3845:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3845:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3847:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3847:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3849:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3849:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3857:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3857:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3868:7: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] while (prop = (strtok_r (t," )",&r))) { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:3868:7: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] while (prop = (strtok_r (t," )",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:3869:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:3873:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^ imap4r1.c:3873:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3881:6: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:3887:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3928:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ imap4r1.c:3930:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3932:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3932:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^ imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3933:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:3933:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3943:8: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3943:8: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:3943:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s = t,' ')) *t++ = '\0'; ^ imap4r1.c:3948:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] md.first = strtoul (s+1,(char **) &s,10) + 1; ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:3991:6: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->rfc822_size = strtoul (t,(char **) &t,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (strcmp (s,"COPY")) { ^ imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4022:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4022:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"FLAGS") && reply->text && ^ imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4029:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4029:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4031:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4031:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4031:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ imap4r1.c:4034:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] compare_cstring (s,stream->user_flags[i]); i++); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4040:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:4042:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (s = strtok_r (NIL," )",&r)); ^ imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SEARCH")) { ^ imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4043:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4043:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4045:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4045:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4045:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ imap4r1.c:4046:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (i = strtoul (t,NIL,10)) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4055:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"SORT")) { ^ imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4057:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4057:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4065:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4065:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4065:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ imap4r1.c:4066:7: warning: pointer targets in passing argument 1 of 'atol' differ in signedness [-Wpointer-sign] do if ((i = atol (t)) && (LOCAL->filter ? ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/stdlib.h:283:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (atol (const char *__nptr)) ^ imap4r1.c:4069:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); ^ imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"THREAD")) { ^ imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4075:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4075:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"STATUS") && reply->text) { ^ imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4090:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4090:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4094:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:4094:2: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4094:43: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ imap4r1.c:4100:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4100:7: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4100:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ imap4r1.c:4103:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4104:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (txt,"MESSAGES")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4108:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"RECENT")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4112:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UNSEEN")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4116:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDNEXT")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4120:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (txt,"UIDVALIDITY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4129:2: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if ((!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^ imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4137:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4137:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4139:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4139:5: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4139:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ imap4r1.c:4143:5: warning: pointer targets in passing argument 1 of '__strtok_r_1c' differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1149:1: note: expected 'char *' but argument is of type 'unsigned char *' __strtok_r_1c (char *__s, char __sep, char **__nextp) ^ imap4r1.c:4143:5: warning: pointer targets in passing argument 1 of '__strtok_r' differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:350:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *__strtok_r (char *__restrict __s, ^ imap4r1.c:4143:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strtok_r (reply->text+1," ",&r)) do { ^ imap4r1.c:4144:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4145:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4146:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4147:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4148:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4149:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4152:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (t = strtok_r (NIL," ",&r)); ^ imap4r1.c:4166:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ imap4r1.c:4166:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap4r1.c:4169:7: warning: pointer targets in passing argument 3 of 'mm_lsub' differ in signedness [-Wpointer-sign] if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1617:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4170:7: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] else mm_list (stream,delimiter,s,i); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NAMESPACE")) { ^ imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4174:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4174:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ANNOTATION") && (s = reply->text)){ ^ imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4197:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4197:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4202:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] mbox = imap_parse_astring (stream, &s, reply,NIL); ^ imap4r1.c:4208:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] al->entry = t; ^ imap4r1.c:4226:13: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] vlIter->attr = cpystr (strlist->text.data); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:4230:13: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] vlIter->value = cpystr (strlist->text.data); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"ACL") && (s = reply->text) && ^ imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4241:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4241:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4247:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ imap4r1.c:4249:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ imap4r1.c:4258:7: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:4258:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4262:5: warning: pointer targets in passing argument 2 of 'ar' differ in signedness [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:4262:5: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^ imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4266:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4266:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4270:35: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ imap4r1.c:4272:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4286:4: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,rl); ^ imap4r1.c:4286:4: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4291:2: warning: pointer targets in passing argument 2 of 'lr' differ in signedness [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,NIL); ^ imap4r1.c:4291:2: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^ imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4309:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4309:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4313:34: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ imap4r1.c:4319:7: warning: pointer targets in passing argument 2 of 'mr' differ in signedness [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4319:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTA") && (s = reply->text) && ^ imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4331:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4331:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4342:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ imap4r1.c:4344:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4345:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4345:4: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4345:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strchr (s,' ')) t = s; ^ imap4r1.c:4347:6: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from c-client.h:42, from imap4r1.c:38: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:6: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imap4r1.c:4348:6: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4348:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (t = strpbrk (s," )")) t = s; ^ imap4r1.c:4353:8: warning: pointer targets in passing argument 2 of 'qt' differ in signedness [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4353:8: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^ imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4372:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4372:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4387:7: warning: pointer targets in passing argument 2 of 'qr' differ in signedness [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4387:7: note: expected 'char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^ imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4398:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4398:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4399:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^ imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4400:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4400:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4401:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^ imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4402:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4402:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4403:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^ imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4404:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4404:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4406:5: warning: pointer targets in passing argument 2 of 'imap_parse_response' differ in signedness [-Wpointer-sign] imap_parse_response (stream,reply->text,BYE,T); ^ imap4r1.c:233:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^ imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4408:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4408:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4409:5: warning: pointer targets in passing argument 2 of 'imap_parse_capabilities' differ in signedness [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ^ imap4r1.c:268:6: note: expected 'char *' but argument is of type 'unsigned char *' void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^ imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (reply->key,"MAILBOX") && reply->text) { ^ imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4410:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imap4r1.c:4410:3: note: expected 'const char *' but argument is of type 'unsigned char *' imap4r1.c:4412:2: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) ^ In file included from osdep.h:44:0, from c-client.h:42, from imap4r1.c:38: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imap4r1.c:4413:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ imap4r1.c:4413:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imap4r1.c:4415:5: warning: pointer targets in passing argument 3 of 'mm_list' differ in signedness [-Wpointer-sign] mm_list (stream,NIL,t,NIL); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1616:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c: In function 'imap_parse_response': imap4r1.c:4448:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDVALIDITY") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4448:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDVALIDITY") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4457:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4457:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4459:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4459:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4467:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4467:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4468:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4468:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4470:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4470:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4472:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4472:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4474:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4474:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4482:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CAPABILITY")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4482:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CAPABILITY")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4485:9: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4485:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4491:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4491:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4498:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4498:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4505:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4505:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4509:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4509:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4510:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4510:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4512:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4512:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_namespace': imap4r1.c:4554:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ imap4r1.c:4579:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ imap4r1.c:4591:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ In file included from imap4r1.c:35:0: imap4r1.c: In function 'imap_parse_thread': imap4r1.c:4664:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ imap4r1.c:4666:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10))) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c: In function 'imap_parse_envelope': imap4r1.c:4750:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4757:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:4759:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_address': imap4r1.c:4856:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4857:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4858:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:4859:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_flags': imap4r1.c:4956:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ imap4r1.c:4964:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4964:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4965:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4965:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4966:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4966:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4967:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4967:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4968:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4968:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4969:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4969:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_user_flag': imap4r1.c:4993:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4993:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c: In function 'imap_parse_astring': imap4r1.c:5026:7: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ In file included from /usr/include/features.h:360:0, from /usr/include/ctype.h:25, from imap4r1.c:35: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imap4r1.c:5026:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ imap4r1.c: In function 'imap_parse_string': imap4r1.c:5067:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] st = ++*txtptr; /* remember start of string */ ^ imap4r1.c:5116:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5147:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5148:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5149:5: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c: In function 'imap_cache': imap4r1.c:5217:5: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] if (!(b = mail_body (stream,msgno,seg))) { ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imap4r1.c: In function 'imap_parse_body_structure': imap4r1.c:5294:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5295:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5313:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5334:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5335:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5344:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) ^ imap4r1.c:5345:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (body->subtype); /* parse subtype */ ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5352:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5353:25: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5355:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) { ^ imap4r1.c:5356:2: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5369:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5389:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] body->size.lines = strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5396:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c:5409:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ imap4r1.c: In function 'imap_parse_body_parameter': imap4r1.c:5457:24: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c:5463:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ imap4r1.c:5485:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ imap4r1.c: In function 'imap_parse_disposition': imap4r1.c:5509:28: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ imap4r1.c: In function 'imap_parse_language': imap4r1.c:5552:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) { ^ imap4r1.c: In function 'imap_parse_extension': imap4r1.c:5620:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (i = strtoul (*txtptr,(char **) txtptr,10)) do ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c:5625:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ imap4r1.c:5626:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] reply->line = cpystr (""); ^ imap4r1.c:5627:5: warning: pointer targets in passing argument 1 of 'mm_dlog' differ in signedness [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^ In file included from c-client.h:41:0, from imap4r1.c:38: mail.h:1620:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_dlog (char *string); ^ imap4r1.c:5632:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10); ^ In file included from osdep.h:43:0, from c-client.h:42, from imap4r1.c:38: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imap4r1.c: In function 'imap_parse_capabilities': imap4r1.c:5666:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5666:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5668:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5668:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5670:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5670:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5671:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5671:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5673:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5673:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5674:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5674:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5675:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5675:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5676:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5676:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5677:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5677:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5678:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5678:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5679:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5679:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5680:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5680:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5681:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5681:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5682:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5682:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5683:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5683:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5684:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5684:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5685:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5685:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5686:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5686:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5687:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5687:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5688:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5688:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5689:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5689:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5690:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5690:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5691:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5691:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5692:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5692:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5693:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5693:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5701:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5701:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5708:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5708:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5711:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5711:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ In file included from c-client.h:48:0, from imap4r1.c:38: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c: In function 'pop3_valid': pop3.c:180:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:180:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c: In function 'pop3_scan': pop3.c:232:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:232:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:233:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:233:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_list': pop3.c:248:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:248:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:253:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:253:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_lsub': pop3.c:279:3: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:279:3: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (s = sm_read (&sdb)) do if (pop3_valid (s) && pmatch (s,mbx)) ^ In file included from env_unix.h:61:0, from osdep.h:63, from c-client.h:42, from pop3.c:33: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c: In function 'pop3_capa': pop3.c:500:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:500:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:501:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:501:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:502:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:502:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:503:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:503:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:504:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:504:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:505:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:505:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:506:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:506:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:508:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:508:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:516:2: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:516:2: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:517:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:517:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:519:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:519:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:527:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:527:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:530:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:530:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ In file included from c-client.h:48:0, from pop3.c:33: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c: In function 'pop3_fetchfast': pop3.c:784:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:785:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c: In function 'pop3_expunge': pop3.c:948:4: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:949:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : ^ In file included from c-client.h:41:0, from pop3.c:33: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c: In function 'pop3_header': pop3.c:848:13: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (elt->private.msg.header.text.data = (unsigned char *) ^ `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c: In function 'unix_valid': unix.c:231:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ unix.c: In function 'unix_open': unix.c:468:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:468:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:480:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ unix.c:530:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^ unix.c: In function 'unix_header': unix.c:626:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:640:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c:653:3: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^ In file included from unix.c:45:0: mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ unix.c: In function 'unix_text_work': unix.c:703:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ unix.c:731:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ unix.c:734:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ unix.c: In function 'unix_ping': unix.c:788:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:789:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_expunge': unix.c:846:5: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from unix.c:45:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:847:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from unix.c:45:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:852:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^ unix.c:860:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ unix.c: In function 'unix_copy': unix.c:902:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from unix.c:45:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:903:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from unix.c:45:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:909:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:909:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:916:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:917:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:921:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:922:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:926:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:927:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:937:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:938:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:947:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:948:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:957:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from unix.c:46: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:965:6: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^ unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:966:6: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^ unix.c:131:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:967:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from unix.c:46: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:981:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1007:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_append': unix.c:1051:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1051:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1093:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from unix.c:45:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ unix.c:1037:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^ unix.c: In function 'unix_collect_msg': unix.c:1196:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ unix.c: In function 'unix_parse': unix.c:1462:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1463:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1473:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1474:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1486:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ unix.c:1495:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c:1500:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (char *) s); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1501:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1550:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1551:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1555:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] unix.c:1572:5: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1572:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ unix.c:1572:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44:0, from unix.c:46: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ unix.c:1578:9: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^ In file included from unix.c:52:0: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from unix.c:46: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] unix.c:1626:9: note: expected 'const char *' but argument is of type 'unsigned char *' unix.c:1626:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ unix.c:1633:4: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ unix.c:1663:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1668:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,prevuid + 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:1686:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:1742:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1743:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1744:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1745:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1746:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1747:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1770:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ unix.c:1796:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ unix.c: In function 'unix_rewrite': unix.c:2082:3: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2090:2: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2098:5: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] size = unix_pseudo (stream,LOCAL->buf); ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2118:7: warning: pointer targets in passing argument 2 of 'unix_pseudo' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:1962:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2118:7: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2135:8: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2149:4: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2170:9: warning: pointer targets in passing argument 2 of 'unix_xstatus' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ unix.c:1989:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2170:9: warning: pointer targets in passing argument 2 of 'unix_write' differ in signedness [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ unix.c:136:6: note: expected 'char *' but argument is of type 'unsigned char *' void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2255:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2256:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_extend': unix.c:2277:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ unix.c:2282:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:63:0, from unix.c:46: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ unix.c:2288:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2289:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'mbox_valid': unix.c:2461:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2461:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c: In function 'mbox_create': unix.c:2476:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2476:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^ In file included from unix.c:52:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c: In function 'mbox_ping': unix.c:2605:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sysinbox ()); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2606:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2618:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2619:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2626:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sysinbox (),size,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2627:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c:2644:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] size,stream->mailbox,sysinbox ()); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from unix.c:40: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ unix.c:2648:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] else MM_LOG (LOCAL->buf,WARN); ^ In file included from unix.c:45:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ unix.c: In function 'unix_open': unix.c:519:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^ unix.c: In function 'unix_header': unix.c:630:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^ unix.c:640:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ unix.c: In function 'unix_text_work': unix.c:707:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^ unix.c: In function 'unix_copy': unix.c:956:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ unix.c:982:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_append': unix.c:1152:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ unix.c: In function 'unix_rewrite': unix.c:2139:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ unix.c:2239:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ unix.c: In function 'unix_extend': unix.c:2285:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c: In function 'mbox_ping': unix.c:2611:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (sfd,s = (char *) fs_get (size + 1),size); ^ unix.c:2621:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2629:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ unix.c:2640:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (sfd,0); /* truncate sysinbox to zero bytes */ ^ `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c: In function 'mbx_isvalid': mbx.c:233:8: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_SH) || ^ mbx.c:303:7: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (tmp,tp); /* set the times */ ^ mbx.c:307:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:307:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_rename': mbx.c:506:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:506:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_open': mbx.c:587:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mbx.c:590:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:590:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c: In function 'mbx_flags': mbx.c:677:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:678:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mbx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c: In function 'mbx_header': mbx.c:706:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mbx.c:709:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_text': mbx.c:746:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mbx.c: In function 'mbx_ping': mbx.c:856:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:857:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c: In function 'mbx_expunge': mbx.c:889:4: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:890:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) { ^ In file included from mbx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:896:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:897:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:900:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:901:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c: In function 'mbx_snarf': mbx.c:940:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mbx.c:41:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:941:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:945:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fANSWERED * elt->answered) + (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:947:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:947:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:963:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:964:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c: In function 'mbx_copy': mbx.c:999:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mbx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1000:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mbx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1009:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1010:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1014:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1015:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1019:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1020:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1032:7: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date(LOCAL->buf,elt);/* build target header */ ^ In file included from mbx.c:41:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:1037:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1037:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1038:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1042:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft)),cu ? ++dstream->uid_last : 0); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1044:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1044:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) { ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1047:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = write (fd,LOCAL->buf,j) >= 0; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1058:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1059:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mbx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mbx.c:1065:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx",dstream->uid_last); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1066:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (fd,LOCAL->buf,8); ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_append': mbx.c:1123:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1123:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mbx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1165:2: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mbx.c:41:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mbx.c: In function 'mbx_parse': mbx.c:1274:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1277:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf + 15,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1281:8: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1281:8: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1281:31: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ mbx.c:1284:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) ^ In file included from osdep.h:44:0, from mbx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mbx.c:1285:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->user_flags[i] = cpystr (s); ^ In file included from mbx.c:46:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ mbx.c:1295:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1312:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1312:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1312:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mbx.c:1321:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1321:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1321:5: note: expected 'const char *' but argument is of type 'unsigned char *' mbx.c:1321:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mbx.c:1351:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1369:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((m = strtoul (t+13,NIL,16)) && ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1385:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1419:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (t,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_read_flags': mbx.c:1502:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1503:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1510:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1511:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1517:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.special.text.size,(char *) LOCAL->buf); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1518:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1522:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] i = strtoul (LOCAL->buf+9,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1531:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c: In function 'mbx_update_header': mbx.c:83:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] #define LOCAL ((MBXLOCAL *) stream->local) ^ mbx.c:1547:13: note: in expansion of macro 'LOCAL' char *s = LOCAL->buf; ^ mbx.c:1558:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1563:9: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] HDRSIZE - CYGKLUDGEOFFSET) > 0) break; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_update_status': mbx.c:1586:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1587:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1594:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1595:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1601:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.special.text.size,(char *) LOCAL->buf); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1602:7: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf+50); ^ In file included from osdep.h:65:0, from mbx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mbx.c:1607:9: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^ In file included from osdep.h:43:0, from mbx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mbx.c:1610:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft) + fOLD),elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mbx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mbx.c:1615:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_hdrpos': mbx.c:1663:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1670:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ mbx.c:1680:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ mbx.c: In function 'mbx_rewrite': mbx.c:1761:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:63:0, from mbx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mbx.c: In function 'mbx_header': mbx.c:709:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,*length); ^ mbx.c: In function 'mbx_snarf': mbx.c:965:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mbx.c: In function 'mbx_copy': mbx.c:1046:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mbx.c:1060:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mbx.c: In function 'mbx_append': mbx.c:1195:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mbx.c: In function 'mbx_parse': mbx.c:1269:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,HDRSIZE); ^ mbx.c: In function 'mbx_rewrite': mbx.c:1757:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mbx.c:1781:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c: In function 'mmdf_isvalid': mmdf.c:382:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mmdf.c: In function 'mmdf_open': mmdf.c:607:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:607:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:619:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mmdf.c:669:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->ld,LOCK_UN); /* release the lock */ ^ mmdf.c: In function 'mmdf_header': mmdf.c:765:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:779:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c:792:3: warning: pointer targets in passing argument 1 of 'mail_filter' differ in signedness [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^ In file included from mmdf.c:33:0: mail.h:1720:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:842:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ mmdf.c:870:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ mmdf.c:873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ mmdf.c: In function 'mmdf_ping': mmdf.c:927:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:928:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_expunge': mmdf.c:985:5: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mmdf.c:33:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:986:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mmdf.c:33:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:991:21: warning: unused variable 'elt' [-Wunused-variable] MESSAGECACHE *elt = mail_elt (stream,i); ^ mmdf.c:999:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1038:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mmdf.c:33:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1039:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mmdf.c:33:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1044:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1044:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1051:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1052:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1056:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1057:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1061:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1062:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1072:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1073:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1082:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1083:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1092:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from mmdf.c:34: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:1100:6: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^ mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:1101:6: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^ mmdf.c:287:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:1102:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from mmdf.c:34: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:1117:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1143:3: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_append': mmdf.c:1188:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1188:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1230:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mmdf.c:33:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mmdf.c:1173:17: warning: unused variable 'uidlocation' [-Wunused-variable] unsigned long uidlocation = 0; ^ mmdf.c: In function 'mmdf_collect_msg': mmdf.c:1332:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ mmdf.c: In function 'mmdf_parse': mmdf.c:1591:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1592:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1602:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) LOCAL->filesize,(unsigned long) sbuf.st_size); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1603:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1615:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mmdf.c:1624:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1629:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (char *) s); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1634:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1639:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1656:4: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1692:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1693:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1710:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mmdf.c:1736:5: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1736:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ mmdf.c:1736:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ In file included from osdep.h:44:0, from mmdf.c:34: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mmdf.c:1742:9: warning: pointer targets in passing argument 1 of 'compare_csizedtext' differ in signedness [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^ In file included from mmdf.c:39:0: misc.h:110:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from mmdf.c:34: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:9: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mmdf.c:1790:9: note: expected 'const char *' but argument is of type 'unsigned char *' mmdf.c:1790:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ mmdf.c:1797:4: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ mmdf.c:1827:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1832:9: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] j,prevuid + 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:1850:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (tmp,WARN); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c:1906:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1907:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1908:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1909:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1910:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1911:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^ In file included from mmdf.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1934:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (u = strpbrk (err,"\r\n")) *u = '\0'; ^ mmdf.c:1958:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c:1983:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2245:3: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2253:2: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2261:5: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] size = mmdf_pseudo (stream,LOCAL->buf); ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2281:7: warning: pointer targets in passing argument 2 of 'mmdf_pseudo' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:2125:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2281:7: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2298:8: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2312:4: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2333:9: warning: pointer targets in passing argument 2 of 'mmdf_xstatus' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ mmdf.c:2152:15: note: expected 'char *' but argument is of type 'unsigned char *' unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2333:9: warning: pointer targets in passing argument 2 of 'mmdf_write' differ in signedness [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^ mmdf.c:292:6: note: expected 'char *' but argument is of type 'unsigned char *' void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2401:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:2402:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2423:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ mmdf.c:2428:7: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^ In file included from osdep.h:63:0, from mmdf.c:34: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:2434:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mmdf.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mmdf.c:2435:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^ In file included from mmdf.c:33:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mmdf.c: In function 'mmdf_open': mmdf.c:658:17: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,i); /* make sure tied off */ ^ mmdf.c: In function 'mmdf_header': mmdf.c:769:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.header.text.size); ^ mmdf.c:779:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ mmdf.c: In function 'mmdf_text_work': mmdf.c:846:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.text.text.size); ^ mmdf.c: In function 'mmdf_copy': mmdf.c:1091:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:1118:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_append': mmdf.c:1288:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mmdf.c: In function 'mmdf_rewrite': mmdf.c:2302:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.special.text.size); ^ mmdf.c:2385:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize = size); ^ mmdf.c: In function 'mmdf_extend': mmdf.c:2431:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c: In function 'tenex_isvalid': tenex.c:206:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ tenex.c:211:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:211:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_rename': tenex.c:315:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_EX|LOCK_NB)) { ^ tenex.c:350:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:350:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_open': tenex.c:427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ tenex.c:433:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:433:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c: In function 'tenex_fast': tenex.c:500:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:501:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:511:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ tenex.c: In function 'tenex_flags': tenex.c:538:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:539:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c: In function 'tenex_header': tenex.c:564:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:574:5: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); ^ In file included from osdep.h:66:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c: In function 'tenex_text': tenex.c:609:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ tenex.c:632:2: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); ^ In file included from osdep.h:66:0, from tenex.c:47: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ tenex.c: In function 'tenex_snarf': tenex.c:774:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from tenex.c:46:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ tenex.c:775:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44:0, from tenex.c:47: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:779:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:781:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44:0, from tenex.c:47: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ tenex.c:781:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:797:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:798:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_expunge': tenex.c:833:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:834:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:895:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:913:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) pos,(unsigned long) LOCAL->filesize,delta); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:914:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:918:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:920:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_copy': tenex.c:961:3: warning: pointer targets in passing argument 2 of 'tenex_isvalid' differ in signedness [-Wpointer-sign] if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ tenex.c:176:5: note: expected 'char *' but argument is of type 'unsigned char *' int tenex_isvalid (char *name,char *tmp) ^ tenex.c:968:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:969:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:973:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:974:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:978:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:979:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:982:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from tenex.c:46:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:983:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from tenex.c:46:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:986:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:987:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c:1009:2: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:1014:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:1015:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from tenex.c:46:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ tenex.c: In function 'tenex_append': tenex.c:1072:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:1072:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^ In file included from tenex.c:49:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:1122:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from tenex.c:46:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ tenex.c: In function 'tenex_parse': tenex.c:1244:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1244:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1244:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ tenex.c:1253:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1253:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1253:5: note: expected 'const char *' but argument is of type 'unsigned char *' tenex.c:1253:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ tenex.c:1276:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c:1300:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_read_flags': tenex.c:1378:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:1379:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from tenex.c:47: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ tenex.c:1387:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:43:0, from tenex.c:47: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ tenex.c: In function 'tenex_update_status': tenex.c:1416:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from tenex.c:42: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ tenex.c:1421:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:63:0, from tenex.c:47: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ tenex.c: In function 'tenex_fast': tenex.c:516:9: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,elt->private.msg.full.text.size); ^ tenex.c: In function 'tenex_header': tenex.c:567:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length = i); ^ tenex.c:572:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_text': tenex.c:614:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,i); ^ tenex.c:629:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s,i); /* slurp the data */ ^ tenex.c: In function 'tenex_snarf': tenex.c:799:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ tenex.c: In function 'tenex_expunge': tenex.c:890:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ tenex.c:917:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ tenex.c: In function 'tenex_copy': tenex.c:1008:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ tenex.c:1016:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ tenex.c: In function 'tenex_append': tenex.c:1150:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^ tenex.c: In function 'tenex_hdrpos': tenex.c:1456:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c: In function 'mtx_isvalid': mtx.c:199:2: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mtx.c:204:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:204:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_rename': mtx.c:308:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] if (flock (fd,LOCK_EX|LOCK_NB)) { ^ mtx.c:343:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:343:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_open': mtx.c:421:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mtx.c:424:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:424:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c: In function 'mtx_flags': mtx.c:487:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:488:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mtx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c: In function 'mtx_header': mtx.c:511:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ mtx.c: In function 'mtx_text': mtx.c:546:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mtx.c: In function 'mtx_snarf': mtx.c:685:4: warning: pointer targets in passing argument 1 of 'mail_date' differ in signedness [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^ In file included from mtx.c:41:0: mail.h:1708:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_date (char *string,MESSAGECACHE *elt); ^ mtx.c:686:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^ In file included from osdep.h:44:0, from mtx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:690:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:692:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:44:0, from mtx.c:42: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mtx.c:692:4: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:708:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:709:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_expunge': mtx.c:744:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:745:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mtx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:806:8: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:823:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (unsigned long) pos,(unsigned long) LOCAL->filesize,delta); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:824:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:828:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:830:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_copy': mtx.c:871:3: warning: pointer targets in passing argument 2 of 'mtx_isvalid' differ in signedness [-Wpointer-sign] if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^ mtx.c:169:5: note: expected 'char *' but argument is of type 'unsigned char *' int mtx_isvalid (char *name,char *tmp) ^ mtx.c:878:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:879:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:883:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:884:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:888:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:889:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:892:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mtx.c:41:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:893:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^ In file included from mtx.c:41:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:896:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:897:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c:919:2: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:924:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:925:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mtx.c:41:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mtx.c: In function 'mtx_append': mtx.c:982:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:982:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^ In file included from mtx.c:46:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:1032:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mtx.c:41:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtx.c: In function 'mtx_parse': mtx.c:1132:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1132:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1132:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ mtx.c:1141:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1141:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1141:5: note: expected 'const char *' but argument is of type 'unsigned char *' mtx.c:1141:47: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ mtx.c:1164:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c:1188:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_read_flags': mtx.c:1266:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:1267:5: warning: pointer targets in passing argument 1 of 'fatal' differ in signedness [-Wpointer-sign] fatal (LOCAL->buf); ^ In file included from osdep.h:65:0, from mtx.c:42: ftl.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void fatal (char *string); ^ mtx.c:1275:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^ In file included from osdep.h:43:0, from mtx.c:42: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ mtx.c: In function 'mtx_update_status': mtx.c:1304:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (fDRAFT * elt->draft))); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtx.c:37: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mtx.c:1309:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^ In file included from osdep.h:63:0, from mtx.c:42: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mtx.c: In function 'mtx_header': mtx.c:515:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,*length); ^ mtx.c: In function 'mtx_snarf': mtx.c:710:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,sbuf.st_size); ^ mtx.c: In function 'mtx_expunge': mtx.c:801:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,m); ^ mtx.c:827:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,LOCAL->filesize); ^ mtx.c: In function 'mtx_copy': mtx.c:918:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,LOCAL->buf,j); ^ mtx.c:926:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size); ^ mtx.c: In function 'mtx_append': mtx.c:1053:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,sbuf.st_size);/* revert file */ ^ `cat CCTYPE` -c `cat CFLAGS` news.c news.c: In function 'news_list': news.c:237:7: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:237:7: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:240:2: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:240:2: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^ In file included from env_unix.h:61:0, from osdep.h:63, from news.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c: In function 'news_canonicalize': news.c:286:34: warning: value computed is not used [-Wunused-value] for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ news.c: In function 'news_open': news.c:370:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ news.c:370:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nmsgs = scandir (tmp,&names,news_select,news_numsort)) >= 0) { ^ In file included from osdep.h:47:0, from news.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ news.c: In function 'news_fast': news.c:456:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from news.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:457:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from news.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c: In function 'news_flags': news.c:474:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from news.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:474:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^ In file included from news.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c: In function 'news_load_message': news.c:495:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from news.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ news.c:500:7: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from news.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ news.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ news.c: In function 'news_valid': news.c:161:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,t = s = (char *) fs_get (sbuf.st_size+1),sbuf.st_size); ^ news.c: In function 'news_list': news.c:228:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,s = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ `cat CCTYPE` -c `cat CFLAGS` phile.c phile.c: In function 'phile_open': phile.c:305:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ phile.c:327:7: warning: pointer targets in passing argument 3 of 'strcrlfcpy' differ in signedness [-Wpointer-sign] buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); ^ In file included from osdep.h:66:0, from phile.c:36: nl.h:32:15: note: expected 'unsigned char *' but argument is of type 'char *' unsigned long strcrlfcpy (unsigned char **dst,unsigned long *dstl, ^ phile.c:317:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,buf->data = (unsigned char *) fs_get (buf->size + 1),buf->size); ^ `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c: In function 'mh_isvalid': mh.c:193:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:193:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:194:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:194:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:198:7: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:198:7: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_path': mh.c:259:4: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:259:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_scan': mh.c:377:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:377:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_lsub': mh.c:406:5: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:406:5: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c: In function 'mh_list_work': mh.c:438:4: warning: pointer targets in passing argument 1 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:438:4: warning: pointer targets in passing argument 2 of 'pmatch_full' differ in signedness [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:29:6: note: expected 'unsigned char *' but argument is of type 'char *' long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:440:4: warning: pointer targets in passing argument 1 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:440:4: warning: pointer targets in passing argument 2 of 'dmatch' differ in signedness [-Wpointer-sign] if (dmatch (name,pat,'/') && ^ In file included from env_unix.h:61:0, from osdep.h:63, from mh.c:35: env.h:30:6: note: expected 'unsigned char *' but argument is of type 'char *' long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c: In function 'mh_open': mh.c:590:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:590:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:595:6: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:595:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_fast': mh.c:641:6: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:642:6: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mh.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c: In function 'mh_load_message': mh.c:665:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:670:7: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mh.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:674:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_ping': mh.c:865:5: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mh.c:865:5: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (LOCAL->dir,&names,mh_select,mh_numsort); ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mh.c:902:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:906:5: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] (long) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mh.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:929:4: warning: pointer targets in passing argument 1 of 'mh_setdate' differ in signedness [-Wpointer-sign] mh_setdate (LOCAL->buf,elt); ^ mh.c:110:6: note: expected 'char *' but argument is of type 'unsigned char *' void mh_setdate (char *file,MESSAGECACHE *elt); ^ mh.c:937:6: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:45:0, from mh.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:940:6: warning: too many arguments for format [-Wformat-extra-args] s,strerror (errno)); ^ mh.c: In function 'mh_expunge': mh.c:984:4: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:985:4: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) { ^ In file included from mh.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:990:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:991:2: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:45:0, from mh.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mh.c:993:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:994:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mh.c:1012:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:1013:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^ In file included from mh.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mh.c: In function 'mh_copy': mh.c:1044:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mh.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1045:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) ^ In file included from mh.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1048:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mh.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mh.c:1049:2: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mh.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mh.c:1061:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mh.c: In function 'mh_append': mh.c:1109:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1109:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1110:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1110:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1131:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mh.c:1131:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (tmp,&names,mh_select,mh_numsort)) > 0) { ^ In file included from osdep.h:47:0, from mh.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mh.c:1149:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^ In file included from mh.c:34:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mh.c:1102:10: warning: variable 'size' set but not used [-Wunused-but-set-variable] long i,size,last,nfiles; ^ mh.c: In function 'mh_file': mh.c:1231:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1231:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1231:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1231:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^ In file included from mh.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c: In function 'mh_canonicalize': mh.c:1264:34: warning: value computed is not used [-Wunused-value] for (i = 0, s = pattern; *s; *s++) if ((*s == '*') || (*s == '%')) ++i; ^ mh.c: In function 'mh_setdate': mh.c:1282:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mh.c: In function 'mh_path': mh.c:251:12: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,(t = (char *) fs_get (sbuf.st_size + 1)),sbuf.st_size); ^ `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c: In function 'mx_isvalid': mx.c:186:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:186:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c: In function 'mx_scan_contents': mx.c:277:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:277:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mx_select,mx_numsort)) > 0) ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c: In function 'mx_create': mx.c:348:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ mx.c: In function 'mx_rename': mx.c:439:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:439:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:462:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:462:7: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c: In function 'mx_open': mx.c:518:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:518:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:524:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mx.c: In function 'mx_fast': mx.c:573:7: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:574:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) ^ In file included from mx.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c: In function 'mx_fast_work': mx.c:591:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:593:3: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mx.c: In function 'mx_header': mx.c:633:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ mx.c:648:5: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^ In file included from mx.c:39:0: misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c:649:5: warning: pointer targets in passing argument 2 of 'cpytxt' differ in signedness [-Wpointer-sign] cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^ In file included from mx.c:39:0: misc.h:89:7: note: expected 'char *' but argument is of type 'unsigned char *' char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c: In function 'mx_ping': mx.c:731:5: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mx.c:731:5: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mx_select,mx_numsort); ^ In file included from osdep.h:47:0, from mx.c:35: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mx.c:767:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:771:5: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] (long) mail_parameters (NIL,GET_MBXPROTECTION,NIL))) ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mx.c:35: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mx.c:794:4: warning: pointer targets in passing argument 1 of 'mx_setdate' differ in signedness [-Wpointer-sign] mx_setdate (LOCAL->buf,elt); ^ mx.c:106:6: note: expected 'char *' but argument is of type 'unsigned char *' void mx_setdate (char *file,MESSAGECACHE *elt); ^ mx.c:801:6: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^ In file included from osdep.h:45:0, from mx.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:804:6: warning: too many arguments for format [-Wformat-extra-args] s,strerror (errno)); ^ mx.c: In function 'mx_expunge': mx.c:848:5: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:849:5: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^ In file included from mx.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:855:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:856:2: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^ In file included from osdep.h:45:0, from mx.c:35: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mx.c:858:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:859:4: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mx.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c:875:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:876:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^ In file included from mx.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c: In function 'mx_copy': mx.c:913:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mx.c:30: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mx.c:914:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mx.c:34:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mx.c:921:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mx.c:34:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:922:9: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^ In file included from mx.c:34:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:944:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mx.c:904:21: warning: variable 'uid' set but not used [-Wunused-but-set-variable] unsigned long i,j,uid,uidv; ^ mx.c: In function 'mx_append': mx.c:1003:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:1003:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^ In file included from mx.c:39:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:1038:7: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^ In file included from mx.c:34:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mx.c: In function 'mx_lockindex': mx.c:1173:5: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] flock (LOCAL->fd,LOCK_EX); /* get exclusive lock */ ^ mx.c: In function 'mx_setdate': mx.c:1286:3: warning: implicit declaration of function 'utime' [-Wimplicit-function-declaration] utime (file,tp); /* set the times */ ^ mx.c: In function 'mx_header': mx.c:636:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (fd,LOCAL->buf,elt->rfc822_size); ^ mx.c: In function 'mx_lockindex': mx.c:1177:10: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read (LOCAL->fd,s = idx = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size); ^ mx.c: In function 'mx_unlockindex': mx.c:1269:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->fd,size); ^ `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c: In function 'mix_scan_contents': mix.c:324:3: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mix.c:324:3: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] if ((nfiles = scandir (name,&names,mix_select,mix_msgfsort)) > 0) ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mix.c: In function 'mix_create': mix.c:420:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] fprintf (f,MTAFMT,now,0,now); ^ mix.c: In function 'mix_delete': mix.c:471:3: warning: implicit declaration of function 'safe_flock' [-Wimplicit-function-declaration] else if (((fd = open (tmp,O_RDWR,NIL)) < 0) || flock (fd,LOCK_EX|LOCK_NB)) ^ mix.c: In function 'mix_rename': mix.c:529:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:529:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:556:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] for (i = lasterror = 0,n = scandir (tmp,&names,mix_rselect,alphasort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mix.c: In function 'mix_open': mix.c:608:3: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:608:3: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:610:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ mix.c:613:3: warning: pointer targets in passing argument 1 of 'mix_dir' differ in signedness [-Wpointer-sign] mix_dir (LOCAL->buf,stream->mailbox); ^ mix.c:165:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_dir (char *dst,char *name); ^ mix.c:615:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] stream->mailbox = cpystr (LOCAL->buf); ^ In file included from mix.c:37:0: misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ mix.c:618:4: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:621:4: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:629:5: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:630:5: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c:632:7: warning: pointer targets in passing argument 1 of 'mix_file' differ in signedness [-Wpointer-sign] MIXSORTCACHE)); ^ mix.c:166:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file (char *dst,char *dir,char *name); ^ mix.c: In function 'mix_header': mix.c:721:11: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:732:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); ^ mix.c:737:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^ mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:737:7: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:737:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:754:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from osdep.h:44, from mix.c:33: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ mix.c:754:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ In file included from /usr/include/string.h:631:0, from osdep.h:44, from mix.c:33: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (s = strpbrk (LOCAL->buf,"\015\012")) *s = '\0'; ^ mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:754:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] mix.c:754:5: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:711:7: warning: unused variable 'fd' [-Wunused-variable] int fd; ^ mix.c: In function 'mix_text': mix.c:784:11: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:807:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ mix.c:774:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i; ^ mix.c: In function 'mix_flag': mix.c:832:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mix.c:32:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:833:8: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)) && ^ In file included from mix.c:32:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c: In function 'mix_ping': mix.c:975:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:976:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:929:15: warning: unused variable 'sfd' [-Wunused-variable] int mfd,ifd,sfd; ^ mix.c:929:11: warning: unused variable 'ifd' [-Wunused-variable] int mfd,ifd,sfd; ^ mix.c:929:7: warning: unused variable 'mfd' [-Wunused-variable] int mfd,ifd,sfd; ^ mix.c: In function 'mix_expunge': mix.c:1035:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^ In file included from mix.c:32:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1036:3: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence))) || stream->rdonly); ^ In file included from mix.c:32:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1054:7: warning: passing argument 3 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent *)' but argument is of type 'int (*)(struct dirent *)' extern int scandir (const char *__restrict __dir, ^ mix.c:1054:7: warning: passing argument 4 of 'scandir' from incompatible pointer type [enabled by default] long nfiles = scandir (stream->mailbox,&names,mix_select,mix_msgfsort); ^ In file included from osdep.h:47:0, from mix.c:33: /usr/include/dirent.h:254:12: note: expected 'int (*)(const struct dirent **, const struct dirent **)' but argument is of type 'int (*)(const void *, const void *)' extern int scandir (const char *__restrict __dir, ^ mix.c:1088:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] elt->private.spare.data); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1089:6: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1098:6: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1100:9: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^ In file included from osdep.h:45:0, from mix.c:33: /usr/include/unistd.h:1015:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^ mix.c:1100:9: warning: pointer targets in passing argument 1 of 'unlink' differ in signedness [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^ In file included from osdep.h:45:0, from mix.c:33: /usr/include/unistd.h:848:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int unlink (const char *__name) __THROW __nonnull ((1)); ^ mix.c:1103:10: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] cur->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1104:8: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1131:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); ^ mix.c:1133:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^ mix.c:1026:11: warning: unused variable 'sfd' [-Wunused-variable] int ifd,sfd; ^ mix.c:1026:7: warning: unused variable 'ifd' [-Wunused-variable] int ifd,sfd; ^ mix.c: In function 'mix_burp': mix.c:1223:3: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1227:5: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign] if (stat (LOCAL->buf,&sbuf)) { ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/sys/stat.h:453:1: note: expected 'const char *' but argument is of type 'unsigned char *' __NTH (stat (const char *__path, struct stat *__statbuf)) ^ mix.c:1228:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1229:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1232:5: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^ mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^ mix.c:1236:7: warning: pointer targets in passing argument 1 of 'truncate' differ in signedness [-Wpointer-sign] else if (ret = !truncate (LOCAL->buf,burp->set.last)) ^ In file included from osdep.h:45:0, from mix.c:33: /usr/include/unistd.h:1015:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int truncate (const char *__file, __off_t __length) ^ mix.c:1239:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1240:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1245:3: warning: pointer targets in passing argument 1 of 'open' differ in signedness [-Wpointer-sign] else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || ^ In file included from /usr/include/fcntl.h:279:0, from osdep.h:49, from mix.c:33: /usr/include/arm-linux-gnueabihf/bits/fcntl2.h:41:1: note: expected 'const char *' but argument is of type 'unsigned char *' open (const char *__path, int __oflag, ...) ^ mix.c:1248:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1249:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1253:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1254:5: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1259:3: warning: pointer targets in passing argument 3 of 'mix_burp_check' differ in signedness [-Wpointer-sign] else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^ mix.c:147:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^ mix.c:1264:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^ mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] mix.c:1264:4: note: expected 'const char *' but argument is of type 'unsigned char *' mix.c:1264:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ mix.c:1266:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] set->first); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1267:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1307:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1308:7: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:1219:9: warning: variable 's' set but not used [-Wunused-but-set-variable] void *s; ^ mix.c: In function 'mix_burp_check': mix.c:1337:7: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' [-Wformat=] file,size,set->last); ^ mix.c: In function 'mix_copy': mix.c:1357:3: warning: pointer targets in passing argument 2 of 'mix_isvalid' differ in signedness [-Wpointer-sign] long ret = mix_isvalid (mailbox,LOCAL->buf); ^ mix.c:236:6: note: expected 'char *' but argument is of type 'unsigned char *' long mix_isvalid (char *name,char *meta) ^ mix.c:1375:3: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^ In file included from mix.c:32:0: mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1376:7: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_sequence (stream,sequence)))); ^ In file included from mix.c:32:0: mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1393:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ mix.c:1393:5: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] mix.c:1394:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1403:5: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if (msgf = mix_data_open (astream,&fd,&size,newsize)) { ^ mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^ mix.c:1417:12: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] elt->private.spare.data), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1427:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] d.chunk = LOCAL->buf; ^ mix.c:1405:23: warning: variable 'uid' set but not used [-Wunused-but-set-variable] unsigned long j,uid,uidv; ^ mix.c: In function 'mix_append': mix.c:1519:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret = compare_cstring (mailbox,"INBOX") ? ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:1519:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (ret = compare_cstring (mailbox,"INBOX") ? ^ In file included from mix.c:37:0: misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:1550:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] sprintf (local->buf,MSRFMT,MSGTOK,0,0,0,0,0,0,0,'+',0,0,0); ^ mix.c:1550:7: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] mix.c:1551:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] hdrsize = strlen (local->buf); ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:1555:7: warning: pointer targets in passing argument 3 of 'mix_data_open' differ in signedness [-Wpointer-sign] if (msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) { ^ mix.c:159:7: note: expected 'long int *' but argument is of type 'long unsigned int *' FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^ mix.c:1563:4: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^ In file included from mix.c:32:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c:1570:8: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&elt,tmp); ^ In file included from mix.c:32:0: mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c: In function 'mix_append_msg': mix.c:1632:26: warning: unused variable 'hoff' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^ mix.c:1632:17: warning: unused variable 'i' [-Wunused-variable] unsigned long i,j,k,uf,hoff; ^ mix.c: In function 'mix_parse': mix.c:1823:7: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && ^ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:1960:10: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] curfile = file),&sbuf)) { ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2043:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] i,LOCAL->statusseq); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:2044:2: warning: pointer targets in passing argument 1 of 'mm_log' differ in signedness [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^ In file included from mix.c:32:0: mail.h:1619:6: note: expected 'char *' but argument is of type 'unsigned char *' void mm_log (char *string,long errflg); ^ mix.c:2055:9: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] "status")) && *s && (*s++ == ':') && ^ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c: In function 'mix_meta_slurp': mix.c:2150:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ mix.c:2155:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) ^ mix.c: In function 'mix_meta_update': mix.c:2190:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:2191:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:2192:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] stream->uid_validity,stream->uid_last,LOCAL->newmsg); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mix.c:28: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ mix.c:2193:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); ^ In file included from osdep.h:44:0, from mix.c:33: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ mix.c:2194:26: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { ^ mix.c:2208:5: warning: pointer targets in passing argument 2 of 'safe_write' differ in signedness [-Wpointer-sign] ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; ^ In file included from osdep.h:63:0, from mix.c:33: env_unix.h:89:6: note: expected 'char *' but argument is of type 'unsigned char *' long safe_write (int fd,char *buf,long nbytes); ^ mix.c: In function 'mix_index_update': mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] sprintf (tmp,IXRFMT,0,14,4,4,13,0,0,'+',0,0,0,0,0,0,0); ^ mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 13 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 14 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 15 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 16 has type 'int' [-Wformat=] mix.c:2237:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 17 has type 'int' [-Wformat=] mix.c: In function 'mix_status_update': mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'int' [-Wformat=] sprintf (tmp,STRFMT,0,0,0,0); ^ mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 4 has type 'int' [-Wformat=] mix.c:2318:2: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'int' [-Wformat=] mix.c: In function 'mix_data_open': mix.c:2400:3: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2417:7: warning: pointer targets in passing argument 1 of 'mix_file_data' differ in signedness [-Wpointer-sign] LOCAL->newmsg = mix_modseq (LOCAL->newmsg)), ^ mix.c:167:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c: In function 'mix_sortcache_open': mix.c:2467:10: warning: pointer targets in passing argument 2 of 'mix_read_record' differ in signedness [-Wpointer-sign] "sortcache")) && *s && ^ mix.c:163:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:2565:21: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] LOCAL->buf = (char *) ^ mix.c:2577:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = LOCAL->buf,sl = NIL, ^ mix.c:2585:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] sl->text.data = cpystr (s); ^ mix.c: In function 'mix_sortcache_update': mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 5 has type 'size_t' [-Wformat=] s->message_id ? strlen (s->message_id) + 1 : 0,j); ^ mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 6 has type 'size_t' [-Wformat=] mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 7 has type 'size_t' [-Wformat=] mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 9 has type 'size_t' [-Wformat=] mix.c:2676:4: warning: format '%lx' expects argument of type 'long unsigned int', but argument 10 has type 'size_t' [-Wformat=] mix.c: In function 'mix_copy': mix.c:1477:12: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert file */ ^ mix.c: In function 'mix_append': mix.c:1594:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fd,size); /* revert all writes to file*/ ^ mix.c: In function 'mix_meta_update': mix.c:2209:15: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (LOCAL->mfd,i); /* and tie off at that point */ ^ mix.c: In function 'mix_index_update': mix.c:2255:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (idxf),sbuf.st_size); ^ mix.c:2288:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (idxf),ftell (idxf)); ^ mix.c: In function 'mix_status_update': mix.c:2335:14: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] ftruncate (fileno (statf),sbuf.st_size); ^ mix.c:2369:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (statf),ftell (statf)); ^ mix.c: In function 'mix_sortcache_update': mix.c:2697:26: warning: ignoring return value of 'ftruncate', declared with attribute warn_unused_result [-Wunused-result] if (ret) ftruncate (fileno (f),ftell (f)); ^ mix.c: In function 'mix_sortcache_open': mix.c:2640:15: warning: 'fd' may be used uninitialized in this function [-Wmaybe-uninitialized] else fchmod (fd,sbuf.st_mode); ^ sh -c 'rm -rf libc-client.so || true' gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so osdep.o: In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:335: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' echo lnps > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Building bundled tools... cd mtest;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/mtest' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mtest.o mtest.c mtest.c: In function 'main': mtest.c:124:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (tmp); ^ In file included from ../c-client/c-client.h:48:0, from mtest.c:39: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mtest.c: In function 'mm': mtest.c:168:5: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (cmd)) { /* dispatch based on command */ ^ In file included from ../c-client/c-client.h:48:0, from mtest.c:39: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mtest.c:204:13: warning: the address of 'parms' will always evaluate as 'true' [-Waddress] if (parms) { ^ mtest.c: In function 'overview_header': mtest.c:402:5: warning: pointer targets in passing argument 2 of 'mail_parse_date' differ in signedness [-Wpointer-sign] mail_parse_date (&selt,ov->date); ^ In file included from ../c-client/c-client.h:41:0, from mtest.c:39: ../c-client/mail.h:1710:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtest.c: In function 'prompt': mtest.c:622:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations] gets (txt); ^ mtest.c: In function 'smtptest': mtest.c:818:3: warning: 'gets' is deprecated (declared at /usr/include/arm-linux-gnueabihf/bits/stdio2.h:233) [-Wdeprecated-declarations] while (gets (line)) { ^ mtest.c:829:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] msg->date = (char *) fs_get (1+strlen (line)); ^ mtest.c:830:3: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (msg->date,line); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from mtest.c:36: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mtest.c: In function 'prompt': mtest.c:622:8: warning: ignoring return value of 'gets', declared with attribute warn_unused_result [-Wunused-result] gets (txt); ^ mtest.c: In function 'mm_login': mtest.c:744:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (user,NETMAXUSER-1,stdin); ^ In file included from /usr/include/stdio.h:937:0, from mtest.c:36: In function 'gets', inlined from 'prompt' at mtest.c:622:8: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:237:3: warning: call to '__gets_warn' declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mtest mtest.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` mtest.o: In function `gets': /usr/include/arm-linux-gnueabihf/bits/stdio2.h:237: warning: the `gets' function is dangerous and should not be used. /usr/include/arm-linux-gnueabihf/bits/stdio2.h:236: warning: the `gets' function is dangerous and should not be used. make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/mtest' cd ipopd;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/ipopd' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so osdep.o: In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:335: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so osdep.o: In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:335: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop2d.o ipop2d.c ipop2d.c: In function 'main': ipop2d.c:149:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:48:0, from ipop2d.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ ipop2d.c: In function 'c_fold': ipop2d.c:333:10: warning: unused variable 'mb' [-Wunused-variable] NETMBX mb; ^ ipop2d.c:332:9: warning: unused variable 's' [-Wunused-variable] char *s = NIL,tmp[2*TMPLEN]; ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop2d ipop2d.o `cat ../c-client/LDFLAGS` `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o ipop3d.o ipop3d.c ipop3d.c: In function 'main': ipop3d.c:129:5: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next; ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ ipop3d.c:129:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] while (auth && compare_cstring (auth->name,"CRAM-MD5")) auth = auth->next; ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ ipop3d.c:186:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] ucase (s); /* canonicalize case */ ^ In file included from ../c-client/c-client.h:48:0, from ipop3d.c:35: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ ipop3d.c: In function 'pass_login': ipop3d.c:654:8: warning: unused variable 'tmp' [-Wunused-variable] char tmp[MAILTMPLEN]; ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o ipop3d ipop3d.o `cat ../c-client/LDFLAGS` make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/ipopd' cd imapd;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/imapd' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so osdep.o: In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:335: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' cd ../c-client;make make[4]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make all `cat SPECIALS` make[5]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/c-client' sh -c 'rm -rf c-client.a || true' gcc --shared -Wl,-soname,libc-client.so.2007e -o libc-client.so 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 -lpam -ldl -Wl,-Bsymbolic-functions -Wl,-z,relro -L/usr/lib -lssl -lcrypto -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err;true libc-client.so osdep.o: In function `ssl_onceonlyinit': /build/buildd/uw-imap-2007f~dfsg/c-client/osdep.c:335: warning: the use of `tmpnam' is dangerous, better use `mkstemp' make[5]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' make[4]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/c-client' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -c -o imapd.o imapd.c imapd.c: In function 'main': imapd.c:302:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:302:41: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (((s = strrchr (argv[0],'/')) || (s = strrchr (argv[0],'\\'))) ? ^ imapd.c:307:3: warning: pointer targets in passing argument 1 of 'rfc822_date' differ in signedness [-Wpointer-sign] rfc822_date (tmp); /* get date/time at startup */ ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:32:6: note: expected 'char *' but argument is of type 'unsigned char *' void rfc822_date (char *date); ^ imapd.c:327:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (proxy,'\n')) *s = '\0'; ^ imapd.c:334:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = myusername_full (&i); /* get user name and flags */ ^ imapd.c:342:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = "ANONYMOUS"; ^ imapd.c:346:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:346:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr (s); /* copy user name */ ^ imapd.c:347:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); /* set fake password */ ^ imapd.c:356:7: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:370:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:392:5: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (cmdbuf,CMDLEN,TIMEOUT); ^ imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^ imapd.c:399:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (cmdbuf,'\012')) { ^ imapd.c:399:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:400:7: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:400:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:400:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (cmdbuf,' ')) *t = '\0'; ^ imapd.c:406:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,t ? (char *) cmdbuf : "*"); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:407:7: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:409:5: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] else if (!(tag = strtok (cmdbuf," \015\012"))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:416:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!(s = strtok (NIL," \015\012"))) { ^ imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID") && strtok (NIL," \015\012")) { ^ imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:428:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:428:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:436:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] cmd = cpystr (s); /* save current command */ ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:436:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd = cpystr (s); /* save current command */ ^ imapd.c:438:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && ^ imapd.c:438:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if ((arg = strtok (NIL,"\015\012")) && ((i = strlen (arg)) > 3) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:444:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (arg + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"NOOP")) { ^ imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:449:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:449:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGOUT")) { ^ imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:454:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:454:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CAPABILITY")) { ^ imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:466:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:466:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"AUTHENTICATE")) { ^ imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:488:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:488:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (ucase (s),"ANONYMOUS") && !stat (ANOFILE,&sbuf)) { ^ imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:498:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:498:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:499:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = imap_responder ("",0,NIL))) ^ imapd.c:503:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] user = cpystr ("ANONYMOUS"); ^ imapd.c:504:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:514:4: warning: pointer targets in passing argument 1 of 'mail_auth' differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1822:7: note: expected 'char *' but argument is of type 'unsigned char *' char *mail_auth (char *mechanism,authresponse_t resp,int argc,char *argv[]); ^ imapd.c:514:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (user = cpystr (mail_auth (s,imap_responder,argc,argv))) { ^ imapd.c:515:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] pass = cpystr ("*"); ^ imapd.c:525:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:525:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] char *msg = (char *) fs_get (strlen (cmd) + strlen (s) + 2); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:528:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] cmd = msg; ^ imapd.c:530:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] auth && compare_cstring (s,auth->name); auth = auth->next); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LOGIN")) { ^ imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:555:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:555:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:559:4: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:559:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!((user = cpystr (snarf (&arg))) && ^ imapd.c:560:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:560:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (pass = cpystr (snarf (&arg))))) response = misarg; ^ imapd.c:563:4: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (user,"ANONYMOUS") && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:574:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:574:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:574:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strchr (user,'*')) *s++ ='\0'; ^ imapd.c:576:6: warning: pointer targets in passing argument 1 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:576:6: warning: pointer targets in passing argument 2 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:576:6: warning: pointer targets in passing argument 3 of 'server_login' differ in signedness [-Wpointer-sign] if (server_login (user,pass,s,argc,argv)) { ^ In file included from ../c-client/env_unix.h:61:0, from ../c-client/osdep.h:63, from ../c-client/c-client.h:42, from imapd.c:36: ../c-client/env.h:39:6: note: expected 'char *' but argument is of type 'unsigned char *' long server_login (char *user,char *pass,char *authuser,int argc,char *argv[]); ^ imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STARTTLS")) { ^ imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:590:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:590:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FETCH") || !strcmp (cmd,"UID FETCH")) { ^ imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:599:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:599:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:600:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:600:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:600:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (t = strtok(NIL,"\015\012")))) ^ imapd.c:603:6: warning: pointer targets in passing argument 1 of 'fetch' differ in signedness [-Wpointer-sign] mail_sequence (stream,s)) fetch (t,uid); ^ imapd.c:148:6: note: expected 'char *' but argument is of type 'unsigned char *' void fetch (char *t,unsigned long uid); ^ imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STORE") || !strcmp (cmd,"UID STORE")) { ^ imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:607:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:607:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:609:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:609:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:609:46: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (v = strtok (NIL," ")) && ^ imapd.c:610:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strtok (NIL,"\015\012")))) response = misarg; ^ imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (v),"FLAGS") || !strcmp (v,"FLAGS.SILENT")) { ^ imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:615:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:615:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:616:8: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (tmp,"\\Answered \\Flagged \\Deleted \\Draft \\Seen"); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:618:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (i < NUSERFLAGS) && (v = stream->user_flags[i]); i++) ^ imapd.c:619:10: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (strlen (v) < ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:620:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] ((size_t) (MAILTMPLEN - ((u += strlen (u)) + 2 - tmp)))) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:622:5: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:622:5: warning: pointer targets in passing argument 2 of 'strcpy' differ in signedness [-Wpointer-sign] strcpy (u,v); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:102:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:624:8: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:624:8: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,tmp,f & ~ST_SET); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (v,"-FLAGS") || !strcmp (v,"-FLAGS.SILENT")) ^ imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:626:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:626:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (strcmp (v,"+FLAGS") && strcmp (v,"+FLAGS.SILENT")) { ^ imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:628:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:628:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:634:6: warning: pointer targets in passing argument 2 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:634:6: warning: pointer targets in passing argument 3 of 'mail_flag' differ in signedness [-Wpointer-sign] mail_flag (stream,s,t,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1688:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_flag (MAILSTREAM *stream,char *sequence,char *flag,long flags); ^ imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CHECK")) { ^ imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:645:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:645:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || (strcmp (cmd,"EXPUNGE") && ^ imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:655:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:655:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"UID EXPUNGE")))) { ^ imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:656:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:656:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:660:6: warning: pointer targets in passing argument 2 of 'mail_expunge_full' differ in signedness [-Wpointer-sign] mail_expunge_full (stream,arg,arg ? EX_UID : NIL); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1695:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_expunge_full (MAILSTREAM *stream,char *sequence,long options); ^ imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"CLOSE") || !strcmp (cmd,"UNSELECT")) { ^ imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:666:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:666:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (!strcmp (cmd,"COPY") || !strcmp (cmd,"UID COPY"))) { ^ imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:682:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:682:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:684:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:684:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:684:48: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (arg = strtok(NIL,"\015\012")) ^ imapd.c:694:4: warning: pointer targets in passing argument 2 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:694:4: warning: pointer targets in passing argument 3 of 'mail_copy_full' differ in signedness [-Wpointer-sign] else if (!mail_copy_full (stream,s,t,uid ? CP_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1696:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_copy_full (MAILSTREAM *stream,char *sequence,char *mailbox, ^ imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SORT") || !strcmp (cmd,"UID SORT")) { ^ imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:701:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:701:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:703:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:703:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:703:37: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (*arg == '(') && (t = strchr (s = arg + 1,')')) && ^ imapd.c:711:6: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:711:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok (ucase (s)," "))) response = badatt; ^ imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"REVERSE")) { ^ imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:716:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:716:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:718:13: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(s = strtok (NIL," "))) { ^ imapd.c:719:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] s = ""; /* end of attributes */ ^ imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"DATE")) pg->function = SORTDATE; ^ imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:723:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:723:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ARRIVAL")) pg->function = SORTARRIVAL; ^ imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:724:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:724:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FROM")) pg->function = SORTFROM; ^ imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:725:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:725:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SUBJECT")) pg->function = SORTSUBJECT; ^ imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:726:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:726:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"TO")) pg->function = SORTTO; ^ imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:727:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:727:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"CC")) pg->function = SORTCC; ^ imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:728:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:728:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"SIZE")) pg->function = SORTSIZE; ^ imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:729:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:729:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:731:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (s = strtok (NIL," ")); ^ imapd.c:735:8: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] else if (!((t = snarf (&arg)) && (cs = cpystr (t)) && arg && ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"THREAD") || !strcmp (cmd,"UID THREAD")) { ^ imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:758:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:758:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:763:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:763:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," ")) && (cs = strtok (NIL," ")) && ^ imapd.c:764:30: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (cs = cpystr (cs)) && (arg = strtok (NIL,"\015\012")))) ^ imapd.c:770:6: warning: pointer targets in passing argument 2 of 'mail_thread' differ in signedness [-Wpointer-sign] if (thr = mail_thread (stream,s,cs,spg,uid ? SE_UID : NIL)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1756:13: note: expected 'char *' but argument is of type 'unsigned char *' THREADNODE *mail_thread (MAILSTREAM *stream,char *type,char *charset, ^ imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SEARCH") || !strcmp (cmd,"UID SEARCH")) { ^ imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:783:9: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:783:9: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:848:6: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s = snarf (&arg)) charset = cpystr (s); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!(strcmp (cmd,"SELECT") && strcmp (cmd,"EXAMINE") && ^ imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:938:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:938:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] strcmp (cmd,"BBOARD"))) { ^ imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:939:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:939:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:943:4: warning: pointer targets in passing argument 1 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^ imapd.c:943:4: warning: pointer targets in passing argument 2 of 'bboardname' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:192:7: note: expected 'char *' but argument is of type 'unsigned char *' char *bboardname (char *cmd,char *name); ^ imapd.c:943:27: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:943:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s = bboardname (cmd,s))) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1087:23: warning: pointer targets in passing argument 2 of 'mail_valid' differ in signedness [-Wpointer-sign] #define DRIVER struct driver ^ imapd.c:944:6: note: in expansion of macro 'DRIVER' DRIVER *factory = mail_valid (NIL,s,NIL); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1632:9: note: expected 'char *' but argument is of type 'unsigned char *' DRIVER *mail_valid (MAILSTREAM *stream,char *mailbox,char *purpose); ^ imapd.c:955:3: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] (stream = mail_open (stream,s,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:961:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = mail_fetch_text (stream,1,NIL,&i,NIL)) && ^ imapd.c:964:3: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:964:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (tmp,t,i)[i] = '\0'; ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:3: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:966:3: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:3: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:966:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:966:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strpbrk (tmp,"\r\n")) *t = '\0'; ^ imapd.c:968:3: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] if ((tstream = mail_open (NIL,tmp,f | OP_SILENT)) && ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:980:6: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (!factory && isnewsproxy (s)) { ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:981:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:982:8: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] stream = mail_open (stream,tmp,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:985:6: warning: pointer targets in passing argument 2 of 'mail_open' differ in signedness [-Wpointer-sign] else stream = mail_open (stream,s,f); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1647:13: note: expected 'char *' but argument is of type 'unsigned char *' MAILSTREAM *mail_open (MAILSTREAM *stream,char *name,long options); ^ imapd.c:991:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"#MHINBOX")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:993:8: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else lastsel = cpystr (compare_cstring (s,"INBOX") ? ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"APPEND"))) { ^ imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1012:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1012:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1022:6: warning: pointer targets in passing argument 2 of 'mail_append_multiple' differ in signedness [-Wpointer-sign] if (!mail_append_multiple (NIL,s,append_msg,(void *) &ad)) { ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1700:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_append_multiple (MAILSTREAM *stream,char *mailbox,append_t af, ^ imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LIST") || !strcmp (cmd,"RLIST")) { ^ imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1037:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1037:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1043:4: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1043:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1044:6: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1044:6: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1044:6: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,LONGT)) { ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1046:8: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,"",tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1049:6: warning: pointer targets in passing argument 2 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1049:6: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] else mail_list (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"SCAN")) { ^ imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1055:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1055:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1061:4: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1061:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1062:6: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1062:6: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1062:6: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1064:6: warning: pointer targets in passing argument 2 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1064:6: warning: pointer targets in passing argument 3 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1064:6: warning: pointer targets in passing argument 4 of 'mail_scan' differ in signedness [-Wpointer-sign] else mail_scan (NIL,s,t,u); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1636:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_scan (MAILSTREAM *stream,char *ref,char *pat,char *contents); ^ imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"LSUB") || !strcmp (cmd,"RLSUB")) { ^ imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1070:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1070:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1076:4: warning: pointer targets in passing argument 1 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1076:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (s,t)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1077:6: warning: pointer targets in passing argument 1 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1077:6: warning: pointer targets in passing argument 2 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1077:6: warning: pointer targets in passing argument 3 of 'newsproxypattern' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ imapd.c:194:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsproxypattern (char *ref,char *pat,char *pattern,long flag); ^ imapd.c:1077:6: warning: pointer targets in passing argument 2 of 'newsrc_lsub' differ in signedness [-Wpointer-sign] if (newsproxypattern (s,t,tmp,NIL)) newsrc_lsub (NIL,tmp); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:37:6: note: expected 'char *' but argument is of type 'unsigned char *' void newsrc_lsub (MAILSTREAM *stream,char *pattern); ^ imapd.c:1078:6: warning: pointer targets in passing argument 2 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1078:6: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] else mail_lsub (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND")) { ^ imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1085:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1085:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1087:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:1087:20: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(arg && (s = strtok (arg," \015\012")) && (s == cmd + 5) && ^ imapd.c:1089:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (arg = strtok (NIL,"\015\012")) && (s = snarf_list (&arg)))) ^ imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] else if (strpbrk (s,"%?")) response = ^ imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1093:4: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:1093:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1095:4: warning: pointer targets in passing argument 2 of 'nameok' differ in signedness [-Wpointer-sign] else if (nameok (NIL,s)) { ^ imapd.c:191:6: note: expected 'char *' but argument is of type 'unsigned char *' long nameok (char *ref,char *name); ^ imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (cmd,"FIND MAILBOXES") && !anonymous) ^ imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1098:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1098:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1099:8: warning: pointer targets in passing argument 3 of 'mail_lsub' differ in signedness [-Wpointer-sign] mail_lsub (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1638:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_lsub (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"FIND ALL.MAILBOXES")) { ^ imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1100:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1100:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1103:8: warning: pointer targets in passing argument 3 of 'mail_list' differ in signedness [-Wpointer-sign] mail_list (NIL,NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1637:6: note: expected 'char *' but argument is of type 'unsigned char *' void mail_list (MAILSTREAM *stream,char *ref,char *pat); ^ imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"STATUS")) { ^ imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1112:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1112:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1114:3: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:1114:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1114:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] (t = strchr (arg,')')) && (t - arg) && !t[1])) ^ imapd.c:1120:6: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:1120:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = strtok (ucase (arg)," "); ^ imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (t,"MESSAGES")) f |= SA_MESSAGES; ^ imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1122:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1122:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"RECENT")) f |= SA_RECENT; ^ imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1123:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1123:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UNSEEN")) f |= SA_UNSEEN; ^ imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1124:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1124:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDNEXT")) f |= SA_UIDNEXT; ^ imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1125:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1125:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (t,"UIDVALIDITY")) f |= SA_UIDVALIDITY; ^ imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1126:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1126:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1129:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1132:17: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while (t = strtok (NIL," ")); ^ imapd.c:1135:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1135:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:1136:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1136:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1139:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1139:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) { ^ imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1140:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1140:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1144:8: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1148:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1148:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," MESSAGES %lu",stream->nmsgs); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1150:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1150:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," RECENT %lu",stream->recent); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1154:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1154:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UNSEEN %lu",unseen); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1157:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1157:3: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen (tmp)," UIDNEXT %lu",stream->uid_last+1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1159:3: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] sprintf (tmp + strlen(tmp)," UIDVALIDITY %lu", ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1160:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] stream->uid_validity); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1162:8: warning: pointer targets in passing argument 1 of 'strcat' differ in signedness [-Wpointer-sign] strcat (tmp,")\015\012"); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:140:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (strcat (char *__restrict __dest, const char *__restrict __src)) ^ imapd.c:1164:8: warning: pointer targets in passing argument 1 of 'pastring' differ in signedness [-Wpointer-sign] pastring (s); ^ imapd.c:179:6: note: expected 'char *' but argument is of type 'unsigned char *' void pastring (char *s); ^ imapd.c:1165:8: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1167:6: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) { ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1168:8: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"{%.300s/nntp}%.300s",nntpproxy,(char *) s+6); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1169:8: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] if (!mail_status (NIL,tmp,f)) response = lose; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ imapd.c:1171:6: warning: pointer targets in passing argument 2 of 'mail_status' differ in signedness [-Wpointer-sign] else if (!mail_status (NIL,s,f)) response = lose; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1645:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_status (MAILSTREAM *stream,char *mbx,long flags); ^ imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"SUBSCRIBE"))) { ^ imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1178:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1178:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1182:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1185:6: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1187:4: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1187:4: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,':'); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^ imapd.c:1188:4: warning: pointer targets in passing argument 2 of 'mail_subscribe' differ in signedness [-Wpointer-sign] else mail_subscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1639:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_subscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"UNSUBSCRIBE"))) { ^ imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1193:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1193:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1197:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (compare_cstring (s,"MAILBOX")) response = badarg; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1200:6: warning: pointer targets in passing argument 1 of 'isnewsproxy' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ imapd.c:193:6: note: expected 'char *' but argument is of type 'unsigned char *' long isnewsproxy (char *name); ^ imapd.c:1200:6: warning: pointer targets in passing argument 2 of 'newsrc_update' differ in signedness [-Wpointer-sign] else if (isnewsproxy (s)) newsrc_update (NIL,s+6,'!'); ^ In file included from imapd.c:37:0: ../c-client/newsrc.h:38:6: note: expected 'char *' but argument is of type 'unsigned char *' long newsrc_update (MAILSTREAM *stream,char *group,char state); ^ imapd.c:1201:6: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1203:4: warning: pointer targets in passing argument 2 of 'mail_unsubscribe' differ in signedness [-Wpointer-sign] else mail_unsubscribe (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1640:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_unsubscribe (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"NAMESPACE")) { ^ imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1208:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1208:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"CREATE"))) { ^ imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1259:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1259:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1262:4: warning: pointer targets in passing argument 2 of 'mail_create' differ in signedness [-Wpointer-sign] else mail_create (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1641:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_create (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"DELETE"))) { ^ imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1267:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1267:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1271:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1271:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1272:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1272:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1274:6: warning: pointer targets in passing argument 2 of 'mail_delete' differ in signedness [-Wpointer-sign] else mail_delete (NIL,s); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1642:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_delete (MAILSTREAM *stream,char *mailbox); ^ imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!(anonymous || strcmp (cmd,"RENAME"))) { ^ imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1280:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1280:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1284:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1284:42: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!compare_cstring (s,"INBOX")) s = "INBOX"; ^ imapd.c:1285:6: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imapd.c:1285:50: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] else if (!compare_cstring (s,"#MHINBOX")) s = "#MHINBOX"; ^ imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (lastsel && (!strcmp (s,lastsel) || ^ imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1286:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1286:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] (stream && !strcmp (s,stream->mailbox)))) ^ imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1287:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1287:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1289:6: warning: pointer targets in passing argument 2 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1289:6: warning: pointer targets in passing argument 3 of 'mail_rename' differ in signedness [-Wpointer-sign] else mail_rename (NIL,s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1643:6: note: expected 'char *' but argument is of type 'unsigned char *' long mail_rename (MAILSTREAM *stream,char *old,char *newname); ^ imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (cmd,"IDLE")) { ^ imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1296:2: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:1296:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1328:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] (i * IDLETIMER) / 60); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1329:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1334:5: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] donefake = nmsgs + 1,recent + 1); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1335:3: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* prod client to wake up */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1344:3: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN,INPUTTIMEOUT); ^ imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^ imapd.c:1355:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,"* %lu EXPUNGE\015\012",donefake--); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1356:7: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1359:7: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] nmsgs,recent); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1360:5: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1383:6: warning: pointer targets in passing argument 1 of 'PSINR' differ in signedness [-Wpointer-sign] if (PSINR (tmp,i)) litplus.size -= i; ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1856:6: note: expected 'char *' but argument is of type 'unsigned char *' long PSINR (char *s,unsigned long n); ^ imapd.c:1392:2: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (tmp,MAILTMPLEN,INPUTTIMEOUT); ^ imapd.c:127:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout); ^ imapd.c:1394:2: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (t = strchr (tmp,'\012')) { ^ imapd.c:1394:2: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1394:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = strchr (tmp,'\012')) { ^ imapd.c:1399:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((i = strlen (tmp)) > 3) && (tmp[i - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:1405:8: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (tmp + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:1420:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,lstref ? "*" : tag); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1421:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* start response */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1424:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (user); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1427:4: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1428:4: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* start response */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1437:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1438:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1441:6: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ imapd.c:1441:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:1441:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ imapd.c:1441:6: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] ((s = strchr (cmd,' ')) ? s+1 : cmd),cauidvalidity); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1442:4: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1458:4: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (cmd); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c:1472:2: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf (tmp,response,tag,cmd,lasterror ()); ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/stdio2.h:31:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^ imapd.c:1473:2: warning: pointer targets in passing argument 1 of 'PSOUT' differ in signedness [-Wpointer-sign] PSOUT (tmp); /* output response */ ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1859:5: note: expected 'char *' but argument is of type 'unsigned char *' int PSOUT (char *s); ^ imapd.c: In function 'staint': imapd.c:1853:3: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (user) s = sout (sout (s,"."),user); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c:1858:5: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (user) s = sout (sout (s,", user="),user); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c:1878:7: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] if (cmd) s = sout (sout (s,", last command="),cmd); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c:1880:5: warning: pointer targets in passing argument 2 of 'sout' differ in signedness [-Wpointer-sign] else s = sout (sout (s,cmd)," in progress"); ^ imapd.c:125:7: note: expected 'char *' but argument is of type 'unsigned char *' char *sout (char *s,char *t); ^ imapd.c: In function 'parse_astring': imapd.c:2062:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] if ((*size = i = strtoul (s,(char **) &t,10)) > MAXCLIENTLIT) { ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2081:18: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:2081:5: warning: pointer targets in passing argument 1 of 'inliteral' differ in signedness [-Wpointer-sign] inliteral (s = litstk[litsp++] = (char *) fs_get (i+1),i); ^ imapd.c:1945:6: note: expected 'char *' but argument is of type 'unsigned char *' void inliteral (char *s,unsigned long n) ^ imapd.c:2083:5: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (*arg = t,CMDLEN - (t - cmdbuf),INPUTTIMEOUT); ^ imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout) ^ imapd.c:2084:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (!strchr (t,'\012')) return flush (); ^ imapd.c:2084:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2086:5: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!strtok (t,"\015\012")) *t = '\0'; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2088:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((i = strlen (t)) > 3) && (t[i - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2094:2: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (t + i + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c: In function 'parse_stringlist': imapd.c:2206:5: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^ imapd.c:2206:29: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] while ((c == ' ') && (t = parse_astring (s,&i,&c))) { ^ imapd.c:2218:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (t = *s) { /* need to reload strtok() state? */ ^ imapd.c: In function 'parse_criterion': imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__strpbrk_c2' differ in signedness [-Wpointer-sign] In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1100:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c2 (const char *__s, int __accept1, int __accept2) ^ imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__strpbrk_c3' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from /usr/include/string.h:631:0, from ../c-client/osdep.h:44, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/arm-linux-gnueabihf/bits/string2.h:1111:1: note: expected 'const char *' but argument is of type 'unsigned char *' __strpbrk_c3 (const char *__s, int __accept1, int __accept2, int __accept3) ^ imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:5: warning: pointer targets in passing argument 1 of '__builtin_strpbrk' differ in signedness [-Wpointer-sign] imapd.c:2293:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2293:16: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ imapd.c:2293:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!(tail = strpbrk ((s = *arg)," )"))) tail = *arg + strlen (*arg); ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LL")) ret = T; ^ imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2309:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2309:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSWERED")) ret = pgm->answered = T; ^ imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2310:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2310:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"CC") && c == ' ' && *++tail) ^ imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2314:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2314:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"EFORE") && c == ' ' && *++tail) ^ imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2316:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2316:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ODY") && c == ' ' && *++tail) ^ imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2318:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2318:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"C") && c == ' ' && *++tail) ^ imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2322:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2322:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ELETED")) ret = pgm->deleted = T; ^ imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2326:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2326:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"RAFT")) ret = pgm->draft = T; ^ imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2327:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2327:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LAGGED")) ret = pgm->flagged = T; ^ imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2330:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2330:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ROM") && c == ' ' && *++tail) ^ imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2331:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2331:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EADER") && c == ' ' && *(v = tail + 1) && ^ imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2335:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2335:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2339:2: warning: pointer targets in passing argument 1 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:2339:2: warning: pointer targets in passing argument 2 of 'mail_newsearchheader' differ in signedness [-Wpointer-sign] *hdr = mail_newsearchheader (s,t); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1791:15: note: expected 'char *' but argument is of type 'unsigned char *' SEARCHHEADER *mail_newsearchheader (char *line,char *text); ^ imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EYWORD") && c == ' ' && *++tail) ^ imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2346:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2346:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ARGER") && c == ' ' && *++tail) ^ imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2350:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2350:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EW")) ret = pgm->recent = pgm->unseen = T; ^ imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2354:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2354:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"OT") && c == ' ' && *++tail) { ^ imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2355:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2355:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"LD")) ret = pgm->old = T; ^ imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2363:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2363:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"N") && c == ' ' && *++tail) ^ imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2364:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2364:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"R") && c == ' ') { ^ imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2366:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2366:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"LDER") && c == ' ' && *++tail) ^ imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2374:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2374:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ECENT")) ret = pgm->recent = T; ^ imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2378:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2378:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EEN")) ret = pgm->seen = T; ^ imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2381:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2381:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTBEFORE") && c == ' ' && *++tail) ^ imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2382:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2382:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTON") && c == ' ' && *++tail) ^ imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2384:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2384:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"ENTSINCE") && c == ' ' && *++tail) ^ imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2386:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2386:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"INCE") && c == ' ' && *++tail) ^ imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2388:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2388:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"MALLER") && c == ' ' && *++tail) ^ imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2390:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2390:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"UBJECT") && c == ' ' && *++tail) ^ imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2392:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2392:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"EXT") && c == ' ' && *++tail) ^ imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2396:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2396:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"O") && c == ' ' && *++tail) ^ imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2398:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2398:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"ID") && c== ' ' && *++tail) { ^ imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2403:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2403:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NANSWERED")) ret = pgm->unanswered = T; ^ imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2412:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2412:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDELETED")) ret = pgm->undeleted = T; ^ imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2413:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2413:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NDRAFT")) ret = pgm->undraft = T; ^ imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2414:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2414:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NFLAGGED")) ret = pgm->unflagged = T; ^ imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2415:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2415:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NKEYWORD") && c == ' ' && *++tail) ^ imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2416:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2416:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s+1,"NSEEN")) ret = pgm->unseen = T; ^ imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2418:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2418:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s+1,"OUNGER") && c == ' ' && *++tail) ^ imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2421:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2421:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c: In function 'crit_string': imapd.c:2584:3: warning: pointer targets in passing argument 3 of 'parse_astring' differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^ imapd.c:2030:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *parse_astring (unsigned char **arg,unsigned long *size, ^ imapd.c:2584:13: warning: pointer targets in initialization differ in signedness [-Wpointer-sign] char *s = parse_astring (arg,&i,&c); ^ imapd.c:2594:19: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (!*arg) *arg = (char *) (*string)->text.data + i; ^ imapd.c: In function 'fetch_work': imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ imapd.c:2641:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (t),"ALL")) ^ imapd.c:2641:3: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2647:9: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (s = strtok (t," ")) do { /* parse attribute list */ ^ imapd.c:2648:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (list && (i = strlen (s)) && (s[i-1] == ')')) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (s,"UID")) { /* no-op if implicit */ ^ imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2653:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2653:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"FLAGS")) f[k++] = fetch_flags; ^ imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2656:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2656:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"INTERNALDATE")) f[k++] = fetch_internaldate; ^ imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2657:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2657:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.SIZE")) f[k++] = fetch_rfc822_size; ^ imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2658:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2658:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"ENVELOPE")) { ^ imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2659:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2659:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODY")) { ^ imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2663:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2663:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"BODYSTRUCTURE")) { ^ imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2667:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2667:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822")) { ^ imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2671:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2671:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.HEADER")) f[k++] = fetch_rfc822_header; ^ imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2675:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2675:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strcmp (s,"RFC822.TEXT")) { ^ imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2676:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2676:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (s,"BODY[",5) || !strncmp (s,"BODY.PEEK[",10) || ^ imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2681:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2681:5: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY[",7) || !strncmp (s,"BINARY.PEEK[",12) || ^ imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2682:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2682:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2683:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] !strncmp (s,"BINARY.SIZE[",12)) { ^ imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2683:7: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2683:7: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2723:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"MIME",4)) { ^ imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2723:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2723:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2736:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,"HEADER",6)) { ^ imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2736:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2736:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2741:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".FIELDS",7)) { ^ imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2741:6: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2741:6: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2743:8: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strncmp (v,".NOT",4)) { ^ imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2743:8: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2743:8: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2747:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] if (*v || !(v = strtok (NIL,"\015\012")) || ^ imapd.c:2755:4: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] else if (!strncmp (v,"TEXT",4)) { ^ imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] imapd.c:2755:4: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:2755:4: warning: pointer targets in passing argument 1 of 'strncmp' differ in signedness [-Wpointer-sign] In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:143:12: note: expected 'const char *' but argument is of type 'unsigned char *' extern int strncmp (const char *__s1, const char *__s2, size_t __n) ^ imapd.c:2778:5: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] !(isdigit (v[1]) && ((ta->first = strtoul (v+1,(char **) &v,10)) || ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2780:7: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] (*v++ == '.') && (ta->last = strtoul (v,(char **) &v,10)) && ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:2791:2: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] strtok (v," "); /* reset strtok mechanism */ ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2798:4: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] strtok (v," "); /* reset strtok mechanism */ ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:2809:7: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (s && *s) ta->section = cpystr (s); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:2816:15: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] } while ((s = strtok (NIL," ")) && (k < MAXFETCH) && list); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: imapd.c: In function 'fetch_body_part_binary': ../c-client/mail.h:740:21: warning: pointer targets in passing argument 3 of 'mail_body' differ in signedness [-Wpointer-sign] #define BODY struct mail_bodystruct ^ imapd.c:2955:5: note: in expansion of macro 'BODY' BODY *body = mail_body (stream,i,ta->section); ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1706:7: note: expected 'unsigned char *' but argument is of type 'char *' BODY *mail_body (MAILSTREAM *stream,unsigned long msgno, ^ imapd.c: In function 'fetch_rfc822_text': imapd.c:3312:9: warning: unused variable 'f' [-Wunused-variable] int f = mail_elt (stream,i)->seen; ^ imapd.c: In function 'penv': imapd.c:3329:5: warning: pointer targets in passing argument 1 of 'pnstring' differ in signedness [-Wpointer-sign] pnstring (env->date); /* output envelope fields */ ^ imapd.c:178:6: note: expected 'char *' but argument is of type 'unsigned char *' void pnstring (char *s); ^ imapd.c: In function 'nameok': imapd.c:3864:14: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3864:23: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = ref, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3873:12: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c:3873:22: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for (s = name, t = oktab[i]; *t && !compare_uchar (*s,*t); s++, t++); ^ imapd.c: In function 'proxycopy': imapd.c:4019:2: warning: pointer targets in passing argument 2 of 'mail_uid_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1777:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c:4019:2: warning: pointer targets in passing argument 2 of 'mail_sequence' differ in signedness [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence))) ^ In file included from ../c-client/c-client.h:41:0, from imapd.c:36: ../c-client/mail.h:1776:6: note: expected 'unsigned char *' but argument is of type 'char *' long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imapd.c: In function 'append_msg': imapd.c:4128:7: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] t = ++arg; /* pointer to flag list contents */ ^ imapd.c:4135:3: warning: pointer targets in passing argument 1 of 'cpystr' differ in signedness [-Wpointer-sign] if (*arg == '"') *date = ad->date = cpystr (snarf (&arg)); ^ In file included from ../c-client/c-client.h:48:0, from imapd.c:36: ../c-client/misc.h:88:7: note: expected 'const char *' but argument is of type 'unsigned char *' char *cpystr (const char *string); ^ imapd.c:4140:3: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] else if (!(i = strtoul (arg+1,&t,10))) ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c:4148:5: warning: pointer targets in passing argument 1 of 'slurp' differ in signedness [-Wpointer-sign] slurp (ad->arg,CMDLEN - (ad->arg - cmdbuf),INPUTTIMEOUT); ^ imapd.c:1926:6: note: expected 'char *' but argument is of type 'unsigned char *' void slurp (char *s,int n,unsigned long timeout) ^ imapd.c:4149:5: warning: pointer targets in passing argument 1 of '__builtin_strchr' differ in signedness [-Wpointer-sign] if (strchr (ad->arg,'\012')) { ^ imapd.c:4149:5: note: expected 'const char *' but argument is of type 'unsigned char *' imapd.c:4151:7: warning: pointer targets in passing argument 1 of 'strtok' differ in signedness [-Wpointer-sign] if (!strtok (ad->arg,"\015\012")) *ad->arg = '\0'; ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:344:14: note: expected 'char * __restrict__' but argument is of type 'unsigned char *' extern char *strtok (char *__restrict __s, const char *__restrict __delim) ^ imapd.c:4153:7: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] if (((j = strlen (ad->arg)) > 3) && (ad->arg[j - 1] == '}') && ^ In file included from ../c-client/osdep.h:44:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^ imapd.c:4159:4: warning: pointer targets in passing argument 1 of 'strtoul' differ in signedness [-Wpointer-sign] litplus.size = strtoul (ad->arg + j + 1,NIL,10); ^ In file included from ../c-client/osdep.h:43:0, from ../c-client/c-client.h:42, from imapd.c:36: /usr/include/stdlib.h:187:26: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' extern unsigned long int strtoul (const char *__restrict __nptr, ^ imapd.c: In function 'mm_login': imapd.c:4529:3: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] strncpy (password,pass,256); /* and password */ ^ In file included from /usr/include/features.h:360:0, from /usr/include/stdio.h:27, from imapd.c:29: /usr/include/arm-linux-gnueabihf/bits/string3.h:117:1: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *' __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, ^ imapd.c: In function 'main': imapd.c:897:12: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized] if (j != --i) { ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -DANOFILE=\"/etc/anonymous.newsgroups\" -DALERTFILE=\"/etc/imapd.alert\" -DNNTPFILE=\"/etc/imapd.nntp\" -DUSERALERTFILE=\".imapalert\" -DSHUTDOWNFILE=\"/etc/nologin\" -o imapd imapd.o `cat ../c-client/LDFLAGS` make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/imapd' cd mailutil;make make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/mailutil' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o mailutil.o mailutil.c mailutil.c: In function 'prune_criteria': mailutil.c:453:7: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] switch (*ucase (criterion)) { ^ In file included from ../c-client/c-client.h:48:0, from mailutil.c:31: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ mailutil.c: In function 'mbxcopy': mailutil.c:594:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (tmp,MAILTMPLEN-1,stdin); ^ mailutil.c: In function 'mm_login': mailutil.c:893:11: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets (username,NETMAXUSER-1,stdin); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o mailutil mailutil.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/mailutil' cd mlock;make || true make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/mlock' `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -c -o mlock.o mlock.c mlock.c: In function 'die': mlock.c:60:3: warning: implicit declaration of function 'write' [-Wimplicit-function-declaration] write (1,"?",1); /* indicate "impossible" failure */ ^ mlock.c: In function 'main': mlock.c:75:3: warning: implicit declaration of function 'getegid' [-Wimplicit-function-declaration] if (!grp || (grp->gr_gid != getegid ())) ^ mlock.c:94:3: warning: implicit declaration of function 'chdir' [-Wimplicit-function-declaration] chdir (dir); ^ mlock.c:113:5: warning: implicit declaration of function 'time' [-Wimplicit-function-declaration] if (!stat (lock,&sb) && (time (0) > (sb.st_ctime + LOCKTIMEOUT * 60))) ^ mlock.c:114:7: warning: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] unlink (lock); /* time out lock if enough time has passed */ ^ mlock.c:123:7: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] (unsigned long) getpid ()); ^ mlock.c:125:5: warning: implicit declaration of function 'gethostname' [-Wimplicit-function-declaration] gethostname (hitch + len,MAXHOSTNAMELEN); ^ mlock.c:132:7: warning: implicit declaration of function 'close' [-Wimplicit-function-declaration] close (ld); /* close the hitching-post */ ^ mlock.c:138:7: warning: implicit declaration of function 'link' [-Wimplicit-function-declaration] i = link (hitch,lock) ? errno : 0; ^ mlock.c:161:7: warning: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] if (tries--) sleep (1); /* sleep 1 second and try again */ ^ mlock.c:169:3: warning: implicit declaration of function 'read' [-Wimplicit-function-declaration] read (0,tmp,1); /* read continue signal from parent */ ^ `cat ../c-client/CCTYPE` `cat ../c-client/CFLAGS` -o mlock mlock.o make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/mlock' cd dmail;make || true make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/dmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dmail.o dmail.c dmail.c: In function 'main': dmail.c:162:5: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^ dmail.c: In function 'deliver': dmail.c:231:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!*mailbox || !compare_cstring ((unsigned char *) mailbox,"INBOX")) ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dmail.c: In function 'mm_notify': dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from dmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ dmail.c:566:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ dmail.c:566:3: note: expected 'const char *' but argument is of type 'unsigned char *' dmail.c: In function 'file_string_setpos': dmail.c:123:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^ dmail.c: In function 'delivery_unsafe': dmail.c:443:13: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o dquota.o dquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o dmail dmail.o dquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/dmail' cd tmail;make || true make[3]: Entering directory `/build/buildd/uw-imap-2007f~dfsg/tmail' `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tmail.o tmail.c tmail.c: In function 'main': tmail.c:166:9: warning: pointer targets in passing argument 1 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (format->name,"dummy")) ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tmail.c:166:9: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] !compare_cstring (format->name,"dummy")) ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tmail.c:171:7: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] if (s[2] && ((s[2] == '-') || isdigit (s[2]))) precedence = atol (s + 2); ^ tmail.c: In function 'getusername': tmail.c:608:5: warning: pointer targets in passing argument 2 of 'compare_cstring' differ in signedness [-Wpointer-sign] if (!**t || !compare_cstring ((unsigned char *) *t,"INBOX")) *t = NIL; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:109:5: note: expected 'unsigned char *' but argument is of type 'char *' int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tmail.c: In function 'mm_notify': tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of 'ucase' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ In file included from ../c-client/c-client.h:48:0, from tmail.c:36: ../c-client/misc.h:86:16: note: expected 'unsigned char *' but argument is of type 'char *' unsigned char *ucase (unsigned char *string); ^ tmail.c:705:3: warning: pointer targets in passing argument 1 of '__builtin_strcmp' differ in signedness [-Wpointer-sign] if (!strcmp (ucase (strncpy (tmp,string,11)),"[TRYCREATE]")) trycreate = T; ^ tmail.c:705:3: note: expected 'const char *' but argument is of type 'unsigned char *' tmail.c: In function 'file_string_setpos': tmail.c:124:11: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result] fread (s->curpos,sizeof (char),(unsigned int) s->cursize,(FILE *) s->data); ^ tmail.c: In function 'delivery_unsafe': tmail.c:564:13: warning: 'type' may be used uninitialized in this function [-Wmaybe-uninitialized] sprintf (tmp + strlen (tmp),"file type %07o",(unsigned int) type); ^ `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -c -o tquota.o tquota.c `cat ../c-client/CCTYPE` -I../c-client `cat ../c-client/CFLAGS` -o tmail tmail.o tquota.o ../c-client/`cat ../c-client/ARCHIVENAME` `cat ../c-client/LDFLAGS` make[3]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg/tmail' make[2]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' make[1]: Leaving directory `/build/buildd/uw-imap-2007f~dfsg' pod2man -c "" -r "UW IMAP 2007f~dfsg-2" debian/mlock.pod debian/mlock.1 touch debian/build-stamp /usr/bin/fakeroot debian/rules binary-arch sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' debian/control.in test -x debian/rules dh_testroot dh_prep dh_installdirs -A mkdir -p "." echo "sed -e 's/__LIBVER__/2007e/g' -e 's/__LIBFULLVER__/2007e.0/g' -e 's/__VER__/2007e/g' $targetfile; \ done mkdir -p debian/tmp/usr/lib install -m 0644 c-client.a debian/tmp/usr/lib/libc-client.a install -m 0644 c-client/libc-client.so debian/tmp/usr/lib/libc-client.so.2007e.0 ln -s libc-client.so.2007e.0 debian/tmp/usr/lib/libc-client.so.2007e ln -s libc-client.so.2007e.0 debian/tmp/usr/lib/libc-client.so mkdir -p debian/tmp/usr/include/c-client install -m 0644 -t debian/tmp/usr/include/c-client \ src/c-client/*.h \ src/osdep/unix/*.h \ c-client/auths.c \ c-client/linkage.c \ c-client/linkage.h \ c-client/osdep.h Adding cdbs dependencies to debian/libc-client2007e-dev.substvars dh_installdirs -plibc-client2007e-dev Adding cdbs dependencies to debian/libc-client2007e.substvars dh_installdirs -plibc-client2007e Adding cdbs dependencies to debian/mlock.substvars dh_installdirs -pmlock Adding cdbs dependencies to debian/uw-mailutils.substvars dh_installdirs -puw-mailutils dh_installdocs -plibc-client2007e-dev dh_installexamples -plibc-client2007e-dev dh_installman -plibc-client2007e-dev dh_installinfo -plibc-client2007e-dev dh_installmenu -plibc-client2007e-dev dh_installcron -plibc-client2007e-dev dh_installinit -plibc-client2007e-dev dh_installdebconf -plibc-client2007e-dev dh_installemacsen -plibc-client2007e-dev dh_installcatalogs -plibc-client2007e-dev dh_installpam -plibc-client2007e-dev dh_installlogrotate -plibc-client2007e-dev dh_installlogcheck -plibc-client2007e-dev dh_installchangelogs -plibc-client2007e-dev dh_installudev -plibc-client2007e-dev dh_lintian -plibc-client2007e-dev dh_bugfiles -plibc-client2007e-dev dh_install -plibc-client2007e-dev dh_link -plibc-client2007e-dev dh_buildinfo -plibc-client2007e-dev dh_installmime -plibc-client2007e-dev dh_installgsettings -plibc-client2007e-dev dh_installdocs -plibc-client2007e dh_installexamples -plibc-client2007e dh_installman -plibc-client2007e dh_installinfo -plibc-client2007e dh_installmenu -plibc-client2007e dh_installcron -plibc-client2007e dh_installinit -plibc-client2007e dh_installdebconf -plibc-client2007e dh_installemacsen -plibc-client2007e dh_installcatalogs -plibc-client2007e dh_installpam -plibc-client2007e dh_installlogrotate -plibc-client2007e dh_installlogcheck -plibc-client2007e dh_installchangelogs -plibc-client2007e dh_installudev -plibc-client2007e dh_lintian -plibc-client2007e dh_bugfiles -plibc-client2007e dh_install -plibc-client2007e dh_link -plibc-client2007e dh_buildinfo -plibc-client2007e dh_installmime -plibc-client2007e dh_installgsettings -plibc-client2007e dh_installdocs -pmlock dh_installexamples -pmlock dh_installman -pmlock dh_installinfo -pmlock dh_installmenu -pmlock dh_installcron -pmlock dh_installinit -pmlock dh_installdebconf -pmlock dh_installemacsen -pmlock dh_installcatalogs -pmlock dh_installpam -pmlock dh_installlogrotate -pmlock dh_installlogcheck -pmlock dh_installchangelogs -pmlock dh_installudev -pmlock dh_lintian -pmlock dh_bugfiles -pmlock dh_install -pmlock dh_link -pmlock dh_buildinfo -pmlock dh_installmime -pmlock dh_installgsettings -pmlock dh_installdocs -puw-mailutils dh_installexamples -puw-mailutils dh_installman -puw-mailutils dh_installinfo -puw-mailutils dh_installmenu -puw-mailutils dh_installcron -puw-mailutils dh_installinit -puw-mailutils dh_installdebconf -puw-mailutils dh_installemacsen -puw-mailutils dh_installcatalogs -puw-mailutils dh_installpam -puw-mailutils dh_installlogrotate -puw-mailutils dh_installlogcheck -puw-mailutils dh_installchangelogs -puw-mailutils dh_installudev -puw-mailutils dh_lintian -puw-mailutils dh_bugfiles -puw-mailutils dh_install -puw-mailutils dh_link -puw-mailutils dh_buildinfo -puw-mailutils dh_installmime -puw-mailutils dh_installgsettings -puw-mailutils d-shlibmove --commit \ --movedev "debian/tmp/usr/include/*" usr/include \ debian/tmp/usr/lib/libc-client.so Library package automatic movement utility --> libkrb5-dev package exists. --> libpam0g-dev package exists. --> libssl-dev package exists. set -e install -d -m 755 debian/libc-client2007e-dev/usr/lib install -d -m 755 debian/libc-client2007e/usr/lib mv debian/tmp/usr/lib/libc-client.a debian/libc-client2007e-dev/usr/lib mv debian/tmp/usr/lib/libc-client.la debian/libc-client2007e-dev/usr/lib || true mv debian/tmp/usr/lib/libc-client.so debian/libc-client2007e-dev/usr/lib mv /build/buildd/uw-imap-2007f~dfsg/debian/tmp/usr/lib/libc-client.so.2007e debian/libc-client2007e/usr/lib mv /build/buildd/uw-imap-2007f~dfsg/debian/tmp/usr/lib/libc-client.so.2007e.0 debian/libc-client2007e/usr/lib PKGDEV=libc-client2007e-dev PKGSHL=libc-client2007e install -d -m 755 debian/libc-client2007e-dev/usr/include mv debian/tmp/usr/include/* debian/libc-client2007e-dev/usr/include mv: cannot stat 'debian/tmp/usr/lib/libc-client.la': No such file or directory touch debian/install-libs-stamp dh_strip -plibc-client2007e-dev dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: libc-client2007e-dev libc-client2007e mlock uw-mailutils dh_strip debug symbol extraction: packages to act on: libc-client2007e-dev dh_strip debug symbol extraction: ignored packages: libc-client2007e-dev is already stripped, ignoring find: `/build/buildd/uw-imap-2007f~dfsg/debian/libc-client2007e-dev-dbgsym': No such file or directory dh_compress -plibc-client2007e-dev dh_fixperms -plibc-client2007e-dev dh_makeshlibs -plibc-client2007e-dev dh_strip -plibc-client2007e dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: libc-client2007e-dev libc-client2007e mlock uw-mailutils dh_strip debug symbol extraction: packages to act on: libc-client2007e dh_strip debug symbol extraction: ignored packages: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-deb: building package `libc-client2007e-dbgsym' in `../libc-client2007e-dbgsym_2007f~dfsg-2_armhf.ddeb'. dh_compress -plibc-client2007e dh_fixperms -plibc-client2007e dh_makeshlibs -plibc-client2007e dh_strip -pmlock dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: libc-client2007e-dev libc-client2007e mlock uw-mailutils dh_strip debug symbol extraction: packages to act on: mlock dh_strip debug symbol extraction: ignored packages: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-deb: building package `mlock-dbgsym' in `../mlock-dbgsym_2007f~dfsg-2_armhf.ddeb'. dh_compress -pmlock dh_fixperms -pmlock dh_makeshlibs -pmlock dh_strip -puw-mailutils dh_strip debug symbol extraction: all non-arch-all packages for this build platform armhf: libc-client2007e-dev libc-client2007e mlock uw-mailutils dh_strip debug symbol extraction: packages to act on: uw-mailutils dh_strip debug symbol extraction: ignored packages: dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe dpkg-deb: building package `uw-mailutils-dbgsym' in `../uw-mailutils-dbgsym_2007f~dfsg-2_armhf.ddeb'. dh_compress -puw-mailutils dh_fixperms -puw-mailutils dh_makeshlibs -puw-mailutils dh_installdeb -plibc-client2007e-dev dh_perl -plibc-client2007e-dev dh_shlibdeps -plibc-client2007e-dev dh_installdeb -plibc-client2007e dh_perl -plibc-client2007e dh_shlibdeps -plibc-client2007e dpkg-shlibdeps: warning: symbol mm_searched used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_log used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_lsub used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_list used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_diskerror used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_critical used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_dlog used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_exists used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_nocritical used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mm_status used by debian/libc-client2007e/usr/lib/libc-client.so.2007e.0 found in none of the libraries dpkg-shlibdeps: warning: 5 other similar warnings have been skipped (use -v to see them all) dh_installdeb -pmlock dh_perl -pmlock dh_shlibdeps -pmlock chown root.mail debian/mlock/usr/bin/mlock chmod 2755 debian/mlock/usr/bin/mlock dh_installdeb -puw-mailutils dh_perl -puw-mailutils dh_shlibdeps -puw-mailutils dh_gencontrol -plibc-client2007e-dev dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe # only call dh_scour for packages in main if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -plibc-client2007e-dev ; fi dh_md5sums -plibc-client2007e-dev dh_builddeb -plibc-client2007e-dev INFO: pkgstriptranslations version 118 pkgstriptranslations: processing libc-client2007e-dev (in debian/libc-client2007e-dev); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/libc-client2007e-dev/DEBIAN/control, package libc-client2007e-dev, directory debian/libc-client2007e-dev .. removing usr/share/doc/libc-client2007e-dev/buildinfo_armhf.gz grep: ../libc-client2007e/DEBIAN/control: No such file or directory Searching for duplicated docs in dependency libc-client2007e... symlinking changelog.Debian.gz in libc-client2007e-dev to file in libc-client2007e symlinking locking.txt.gz in libc-client2007e-dev to file in libc-client2007e symlinking internal.txt.gz in libc-client2007e-dev to file in libc-client2007e symlinking NEWS.Debian.gz in libc-client2007e-dev to file in libc-client2007e pkgstripfiles: PNG optimization for package libc-client2007e-dev took 0 s dpkg-deb: warning: 'debian/libc-client2007e-dev/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `libc-client2007e-dev' in `../libc-client2007e-dev_2007f~dfsg-2_armhf.deb'. dh_gencontrol -plibc-client2007e dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe # only call dh_scour for packages in main if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -plibc-client2007e ; fi dh_md5sums -plibc-client2007e dh_builddeb -plibc-client2007e INFO: pkgstriptranslations version 118 pkgstriptranslations: processing libc-client2007e (in debian/libc-client2007e); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/libc-client2007e/DEBIAN/control, package libc-client2007e, directory debian/libc-client2007e .. removing usr/share/doc/libc-client2007e/buildinfo_armhf.gz grep: ../mlock/DEBIAN/control: No such file or directory Searching for duplicated docs in dependency mlock... symlinking changelog.Debian.gz in libc-client2007e to file in mlock symlinking NEWS.Debian.gz in libc-client2007e to file in mlock pkgstripfiles: PNG optimization for package libc-client2007e took 0 s dpkg-deb: warning: 'debian/libc-client2007e/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `libc-client2007e' in `../libc-client2007e_2007f~dfsg-2_armhf.deb'. dh_gencontrol -pmlock dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe # only call dh_scour for packages in main if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -pmlock ; fi dh_md5sums -pmlock dh_builddeb -pmlock INFO: pkgstriptranslations version 118 pkgstriptranslations: processing mlock (in debian/mlock); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/mlock/DEBIAN/control, package mlock, directory debian/mlock .. removing usr/share/doc/mlock/buildinfo_armhf.gz pkgstripfiles: Truncating usr/share/doc/mlock/changelog.Debian.gz to topmost ten records pkgstripfiles: PNG optimization for package mlock took 0 s dpkg-deb: warning: 'debian/mlock/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `mlock' in `../mlock_2007f~dfsg-2_armhf.deb'. dh_gencontrol -puw-mailutils dpkg-gencontrol: warning: File::FcntlLock not available; using flock which is not NFS-safe # only call dh_scour for packages in main if grep -q '^Component:[[:space:]]*main' /CurrentlyBuilding 2>/dev/null; then dh_scour -puw-mailutils ; fi dh_md5sums -puw-mailutils dh_builddeb -puw-mailutils INFO: pkgstriptranslations version 118 pkgstriptranslations: processing uw-mailutils (in debian/uw-mailutils); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/uw-mailutils/DEBIAN/control, package uw-mailutils, directory debian/uw-mailutils .. removing usr/share/doc/uw-mailutils/buildinfo_armhf.gz Searching for duplicated docs in dependency libc-client2007e... symlinking changelog.Debian.gz in uw-mailutils to file in mlock symlinking NEWS.Debian.gz in uw-mailutils to file in mlock pkgstripfiles: PNG optimization for package uw-mailutils took 0 s dpkg-deb: warning: 'debian/uw-mailutils/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s) dpkg-deb: building package `uw-mailutils' in `../uw-mailutils_2007f~dfsg-2_armhf.deb'. dpkg-genchanges -B -mUbuntu/armhf Build Daemon >../uw-imap_2007f~dfsg-2_armhf.changes dpkg-genchanges: arch-specific upload - not including arch-independent packages dpkg-genchanges: binary-only upload - not including any source code dpkg-source --after-build uw-imap-2007f~dfsg dpkg-buildpackage: binary only upload (no source included) ****************************************************************************** Build finished at 20131230-1017 Publishing debug debs. chroot-autobuild/build/buildd/libc-client2007e-dev_2007f~dfsg-2_armhf.deb: new debian package, version 2.0. size 431044 bytes: control archive= 2687 bytes. 975 bytes, 25 lines control 5067 bytes, 79 lines md5sums Package: libc-client2007e-dev Source: uw-imap Version: 8:2007f~dfsg-2 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Magnus Holmgren Installed-Size: 1373 Depends: libkrb5-dev, libpam0g-dev, libssl-dev, libc-client2007e (= 8:2007f~dfsg-2) Conflicts: libc-client-dev Replaces: libc-client-dev Provides: libc-client-dev Section: libdevel Priority: extra Homepage: http://www.washington.edu/imap/ Description: c-client library for mail protocols - development files IMAP (Internet Message Access Protocol) is a method of accessing electronic messages kept on a (possibly shared) mail server. . The UW (University of Washington) IMAP toolkit provides the c-client mail-handling library supporting various network transport methods, file system storage formats, and authentication and authorization methods. . This package contains the static c-client library and development headers. chroot-autobuild/build/buildd/libc-client2007e_2007f~dfsg-2_armhf.deb: new debian package, version 2.0. size 547640 bytes: control archive= 1440 bytes. 958 bytes, 22 lines control 1231 bytes, 16 lines md5sums 135 bytes, 7 lines * postinst #!/bin/sh 132 bytes, 7 lines * postrm #!/bin/sh 35 bytes, 1 lines shlibs Package: libc-client2007e Source: uw-imap Version: 8:2007f~dfsg-2 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Magnus Holmgren Installed-Size: 1138 Depends: libpam-modules, mlock, libc6 (>= 2.15), libgssapi-krb5-2 (>= 1.10+dfsg~), libkrb5-3 (>= 1.6.dfsg.2), libpam0g (>= 0.99.7.1), libssl1.0.0 (>= 1.0.0) Suggests: uw-mailutils Section: libs Priority: optional Homepage: http://www.washington.edu/imap/ Description: c-client library for mail protocols - library files IMAP (Internet Message Access Protocol) is a method of accessing electronic messages kept on a (possibly shared) mail server. . The UW (University of Washington) IMAP toolkit provides the c-client mail-handling library supporting various network transport methods, file system storage formats, and authentication and authorization methods. . This package contains the shared c-client library. chroot-autobuild/build/buildd/mlock_2007f~dfsg-2_armhf.deb: new debian package, version 2.0. size 11944 bytes: control archive= 891 bytes. 786 bytes, 22 lines control 387 bytes, 6 lines md5sums Package: mlock Source: uw-imap Version: 8:2007f~dfsg-2 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Magnus Holmgren Installed-Size: 83 Depends: libc6 (>= 2.4) Section: mail Priority: optional Homepage: http://www.washington.edu/imap/ Description: mailbox locking program IMAP (Internet Message Access Protocol) is a method of accessing electronic messages kept on a (possibly shared) mail server. . The UW (University of Washington) IMAP toolkit provides the c-client mail-handling library supporting various network transport methods, file system storage formats, and authentication and authorization methods. . This package contains a program to lock mailbox files to avoid corruption. chroot-autobuild/build/buildd/uw-mailutils_2007f~dfsg-2_armhf.deb: new debian package, version 2.0. size 30300 bytes: control archive= 1112 bytes. 43 bytes, 1 lines conffiles 1057 bytes, 25 lines control 488 bytes, 8 lines md5sums Package: uw-mailutils Source: uw-imap Version: 8:2007f~dfsg-2 Architecture: armhf Maintainer: Ubuntu Developers Original-Maintainer: Magnus Holmgren Installed-Size: 137 Depends: libc-client2007e, libc6 (>= 2.4) Section: mail Priority: optional Homepage: http://www.washington.edu/imap/ Description: c-client support programs IMAP (Internet Message Access Protocol) is a method of accessing electronic messages kept on a (possibly shared) mail server. . The UW (University of Washington) IMAP toolkit provides the c-client mail-handling library supporting various network transport methods, file system storage formats, and authentication and authorization methods. . This package contains helper tools for the libc-client library: - mailutil: utility program which helps manage email mailboxes (both local and IMAP/POP3/NNTP); - dmail: MDA (Mail Delivery Agent) for use with procmail; - tmail: MDA for use with the system mailer (such as Sendmail or Postfix). chroot-autobuild/build/buildd/libc-client2007e-dev_2007f~dfsg-2_armhf.deb: drwxr-xr-x root/root 0 2013-12-30 10:16 ./ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/include/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/include/c-client/ -rw-r--r-- root/root 2979 2013-12-30 10:16 ./usr/include/c-client/os_sv2.h -rw-r--r-- root/root 799 2013-12-30 10:16 ./usr/include/c-client/flstring.h -rw-r--r-- root/root 1113 2013-12-30 10:16 ./usr/include/c-client/os_cvx.h -rw-r--r-- root/root 1211 2013-12-30 10:16 ./usr/include/c-client/os_nxt.h -rw-r--r-- root/root 1452 2013-12-30 10:16 ./usr/include/c-client/os_qnx.h -rw-r--r-- root/root 1199 2013-12-30 10:16 ./usr/include/c-client/os_osf.h -rw-r--r-- root/root 1058 2013-12-30 10:16 ./usr/include/c-client/os_lyn.h -rw-r--r-- root/root 1687 2013-12-30 10:16 ./usr/include/c-client/c-client.h -rw-r--r-- root/root 1392 2013-12-30 10:16 ./usr/include/c-client/os_shp.h -rw-r--r-- root/root 1185 2013-12-30 10:16 ./usr/include/c-client/os_sua.h -rw-r--r-- root/root 1981 2013-12-30 10:16 ./usr/include/c-client/os_soln.h -rw-r--r-- root/root 939 2013-12-30 10:16 ./usr/include/c-client/nl.h -rw-r--r-- root/root 1949 2013-12-30 10:16 ./usr/include/c-client/os_solo.h -rw-r--r-- root/root 4388 2013-12-30 10:16 ./usr/include/c-client/flocksim.h -rw-r--r-- root/root 1071 2013-12-30 10:16 ./usr/include/c-client/os_mct.h -rw-r--r-- root/root 6711 2013-12-30 10:16 ./usr/include/c-client/unix.h -rw-r--r-- root/root 1359 2013-12-30 10:16 ./usr/include/c-client/os_bsd.h -rw-r--r-- root/root 1680 2013-12-30 10:16 ./usr/include/c-client/os_nto.h -rw-r--r-- root/root 1379 2013-12-30 10:16 ./usr/include/c-client/os_d-g.h -rw-r--r-- root/root 1807 2013-12-30 10:16 ./usr/include/c-client/os_sco.h -rw-r--r-- root/root 1230 2013-12-30 10:16 ./usr/include/c-client/os_a41.h -rw-r--r-- root/root 22967 2013-12-30 10:16 ./usr/include/c-client/utf8.h -rw-r--r-- root/root 825 2013-12-30 10:16 ./usr/include/c-client/ftl.h -rw-r--r-- root/root 1294 2013-12-30 10:16 ./usr/include/c-client/os_osx.h -rw-r--r-- root/root 1122 2013-12-30 10:16 ./usr/include/c-client/os_aix.h -rw-r--r-- root/root 1307 2013-12-30 10:16 ./usr/include/c-client/os_sun.h -rw-r--r-- root/root 2309 2013-12-30 10:16 ./usr/include/c-client/sslio.h -rw-r--r-- root/root 1507 2013-12-30 10:16 ./usr/include/c-client/env.h -rw-r--r-- root/root 1059 2013-12-30 10:16 ./usr/include/c-client/os_bsi.h -rw-r--r-- root/root 838 2013-12-30 10:16 ./usr/include/c-client/pseudo.h -rw-r--r-- root/root 132 2013-12-30 10:16 ./usr/include/c-client/auths.c -rw-r--r-- root/root 1036 2013-12-30 10:16 ./usr/include/c-client/os_ult.h -rw-r--r-- root/root 1531 2013-12-30 10:16 ./usr/include/c-client/os_dyn.h -rw-r--r-- root/root 1738 2013-12-30 10:16 ./usr/include/c-client/os_ptx.h -rw-r--r-- root/root 1775 2013-12-30 10:16 ./usr/include/c-client/tcp.h -rw-r--r-- root/root 1451 2013-12-30 10:16 ./usr/include/c-client/os_drs.h -rw-r--r-- root/root 1230 2013-12-30 10:16 ./usr/include/c-client/os_a32.h -rw-r--r-- root/root 2538 2013-12-30 10:16 ./usr/include/c-client/smtp.h -rw-r--r-- root/root 2061 2013-12-30 10:16 ./usr/include/c-client/os_art.h -rw-r--r-- root/root 1457 2013-12-30 10:16 ./usr/include/c-client/os_pyr.h -rw-r--r-- root/root 1481 2013-12-30 10:16 ./usr/include/c-client/os_lnx.h -rw-r--r-- root/root 1396 2013-12-30 10:16 ./usr/include/c-client/os_sgi.h -rw-r--r-- root/root 3351 2013-12-30 10:16 ./usr/include/c-client/misc.h -rw-r--r-- root/root 8374 2013-12-30 10:16 ./usr/include/c-client/imap4r1.h -rw-r--r-- root/root 1377 2013-12-30 10:16 ./usr/include/c-client/flockcyg.h -rw-r--r-- root/root 1722 2013-12-30 10:16 ./usr/include/c-client/os_isc.h -rw-r--r-- root/root 1224 2013-12-30 10:16 ./usr/include/c-client/tcp_unix.h -rw-r--r-- root/root 1199 2013-12-30 10:16 ./usr/include/c-client/os_os4.h -rw-r--r-- root/root 1205 2013-12-30 10:16 ./usr/include/c-client/os_mnt.h -rw-r--r-- root/root 1838 2013-12-30 10:16 ./usr/include/c-client/os_sv4.h -rw-r--r-- root/root 957 2013-12-30 10:16 ./usr/include/c-client/os_s40.h -rw-r--r-- root/root 1761 2013-12-30 10:16 ./usr/include/c-client/os_sc5.h -rw-r--r-- root/root 1292 2013-12-30 10:16 ./usr/include/c-client/os_aos.h -rw-r--r-- root/root 1634 2013-12-30 10:16 ./usr/include/c-client/os_cyg.h -rw-r--r-- root/root 1481 2013-12-30 10:16 ./usr/include/c-client/os_slx.h -rw-r--r-- root/root 905 2013-12-30 10:16 ./usr/include/c-client/fs.h -rw-r--r-- root/root 1392 2013-12-30 10:16 ./usr/include/c-client/os_hpp.h -rw-r--r-- root/root 541 2013-12-30 10:16 ./usr/include/c-client/linkage.h -rw-r--r-- root/root 1296 2013-12-30 10:16 ./usr/include/c-client/os_a52.h -rw-r--r-- root/root 1486 2013-12-30 10:16 ./usr/include/c-client/newsrc.h -rw-r--r-- root/root 2396 2013-12-30 10:16 ./usr/include/c-client/os_vu2.h -rw-r--r-- root/root 68950 2013-12-30 10:16 ./usr/include/c-client/mail.h -rw-r--r-- root/root 1213 2013-12-30 10:16 ./usr/include/c-client/os_aux.h -rw-r--r-- root/root 1199 2013-12-30 10:16 ./usr/include/c-client/os_sos.h -rw-r--r-- root/root 1261 2013-12-30 10:16 ./usr/include/c-client/os_do4.h -rw-r--r-- root/root 2933 2013-12-30 10:16 ./usr/include/c-client/env_unix.h -rw-r--r-- root/root 1071 2013-12-30 10:16 ./usr/include/c-client/fdstring.h -rw-r--r-- root/root 1529 2013-12-30 10:16 ./usr/include/c-client/utf8aux.h -rw-r--r-- root/root 1077 2013-12-30 10:16 ./usr/include/c-client/os_bsf.h -rw-r--r-- root/root 987 2013-12-30 10:16 ./usr/include/c-client/netmsg.h -rw-r--r-- root/root 1290 2013-12-30 10:16 ./usr/include/c-client/linkage.c -rw-r--r-- root/root 1618 2013-12-30 10:16 ./usr/include/c-client/nntp.h -rw-r--r-- root/root 5421 2013-12-30 10:16 ./usr/include/c-client/rfc822.h -rw-r--r-- root/root 1960 2013-12-30 10:16 ./usr/include/c-client/os_asv.h -rw-r--r-- root/root 1481 2013-12-30 10:16 ./usr/include/c-client/osdep.h -rw-r--r-- root/root 1524 2013-12-30 10:16 ./usr/include/c-client/dummy.h drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/lib/ -rw-r--r-- root/root 1083104 2013-12-30 10:16 ./usr/lib/libc-client.a drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/doc/libc-client2007e-dev/ -rw-r--r-- root/root 435 2012-09-23 20:35 ./usr/share/doc/libc-client2007e-dev/TODO.Debian -rw-r--r-- root/root 1724 2012-09-23 20:35 ./usr/share/doc/libc-client2007e-dev/copyright lrwxrwxrwx root/root 0 2013-12-30 10:16 ./usr/lib/libc-client.so -> libc-client.so.2007e.0 lrwxrwxrwx root/root 0 2013-12-30 10:16 ./usr/share/doc/libc-client2007e-dev/changelog.Debian.gz -> ../libc-client2007e/changelog.Debian.gz lrwxrwxrwx root/root 0 2013-12-30 10:16 ./usr/share/doc/libc-client2007e-dev/locking.txt.gz -> ../libc-client2007e/locking.txt.gz lrwxrwxrwx root/root 0 2013-12-30 10:16 ./usr/share/doc/libc-client2007e-dev/internal.txt.gz -> ../libc-client2007e/internal.txt.gz lrwxrwxrwx root/root 0 2013-12-30 10:16 ./usr/share/doc/libc-client2007e-dev/NEWS.Debian.gz -> ../libc-client2007e/NEWS.Debian.gz chroot-autobuild/build/buildd/libc-client2007e_2007f~dfsg-2_armhf.deb: drwxr-xr-x root/root 0 2013-12-30 10:16 ./ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/lib/ -rw-r--r-- root/root 824256 2013-12-30 10:16 ./usr/lib/libc-client.so.2007e.0 drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-12-30 10:17 ./usr/share/doc/libc-client2007e/ -rw-r--r-- root/root 2629 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/Y2K.gz -rw-r--r-- root/root 3569 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/formats.txt.gz -rw-r--r-- root/root 3784 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/md5.txt -rw-r--r-- root/root 1724 2012-09-23 20:35 ./usr/share/doc/libc-client2007e/copyright -rw-r--r-- root/root 40955 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/FAQ.txt.gz -rw-r--r-- root/root 6422 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/calendar.txt.gz -rw-r--r-- root/root 2856 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/drivers.txt.gz -rw-r--r-- root/root 155953 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/FAQ.html -rw-r--r-- root/root 7527 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/locking.txt.gz -rw-r--r-- root/root 1979 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/naming.txt.gz -rw-r--r-- root/root 12055 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/RELNOTES.gz -rw-r--r-- root/root 4149 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/bugs.txt.gz -rw-r--r-- root/root 2058 2013-12-30 10:16 ./usr/share/doc/libc-client2007e/README.Debian.gz -rw-r--r-- root/root 31555 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/internal.txt.gz -rw-r--r-- root/root 8639 2011-07-23 00:20 ./usr/share/doc/libc-client2007e/imaprc.txt.gz lrwxrwxrwx root/root 0 2013-12-30 10:16 ./usr/lib/libc-client.so.2007e -> libc-client.so.2007e.0 lrwxrwxrwx root/root 0 2013-12-30 10:17 ./usr/share/doc/libc-client2007e/changelog.Debian.gz -> ../mlock/changelog.Debian.gz lrwxrwxrwx root/root 0 2013-12-30 10:17 ./usr/share/doc/libc-client2007e/NEWS.Debian.gz -> ../mlock/NEWS.Debian.gz chroot-autobuild/build/buildd/mlock_2007f~dfsg-2_armhf.deb: drwxr-xr-x root/root 0 2013-12-30 10:16 ./ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/lintian/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 50 2008-08-19 18:53 ./usr/share/lintian/overrides/mlock drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-12-30 10:17 ./usr/share/doc/mlock/ -rw-r--r-- root/root 3462 2013-12-30 10:17 ./usr/share/doc/mlock/changelog.Debian.gz -rw-r--r-- root/root 1724 2012-09-23 20:35 ./usr/share/doc/mlock/copyright -rw-r--r-- root/root 921 2013-12-30 10:16 ./usr/share/doc/mlock/NEWS.Debian.gz drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/man/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/man/man1/ -rw-r--r-- root/root 2142 2013-12-30 10:16 ./usr/share/man/man1/mlock.1.gz drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/bin/ -rwxr-sr-x root/mail 9792 2013-12-30 10:16 ./usr/bin/mlock chroot-autobuild/build/buildd/uw-mailutils_2007f~dfsg-2_armhf.deb: drwxr-xr-x root/root 0 2013-12-30 10:16 ./ drwxr-xr-x root/root 0 2013-12-30 10:16 ./etc/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./etc/logcheck/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./etc/logcheck/ignore.d.server/ -rw-r--r-- root/root 247 2013-12-30 10:16 ./etc/logcheck/ignore.d.server/uw-mailutils drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/doc/ drwxr-xr-x root/root 0 2013-12-30 10:17 ./usr/share/doc/uw-mailutils/ -rw-r--r-- root/root 1724 2012-09-23 20:35 ./usr/share/doc/uw-mailutils/copyright -rw-r--r-- root/root 336 2013-12-30 10:16 ./usr/share/doc/uw-mailutils/README.Debian drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/man/ drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/share/man/man1/ -rw-r--r-- root/root 1583 2013-12-30 10:16 ./usr/share/man/man1/dmail.1.gz -rw-r--r-- root/root 2954 2013-12-30 10:16 ./usr/share/man/man1/mailutil.1.gz -rw-r--r-- root/root 2666 2013-12-30 10:16 ./usr/share/man/man1/tmail.1.gz drwxr-xr-x root/root 0 2013-12-30 10:16 ./usr/bin/ -rwxr-xr-x root/root 18244 2013-12-30 10:16 ./usr/bin/tmail -rwxr-xr-x root/root 22456 2013-12-30 10:16 ./usr/bin/mailutil -rwxr-xr-x root/root 14120 2013-12-30 10:16 ./usr/bin/dmail lrwxrwxrwx root/root 0 2013-12-30 10:17 ./usr/share/doc/uw-mailutils/changelog.Debian.gz -> ../mlock/changelog.Debian.gz lrwxrwxrwx root/root 0 2013-12-30 10:17 ./usr/share/doc/uw-mailutils/NEWS.Debian.gz -> ../mlock/NEWS.Debian.gz uw-imap_2007f~dfsg-2_armhf.changes: Format: 1.8 Date: Thu, 25 Oct 2012 23:00:39 +0200 Source: uw-imap Binary: libc-client2007e-dev libc-client2007e mlock uw-mailutils Architecture: armhf Version: 8:2007f~dfsg-2 Distribution: trusty-proposed Urgency: medium Maintainer: Ubuntu/armhf Build Daemon Changed-By: Magnus Holmgren Description: libc-client2007e - c-client library for mail protocols - library files libc-client2007e-dev - c-client library for mail protocols - development files mlock - mailbox locking program uw-mailutils - c-client support programs Closes: 682256 686448 Changes: uw-imap (8:2007f~dfsg-2) unstable; urgency=medium . * New maintainer (Closes: #686448). * Disable unnecessarily strict version check (Closes: #682256). Checksums-Sha1: 0fab646e194625a24a5cc76a37cb577a1ee2fcf1 431044 libc-client2007e-dev_2007f~dfsg-2_armhf.deb 72e5e1cb703a2da1e5d4ff1cc8fc7ce9646b4784 547640 libc-client2007e_2007f~dfsg-2_armhf.deb 62036a8e53e43cc65afbbcaa788af8c47fe672a9 11944 mlock_2007f~dfsg-2_armhf.deb 9e01066220d0fc738c07dd9a02b8f5fe1c54d826 30300 uw-mailutils_2007f~dfsg-2_armhf.deb Checksums-Sha256: 80d78cf7221b32d6c4f3fc6a2367a70b5a81bf3b3f1c3cdcb76d732cfe92c7e4 431044 libc-client2007e-dev_2007f~dfsg-2_armhf.deb 2308bfc7cadaef3edce9caa14bc47a6a2c106a56dffcb58db4f70337ab0549e1 547640 libc-client2007e_2007f~dfsg-2_armhf.deb 43b7744e4f03f57ab7c5decc7bfaed9be6ab9b28240f73d997469586002995f8 11944 mlock_2007f~dfsg-2_armhf.deb cb652233afc4d991be30d1bdd5f33e3e130ff736ae07473c72cf8986a0f4faf5 30300 uw-mailutils_2007f~dfsg-2_armhf.deb Files: 1197a6cc43868c7f22a227078e5109b2 431044 libdevel extra libc-client2007e-dev_2007f~dfsg-2_armhf.deb 7e690a6f2ae922b4f2205dd6a60d5538 547640 libs optional libc-client2007e_2007f~dfsg-2_armhf.deb 1f2b31dbced7fdcdcece01dfcdf66172 11944 mail optional mlock_2007f~dfsg-2_armhf.deb 2770ebb2f317cc0dca823c8e0f5e46b3 30300 mail optional uw-mailutils_2007f~dfsg-2_armhf.deb ****************************************************************************** Built successfully ****************************************************************************** Finished at 20131230-1017 Build needed 00:05:39, 23336k disk space RUN: /usr/share/launchpad-buildd/slavebin/scan-for-processes ['scan-for-processes', 'PACKAGEBUILD-5395779'] Scanning for processes to kill in build /home/buildd/build-PACKAGEBUILD-5395779/chroot-autobuild... RUN: /usr/share/launchpad-buildd/slavebin/umount-chroot ['umount-chroot', 'PACKAGEBUILD-5395779'] Unmounting chroot for build PACKAGEBUILD-5395779... RUN: /usr/share/launchpad-buildd/slavebin/remove-build ['remove-build', 'PACKAGEBUILD-5395779'] Removing build PACKAGEBUILD-5395779