=>> Building editors/pico-alpine build started at Thu Apr 4 21:09:36 BST 2024 port directory: /usr/ports/editors/pico-alpine package name: pico-alpine-2.26_1 building for: FreeBSD pkg-builder.dan.net.uk 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 amd64 maintained by: mbeis@xs4all.nl Makefile datestamp: -rw-r--r-- 1 root wheel 955 Feb 25 10:26 /usr/ports/editors/pico-alpine/Makefile Ports top last git commit: c2c35d895e Ports top unclean checkout: yes Port dir last git commit: dc3283a0f2 Port dir unclean checkout: no Poudriere version: poudriere-git-3.4.99.20240122_1 Host OSVERSION: 1400097 Jail OSVERSION: 1302001 Job Id: 04 ---Begin Environment--- SHELL=/bin/csh OSVERSION=1302001 UNAME_v=FreeBSD 13.2-RELEASE-p10 UNAME_r=13.2-RELEASE-p10 BLOCKSIZE=K MAIL=/var/mail/root MM_CHARSET=UTF-8 LANG=C.UTF-8 STATUS=1 HOME=/root PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin MAKE_OBJDIR_CHECK_WRITABLE=0 LOCALBASE=/usr/local USER=root POUDRIERE_NAME=poudriere-git LIBEXECPREFIX=/usr/local/libexec/poudriere POUDRIERE_VERSION=3.4.99.20240122_1 MASTERMNT=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref LC_COLLATE=C POUDRIERE_BUILD_TYPE=bulk PACKAGE_BUILDING=yes SAVED_TERM=screen OUTPUT_REDIRECTED_STDERR=4 OUTPUT_REDIRECTED=1 PWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/04/.p OUTPUT_REDIRECTED_STDOUT=3 P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS MASTERNAME=13-amd64-default-dan SCRIPTPREFIX=/usr/local/share/poudriere SCRIPTNAME=bulk.sh OLDPWD=/usr/local/poudriere/data/.m/13-amd64-default-dan/ref/.p/pool POUDRIERE_PKGNAME=poudriere-git-3.4.99.20240122_1 SCRIPTPATH=/usr/local/share/poudriere/bulk.sh POUDRIEREPATH=/usr/local/bin/poudriere ---End Environment--- ---Begin Poudriere Port Flags/Env--- PORT_FLAGS= PKGENV= FLAVOR= MAKE_ARGS= ---End Poudriere Port Flags/Env--- ---Begin OPTIONS List--- ===> The following configuration options are available for pico-alpine-2.26_1: ASPELL=on: Spell checking support via GNU Aspell DOCS=on: Build and/or install documentation MAILDIR=off: Add a patch to support maildir MOUSE=on: Mouse support NLS=on: Native Language Support NTLM=off: Support for Windows NT Lan Manager authentication THREADS=on: Threading support ===> Use 'make config' to modify these settings ---End OPTIONS List--- --MAINTAINER-- mbeis@xs4all.nl --End MAINTAINER-- --CONFIGURE_ARGS-- --with-debug-level=2 --enable-background-post --without-krb5 --without-tcl --with-system-pinerc=/usr/local/etc/alpine.conf --with-system-fixed-pinerc=/usr/local/etc/alpine.conf.fixed --with-password-prog=/usr/bin/passwd --with-system-mail-directory=/var/mail --with-ssl-dir=/usr/local/openssl --with-ssl-include-dir=/usr/local/include --with-ssl-lib-dir=/usr/local/lib --with-ssl-certs-dir=/usr/local/openssl/certs --with-interactive-spellcheck=/usr/local/bin/aspell --without-ipv6 --without-ldap --enable-mouse --enable-nls --without-ntlm --without-passfile --with-pthread --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- XDG_DATA_HOME=/wrkdirs/usr/ports/editors/pico-alpine/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/pico-alpine/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/pico-alpine/work/.cache HOME=/wrkdirs/usr/ports/editors/pico-alpine/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/editors/pico-alpine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/pico-alpine/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCACHE_DIR="/root/.ccache" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288 --End CONFIGURE_ENV-- --MAKE_ENV-- OPENSSLBASE=/usr/local OPENSSLDIR=/usr/local/openssl OPENSSLINC=/usr/local/include OPENSSLLIB=/usr/local/lib OPENSSLRPATH=/usr/local/lib XDG_DATA_HOME=/wrkdirs/usr/ports/editors/pico-alpine/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/pico-alpine/work XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/pico-alpine/work/.cache HOME=/wrkdirs/usr/ports/editors/pico-alpine/work TMPDIR="/tmp" PATH=/ccache/libexec/ccache:/wrkdirs/usr/ports/editors/pico-alpine/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/pico-alpine/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local CC="cc" CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CPP="cpp" CPPFLAGS="" LDFLAGS=" -Wl,-rpath,/usr/local/lib -fstack-protector-strong " LIBS="" CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " CCACHE_DIR="/root/.ccache" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- PORTDOCS="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pico-alpine" EXAMPLESDIR="share/examples/pico-alpine" DATADIR="share/pico-alpine" WWWDIR="www/pico-alpine" ETCDIR="etc/pico-alpine" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/pico-alpine DOCSDIR=/usr/local/share/doc/pico-alpine EXAMPLESDIR=/usr/local/share/examples/pico-alpine WWWDIR=/usr/local/www/pico-alpine ETCDIR=/usr/local/etc/pico-alpine --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles FORCE_PACKAGE=yes PACKAGE_BUILDING=yes PACKAGE_BUILDING_FLAVORS=yes #### #### CCACHE_CPP2=1 WITH_SSP_PORTS=yes WITH_SSP=yes #WITH_LTO=yes DISABLE_LICENSES=yes LICENSES_ACCEPTED=AGPLv3 APACHE10 APACHE11 APACHE20 ART10 ARTPERL10 ART20 BSD BSD2CLAUSE BSD3CLAUSE BSD4CLAUSE BSL CC0-1.0 CDDL ClArtistic EPL GFDL GMGPL GPLv1 GPLv2 GPLv3 GPLv3RLE ISCL LGPL20 LGPL21 LGPL3 LPPL10 LPPL11 LPPL12 LPPL13 LPPL13a LPPL13b LPPL13c MIT MPL OpenSSL OFL10 OFL11 OWL PostgreSQL PHP202 PHP30 PHP301 PSFL RUBY ZLIB ZPL21 SVM-Light EULA ALASIR Microsoft-exFAT SIMIAN UDEVGAME unknown MTA COMMERCIAL teamspeak NO_LICENSES_DIALOGS=yes #### #### NO_IGNORE=yes DEFAULT_VERSIONS+=ssl=openssl mysql=8.0 imagemagick=7 samba=4.13 java=18 WITH_SETID_MODE=force PHP_ZTS=enabled OPTIONS_UNSET+=OPENJPEG OPTIONS_UNSET+=GSSAPI_BASE OPTIONS_SET+=ZTS OPTIONS_SET+=GSSAPI_NONE WITH_CCACHE_BUILD=yes CCACHE_DIR=/root/.ccache NO_CCACHE_DEPEND=1 CCACHE_WRAPPER_PATH= /ccache/libexec/ccache #### Misc Poudriere #### .include "/etc/make.conf.ports_env" GID=0 UID=0 DISABLE_MAKE_JOBS=poudriere ---End make.conf--- --Resource limits-- cpu time (seconds, -t) unlimited file size (512-blocks, -f) unlimited data seg size (kbytes, -d) 33554432 stack size (kbytes, -s) 524288 core file size (512-blocks, -c) unlimited max memory size (kbytes, -m) unlimited locked memory (kbytes, -l) unlimited max user processes (-u) 89999 open files (-n) 8192 virtual mem size (kbytes, -v) unlimited swap limit (kbytes, -w) unlimited socket buffer size (bytes, -b) unlimited pseudo-terminals (-p) unlimited kqueues (-k) unlimited umtx shared locks (-o) unlimited --End resource limits-- =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pico-alpine-2.26_1 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.20.9_1.pkg [pkg-builder.dan.net.uk] Installing pkg-1.20.9_1... [pkg-builder.dan.net.uk] Extracting pkg-1.20.9_1: .......... done ===> pico-alpine-2.26_1 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of pico-alpine-2.26_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pico-alpine-2.26_1 for building =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pico-alpine-2.26_1 for building => SHA256 Checksum OK for alpine-2.26.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Fetching all distfiles required by pico-alpine-2.26_1 for building ===> Extracting for pico-alpine-2.26_1 => SHA256 Checksum OK for alpine-2.26.tar.gz. =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Patching for pico-alpine-2.26_1 =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pico-alpine-2.26_1 depends on executable: aspell - not found ===> Installing existing package /packages/All/aspell-0.60.8.1_1,1.pkg [pkg-builder.dan.net.uk] Installing aspell-0.60.8.1_1,1... [pkg-builder.dan.net.uk] `-- Installing gettext-runtime-0.22.3_1... [pkg-builder.dan.net.uk] | `-- Installing indexinfo-0.3.1... [pkg-builder.dan.net.uk] | `-- Extracting indexinfo-0.3.1: . done [pkg-builder.dan.net.uk] `-- Extracting gettext-runtime-0.22.3_1: .......... done [pkg-builder.dan.net.uk] `-- Installing perl5-5.36.3_1... [pkg-builder.dan.net.uk] `-- Extracting perl5-5.36.3_1: .......... done [pkg-builder.dan.net.uk] Extracting aspell-0.60.8.1_1,1: .......... done ===> pico-alpine-2.26_1 depends on executable: aspell - found ===> Returning to build of pico-alpine-2.26_1 ===> pico-alpine-2.26_1 depends on file: /usr/local/lib/libcrypto.so.12 - not found ===> Installing existing package /packages/All/openssl-3.0.13_1,1.pkg [pkg-builder.dan.net.uk] Installing openssl-3.0.13_1,1... [pkg-builder.dan.net.uk] Extracting openssl-3.0.13_1,1: .......... done ===> pico-alpine-2.26_1 depends on file: /usr/local/lib/libcrypto.so.12 - found ===> Returning to build of pico-alpine-2.26_1 ===> pico-alpine-2.26_1 depends on package: gettext-runtime>=0.22_1 - found =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pico-alpine-2.26_1 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Configuring for pico-alpine-2.26_1 ===> FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/editors/pico-alpine/work/alpine-9726c09/config.rpath configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... amd64-portbld-freebsd13.2 checking host system type... amd64-portbld-freebsd13.2 configure: Configuring for alpine 2.26 (amd64-portbld-freebsd13.2) checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of cc... gcc3 checking how to run the C preprocessor... cpp checking for amd64-portbld-freebsd13.2-gcc... no checking for gcc... no checking for amd64-portbld-freebsd13.2-cc... no checking for cc... cc checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking how to run the C preprocessor... cc -E checking for cc option to accept ISO C99... none needed checking for cc option to accept ISO Standard C... (cached) none needed checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) /usr/bin/awk checking how to print strings... printf checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking the maximum length of command line arguments... (cached) 524288 checking how to convert amd64-portbld-freebsd13.2 file names to amd64-portbld-freebsd13.2 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd13.2 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... no checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd13.2 ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for ar... /usr/bin/ar checking for rm... /bin/rm checking for cp... /bin/cp checking for ln... /bin/ln checking for ls... /bin/ls checking for sed... (cached) /usr/bin/sed checking for make... /usr/bin/make checking whether NLS is requested... yes checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... no checking for iconv... yes checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib checking option: dmalloc enabled... no checking option: debugging is enabled... yes checking option: optimization is enabled... yes checking option: mouse support enabled... yes checking option: quotas enabled... no checking option: From changing enabled... yes checking option: background post enabled... yes checking option: keyboard lock enabled... yes checking option: from encoding enabled... no checking for sendmail... /usr/sbin/sendmail checking for inews... no checking for /usr/bin/passwd... no checking for hunspell... no checking for aspell... aspell checking for aspell... /usr/local/bin/aspell checking for /usr/local/bin/aspell... no configure: Excluding LDAP Support configure: Excluding TCL Support, and thus Web Alpine Support configure: * * * Setting up .alpine.pwd as default password file configure: --with-passfile definition overrides OS-Specific password caching configure: Excluding IPv6 Support checking for setupterm in -ltinfo... yes checking for library containing dlopen... none required checking if OpenSSL is LibreSSL... no checking Openssl library version >= 1.0.0c... yes checking Openssl library version >= 1.1.0... yes checking for library containing OpenSSL_version_num... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for library containing crypt... -lcrypt checking for library containing regcomp... none required checking regex.h usability... yes checking regex.h presence... yes checking for regex.h... yes checking for pthread support... checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... -D_THREAD_SAFE yes checking for library containing nanosleep... none required checking for ANSI C header files... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether stat file-mode macros are broken... no checking for sys/wait.h that is POSIX.1 compatible... (cached) yes checking whether time.h and sys/time.h may both be included... yes checking whether termios.h defines TIOCGWINSZ... yes checking for unistd.h... (cached) yes checking for errno.h... (cached) yes checking for ctype.h... (cached) yes checking for fcntl.h... (cached) yes checking for signal.h... (cached) yes checking setjmp.h usability... yes checking setjmp.h presence... yes checking for setjmp.h... yes checking for memory.h... (cached) yes checking for sys/ioctl.h... (cached) yes checking for sys/param.h... (cached) yes checking for sys/socket.h... (cached) yes checking for sys/uio.h... (cached) yes checking for sys/un.h... (cached) yes checking for limits.h... (cached) yes checking for wchar.h... (cached) yes checking for sys/poll.h... (cached) yes checking stropts.h usability... no checking stropts.h presence... no checking for stropts.h... no checking for netdb.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking sys/syslog.h usability... yes checking sys/syslog.h presence... yes checking for sys/syslog.h... yes checking for locale.h... (cached) yes checking for langinfo.h... (cached) yes checking for utime.h... (cached) yes checking sys/utime.h usability... no checking sys/utime.h presence... no checking for sys/utime.h... no checking for pthread.h... (cached) yes checking for pwd.h... (cached) yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking return type of signal handlers... void checking for size_t... (cached) yes checking for mode_t... (cached) yes checking for pid_t... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking whether struct tm is in sys/time.h or time.h... time.h checking for union wait... no checking for stdint.h... (cached) yes checking for stdint.h... (cached) yes checking argument pointer type of qsort compare function and base... void checking for sys/select.h... (cached) yes checking for sys/socket.h... (cached) yes checking types of arguments for select... int,fd_set *,struct timeval * checking for working strcoll... yes checking for vfork.h... (cached) no checking for fork... (cached) yes checking for vfork... (cached) yes checking for working fork... yes checking for working vfork... (cached) yes checking for strchr... (cached) yes checking for memcpy... (cached) yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for select... (cached) yes checking for poll... (cached) yes checking for qsort... yes checking for getuid... (cached) yes checking for getpwuid... yes checking for getpwnam... yes checking for gettimeofday... (cached) yes checking for tmpfile... yes checking for uname... (cached) yes checking for rename... (cached) yes checking for read... yes checking for signal... yes checking for setjmp... yes checking for chown... (cached) yes checking for wait4... (cached) yes checking for waitpid... (cached) yes checking for wait... (cached) yes checking for srandom... (cached) yes checking for popen... yes checking for pclose... yes checking for fsync... (cached) yes checking for truncate... (cached) yes checking for listen... yes checking for wcwidth... (cached) yes checking for mbstowcs... (cached) yes checking for wcrtomb... (cached) yes checking for wctomb... yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for library containing gethostname... none required checking for library containing socket... none required checking for library containing bind... none required checking for sigaction... (cached) yes checking for sigemptyset... yes checking for sigaddset... yes checking for sigprocmask... (cached) yes checking for library containing syslog... none required configure: * * * S/MIME support enabled configure: * * * No certificates found in "/usr/local/openssl/certs". configure: * * * This might indicate that CA certs did not get properly configure: * * * installed. If you get certificate validation failures configure: * * * in Alpine, this might be the reason for them. configure: * * * TCL libraries could not be found. configure: * * * WEB ALPINE COMPONENT WILL NOT BE BUILT. checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating pith/osdep/Makefile config.status: creating pith/charconv/Makefile config.status: creating pith/Makefile config.status: creating pico/osdep/Makefile config.status: creating pico/Makefile config.status: creating alpine/osdep/Makefile config.status: creating alpine/Makefile config.status: creating web/src/Makefile config.status: creating web/src/pubcookie/Makefile config.status: creating web/src/alpined.d/Makefile config.status: creating Makefile config.status: creating include/config.h config.status: executing depfiles commands config.status: executing libtool commands rm: libtoolT: No such file or directory config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building for pico-alpine-2.26_1 if test ! -L c-client ; then ln -s imap/c-client c-client ; fi true cd imap && /usr/bin/make bsf EXTRACFLAGS=" -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo" EXTRAAUTHENTICATORS="" EXTRASPECIALS="IP6=4 SSLINCLUDE=/usr/local/include SSLLIB=/usr/local/lib SSLDIR=/usr/local/openssl SSLCERTS=/usr/local/openssl/certs SSLKEYS=/etc/ssl/private" BUNDLED="no" +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + Building in full compliance with RFC 3501 security + requirements: ++ TLS/SSL encryption is supported ++ Unencrypted plaintext passwords are prohibited +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Applying an process to sources... tools/an "ln -s" src/c-client c-client tools/an "ln -s" src/ansilib c-client tools/an "ln -s" src/charset c-client tools/an "ln -s" src/osdep/unix c-client tools/an "ln -s" src/mtest mtest tools/an "ln -s" src/ipopd ipopd tools/an "ln -s" src/imapd imapd tools/an "ln -s" src/mailutil mailutil tools/an "ln -s" src/mlock mlock tools/an "ln -s" src/dmail dmail tools/an "ln -s" src/tmail tmail ln -s tools/an . touch ip6 make build EXTRACFLAGS='-I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='IP6=4 SSLINCLUDE=/usr/local/include SSLLIB=/usr/local/lib SSLDIR=/usr/local/openssl SSLCERTS=/usr/local/openssl/certs SSLKEYS=/etc/ssl/private' BUNDLED='no' BUILDTYPE=bsf IP=6 PASSWDTYPE=pam SPECIALS="GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam" `ip6' is up to date. Building c-client for bsf... echo `cat SPECIALS` IP6=4 SSLINCLUDE=/usr/local/include SSLLIB=/usr/local/lib SSLDIR=/usr/local/openssl SSLCERTS=/usr/local/openssl/certs SSLKEYS=/etc/ssl/private > c-client/SPECIALS cd c-client;make bsf EXTRACFLAGS='-I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam IP6=4 SSLINCLUDE=/usr/local/include SSLLIB=/usr/local/lib SSLDIR=/usr/local/openssl SSLCERTS=/usr/local/openssl/certs SSLKEYS=/etc/ssl/private BUNDLED='no' make build EXTRACFLAGS='-I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=pam SSLTYPE=nopwd IP=6 `cat SPECIALS` OS=bsf SIGTYPE=psx CRXTYPE=nfs SPOOLDIR=/var ACTIVEFILE=/usr/local/news/lib/active RSHPATH=/usr/bin/rsh BASECFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing " BASELDFLAGS="-lcrypt" sh -c 'rm -rf auths.c crexcl.c ip_unix.c linkage.[ch] siglocal.c osdep*.[ch] *.o ARCHIVE *FLAGS *TYPE c-client.a || true' Once-only environment setup... echo cc > CCTYPE echo -O2 -pipe -fstack-protector-strong -fno-strict-aliasing '-I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' -DCHUNKSIZE=65536 > CFLAGS echo -DCREATEPROTO=unixproto -DEMPTYPROTO=unixproto -DMD5ENABLE=\"/etc/cram-md5.pwd\" -DMAILSPOOL=\"/var/mail\" -DANONYMOUSHOME=\"/var/mail/anonymous\" -DACTIVEFILE=\"/usr/local/news/lib/active\" -DNEWSSPOOL=\"/var/news\" -DRSHPATH=\"/usr/bin/rsh\" -DLOCKPGM=\"\" -DLOCKPGM1=\"/usr/libexec/mlock\" -DLOCKPGM2=\"/usr/sbin/mlock\" -DLOCKPGM3=\"/etc/mlock\" -DLOCKPGM4=\"/usr/bin/mlock\" > OSCFLAGS echo -lcrypt -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo > LDFLAGS echo "ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o sha.o;ranlib c-client.a" > ARCHIVE echo bsf > OSTYPE ./drivers mbox imap nntp pop3 mix mx mbx tenex mtx mh mmdf unix news phile dummy ./mkauths ext md5 pla log bea oa2 echo " mail_versioncheck (CCLIENTVERSION);" >> linkage.c sh -c '(test nopwd != none) && echo "int pith_ssl_encryption_version(char *);" >> linkage.h || true' ln -s os_bsf.h osdep.h ln -s os_bsf.c osdepbas.c ln -s log_std.c osdeplog.c ln -s sig_psx.c siglocal.c ln -s crx_nfs.c crexcl.c ln -s ip6_unix.c ip_unix.c sh -c '(test bsf = sc5 -o bsf = sco -o ! -f /usr/include/sys/statvfs.h) && echo -DNOFSTATVFS >> OSCFLAGS || grep -F statvfs64 /usr/include/sys/statvfs.h > /dev/null || echo -DNOFSTATVFS64 >> OSCFLAGS' PAM password authentication echo -lpam >> LDFLAGS ln -s ckp_pam.c osdepckp.c Building with SSL ln -s ssl_unix.c osdepssl.c echo -I/usr/local/include -I/usr/local/include/openssl -DSSL_CERT_DIRECTORY=\"/usr/local/openssl/certs\" -DSSL_KEY_DIRECTORY=\"/etc/ssl/private\" >> OSCFLAGS echo " ssl_onceonlyinit ();" >> linkage.c echo -L/usr/local/lib -lssl -lcrypto >> LDFLAGS Building with SSL and plaintext passwords disabled unless SSL/TLS echo " mail_parameters (NIL,SET_DISABLEPLAINTEXT,(void *) 2);" >> linkage.c cat osdepbas.c osdepckp.c osdeplog.c osdepssl.c > osdep.c Building OS-dependent module If you get No such file error messages for files x509.h, ssl.h, pem.h, buffer.h, bio.h, and crypto.h, that means that OpenSSL is not installed on your system. Either install OpenSSL first or build with command: make bsf SSLTYPE=none `cat CCTYPE` -c `cat CFLAGS` `cat OSCFLAGS` -c osdep.c In file included from osdep.c:46: In file included from ./env_unix.c:259: ./pmatch.c:41:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!pat[1]) return (delim && strchr (s,delim)) ? NIL : T; ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:202:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(read (fd,buf = (char *) fs_get (sbuf.st_size + 1),sbuf.st_size) < 0) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./auth_md5.c:205:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = user; *s && ((*s < 'A') || (*s > 'Z')); s++); ^ ~~~~ ./auth_md5.c:207:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lusr = *s ? lcase (cpystr (user)) : NIL; ^~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:208:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = strtok_r ((char *) buf,"\015\012",&r),lret = NIL; s; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./auth_md5.c:209:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = ret ? NIL : strtok_r (NIL,"\015\012",&r)) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./auth_md5.c:211:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:211:35: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (*s && (*s != '#') && (t = strchr (s,'\t')) && t[1]) { ^ ~~~~~~~~~~~~~~~ ./auth_md5.c:213:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:213:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (s,user)) ret = cpystr (t); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:214:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:214:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (lusr && !lret) if (!strcmp (s,lusr)) lret = t; ^~~~ /usr/include/string.h:86:39: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ In file included from osdep.c:46: In file included from ./env_unix.c:263: In file included from ./auths.c:2: ./auth_md5.c:217:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!ret && lret) ret = cpystr (lret); ^~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ In file included from osdep.c:46: ./env_unix.c:679:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] struct passwd *pw = getpwnam (user); ^~~~ /usr/include/pwd.h:150:37: note: passing argument to parameter here struct passwd *getpwnam(const char *); ^ In file included from osdep.c:46: ./env_unix.c:683:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ In file included from osdep.c:46: ./env_unix.c:683:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:46: ./env_unix.c:683:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pw = getpwnam (s = lcase (cpystr (user))); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/pwd.h:150:37: note: passing argument to parameter here struct passwd *getpwnam(const char *); ^ In file included from osdep.c:46: ./env_unix.c:709:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = pwuser (user); /* validated, get passwd entry for user */ ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here static struct passwd *pwuser (unsigned char *user) ^ ./env_unix.c:714:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((pw = pwuser (user)) != NULL) {/* can get user? */ ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here static struct passwd *pwuser (unsigned char *user) ^ ./env_unix.c:717:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*pwd == ' ') && pwd[1] && (ret = pwuser (s))) ^ ./env_unix.c:676:46: note: passing argument to parameter 'user' here static struct passwd *pwuser (unsigned char *user) ^ ./env_unix.c:748:58: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (valpwd (authuser,pwd,argc,argv)) pw = pwuser (user); ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here static struct passwd *pwuser (unsigned char *user) ^ ./env_unix.c:766:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return pw_login (pwuser (user),authuser,user,NIL,argc,argv); ^~~~ ./env_unix.c:676:46: note: passing argument to parameter 'user' here static struct passwd *pwuser (unsigned char *user) ^ ./env_unix.c:805:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:805:59: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (user && auser && *auser && compare_cstring (auser,user)) { ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:808:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:808:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (auser,*t++)) ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1093:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1093:54: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (dst,"%s/%s",s,compare_cstring (name+8,"INBOX") ? ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1103:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1103:67: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((s = strchr (name+1,'/')) && !compare_cstring (s+1,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1127:55: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1127:59: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = strchr (name,'/')) && compare_cstring (s+1,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1141:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1141:29: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,"INBOX")) name = "INBOX"; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1155:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1155:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name+1,"NBOX")) { ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1606:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1606:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set keywords") && !userFlags[0]) { ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1620:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1620:28: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set new-mailbox-format") || ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1621:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1621:28: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"set new-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1622:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1622:30: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"same-as-inbox")) { ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1624:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1624:33: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (d->name,"mbox")) ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1627:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1627:38: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (d->name,"dummy")) d = NIL; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1631:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1631:35: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1634:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1634:32: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"mbox")) k = "unix"; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1645:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1645:28: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set empty-mailbox-format") || ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1646:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1646:28: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"set empty-folder-format")) { ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1647:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1647:30: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"invalid")) appendProto = NIL; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1648:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1648:35: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"same-as-inbox")) ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1650:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1650:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (d->name,"dummy")) ? ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1652:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1652:35: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"system-standard")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1656:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1656:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d && compare_cstring (d->name,k); d = d->next); ^ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1667:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1667:26: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set local-host")) { ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1671:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1671:31: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set news-active-file")) { ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1675:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1675:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set news-spool-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1679:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1679:31: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mh-path")) ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1681:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1681:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mh-allow-inbox")) ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1683:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1683:31: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set news-state-file")) { ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1687:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1687:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-export-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1691:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1691:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set public-home-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1695:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1695:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set shared-home-directory")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1699:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1699:31: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set system-inbox")) { ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1703:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1703:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mail-subdirectory")) { ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1707:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1707:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set from-widget")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1709:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (k,"header-only") ? ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1709:26: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (k,"header-only") ? ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1712:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1712:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-command")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1714:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1714:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-path")) ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1716:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1716:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-command")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1718:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1718:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-path")) ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1720:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1720:31: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-open-timeout")) ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1722:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1722:31: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-read-timeout")) ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1724:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1724:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set tcp-write-timeout")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1726:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1726:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set rsh-timeout")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1728:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1728:31: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ssh-timeout")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1730:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1730:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set maximum-login-trials")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1732:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1732:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set lookahead")) ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1734:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1734:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set prefetch")) ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1736:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1736:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set close-on-error")) ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1738:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1738:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set imap-port")) ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1740:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1740:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set pop3-port")) ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1742:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1742:31: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set uid-lookahead")) ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1744:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1744:31: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set try-ssl-first")) ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1747:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1747:31: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set mailbox-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1749:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1749:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1751:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1751:31: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set lock-protection")) ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1753:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1753:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-protection")) ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1755:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1755:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set public-protection")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1757:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1757:31: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set shared-protection")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1759:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1759:31: warning: passing 'char[29]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set ftp-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1761:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1761:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set public-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1763:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1763:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set shared-directory-protection")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1765:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1765:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set dot-lock-file-timeout")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1767:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1767:31: warning: passing 'char[26]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-fcntl-locking")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1769:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1769:31: warning: passing 'char[25]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-lock-warning")) ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1771:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1771:31: warning: passing 'char[35]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-unix-UIDs-and-keywords")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1773:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1773:31: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set hide-dot-files")) ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1775:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1775:31: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set list-maximum-level")) ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1777:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1777:31: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set trust-dns")) ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1779:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1779:31: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set sasl-uses-ptr-name")) ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1781:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1781:31: warning: passing 'char[32]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set network-filesystem-stat-bug")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1783:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1783:31: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set nntp-range")) ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1787:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1787:28: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"set black-box-directory") && ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1789:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1789:32: warning: passing 'char[37]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s,"set black-box-default-home-directory")&& ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1792:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1792:33: warning: passing 'char[29]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set anonymous-home-directory") && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1799:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1799:33: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-path")) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1801:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-container")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1801:33: warning: passing 'char[29]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set CA-certificate-container")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1803:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1803:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set disable-plaintext")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1805:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1805:33: warning: passing 'char[27]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set allowed-login-attempts")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1807:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1807:33: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set chroot-server")) ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1809:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1809:33: warning: passing 'char[28]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set restrict-mailbox-access")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1811:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1811:32: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (k,"root")) restrictBox |= RESTRICTROOT; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1812:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1812:37: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"otherusers")) ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1814:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1814:37: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (k,"all")) restrictBox = -1; ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1816:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1816:33: warning: passing 'char[24]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set advertise-the-world")) ^~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1818:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1818:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set limited-advertise")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1821:7: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1821:9: warning: passing 'char[40]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (s,"set disable-automatic-shared-namespaces")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1823:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1823:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set allow-user-config")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1825:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1825:33: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set allow-reverse-dns")) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1827:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1827:33: warning: passing 'char[28]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set k5-cp-uses-service-name")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1831:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1831:33: warning: passing 'char[30]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"set plaintext-allowed-clients")) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from osdep.c:46: ./env_unix.c:1910:6: warning: address of array 'userFlags' will always evaluate to 'true' [-Wpointer-bool-conversion] if(userFlags){ ~~ ^~~~~~~~~ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:130:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { ^~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:130:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,text)),NIL,&hints,&ai))) { ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:252:30: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:248:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, ^~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ In file included from osdep.c:49: In file included from ./tcp_unix.c:26: ./ip_unix.c:248:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!getaddrinfo (lcase (strcpy (tmp,name)),NIL,&hints, ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/netdb.h:252:30: note: passing argument to parameter here int getaddrinfo(const char *, const char *, ^ In file included from osdep.c:49: ./tcp_unix.c:477:43: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] char *ret = tcp_getline_work (stream,&n,&contd); ^~~~~~ ./tcp_unix.c:61:17: note: passing argument to parameter 'contd' here long *contd); ^ ./tcp_unix.c:485:41: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = tcp_getline_work (stream,&n,&contd); ^~~~~~ ./tcp_unix.c:61:17: note: passing argument to parameter 'contd' here long *contd); ^ osdep.c:797:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^~~~ osdep.c:315:51: note: passing argument to parameter 's' here static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:797:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = ssl_compare_hostnames (host,s) ? NIL : ^ osdep.c:315:68: note: passing argument to parameter 'pat' here static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:806:37: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (name->type = GEN_DNS) && (s = name->d.ia5->data) && ^ ~~~~~~~~~~~~~~~~~ osdep.c:807:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^~~~ osdep.c:315:51: note: passing argument to parameter 's' here static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:807:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ssl_compare_hostnames (host,s)) ret = NIL; ^ osdep.c:315:68: note: passing argument to parameter 'pat' here static long ssl_compare_hostnames (unsigned char *s,unsigned char *pat); ^ osdep.c:861:43: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] char *ret = ssl_getline_work (stream,&n,&contd); ^~~~~~ osdep.c:317:17: note: passing argument to parameter 'contd' here long *contd); ^ osdep.c:869:41: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] ret = ssl_getline_work (stream,&n,&contd); ^~~~~~ osdep.c:317:17: note: passing argument to parameter 'contd' here long *contd); ^ 216 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mail.c mail.c:407:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:407:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:412:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:412:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:417:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:417:57: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,(char *) value); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:423:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:423:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:428:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:428:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:433:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:433:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:438:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:438:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] a && compare_cstring (a->name,(char *) value); a = a->next); ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:857:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:857:26: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"service") && (i < NETMAXSRV) && !*mb->service) ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:858:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lcase (strcpy (mb->service,v)); ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ mail.c:859:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:859:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"user") && (i < NETMAXUSER) && !*mb->user) ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:861:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:861:31: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"authuser") && (i < NETMAXUSER) && ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:863:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:863:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"auth") && (i < NETMAXAUTH) && ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:869:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:869:26: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"anonymous")) mb->anoflag = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:870:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:870:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"debug")) mb->dbgflag = T; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:871:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:871:31: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"readonly")) mb->readonlyflag = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:872:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:872:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"secure")) mb->secflag = T; ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:873:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:873:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"norsh")) mb->norsh = T; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:874:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:874:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"loser")) mb->loser = T; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:875:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:875:32: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:875:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:875:67: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"starttls") || !compare_cstring (s,"tls")) && !mb->notlsflag) ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:877:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:877:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"tls-sslv23") && !mb->notlsflag) ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:879:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:879:32: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:879:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:879:63: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((!compare_cstring (s,"notls") || !compare_cstring(s,"nostarttls")) && !mb->tlsflag) ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:881:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:881:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"tryssl")) ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:883:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:883:48: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"ssl") && !mb->tlsflag) ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:885:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1") ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:885:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1") ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:888:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1_1") ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:888:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1_1") ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:891:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1_2") ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:891:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1_2") ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:894:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1_3") ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:894:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring(s, "tls1_3") ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:897:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:897:48: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"novalidate-cert")) ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:900:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:900:48: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mailssldriver && !compare_cstring (s,"validate-cert")); ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:903:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:903:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"imap") || ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:904:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"nntp") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:904:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"nntp") || ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:905:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"pop3") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:905:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"pop3") || ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:906:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"smtp") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:906:24: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"smtp") || ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:907:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"submit")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:907:24: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"submit")) ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:908:11: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lcase (strcpy (mb->service,s)); ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ mail.c:909:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:909:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"imap2") || ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:910:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:910:24: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"imap2bis") || ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:911:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"imap4") || ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:911:24: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"imap4") || ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:912:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:912:24: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (s,"imap4rev1")) ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:914:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:914:31: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"pop")) ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1087:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1087:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1344:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1344:59: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (d = maildrivers; d && compare_cstring (d->name,tmp); d = d->next); ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:1577:48: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream->dtb && mail_uid_sequence (stream,sequence) && ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:1593:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream->dtb && mail_sequence (stream,sequence) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:1618:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ov.date = env->date; ^ ~~~~~~~~~ mail.c:1836:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ mail.c:1927:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ mail.c:1981:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(section && *section && (b = mail_body (stream,msgno,section)))) ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ mail.c:2064:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return ""; ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ mail.c:2124:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((b = mail_body (stream,msgno,section)) && ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ mail.c:2192:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(b = mail_body (stream,msgno,section))) return NIL; ^~~~~~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ mail.c:2414:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:2415:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mail.c:2704:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ mail.c:2704:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strncmp (lcase (strcpy (tmp,mailbox)),"#driver.",8)) { ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mail.c:2823:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(i = strtoul (section,(char **) §ion,10)) || ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:2971:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mail.c:2971:76: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ mail.c:2971:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s && *s && (strlen (s) < (size_t)MAILTMPLEN)) s = ucase (strcpy (tmp,s)); ^~~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ mail.c:2977:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(m = strtoul (s,(char **) &s,10))) return NIL; ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:2981:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isdigit (*++s) && (d = strtoul (s,(char **) &s,10)) && ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:2983:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:2993:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((m = strtoul (s+1,(char **) &s,10)) && (*s++ == '-') && ^~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:2994:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (d = strtoul (s,(char **) &s,10)) && !*s) break; ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:2999:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strlen (s) < (size_t) 5) return NIL; ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mail.c:3027:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] y = strtoul (s,(char **) &s,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:3051:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d = strtoul (s+1,(char **) &s,10); ^~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:3053:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] m = strtoul (++s,(char **) &s,10); ^~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:3054:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] y = (*s == ':') ? strtoul (++s,(char **) &s,10) : 0; ^~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:3384:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10))) { ^~~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:3395:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10))) { ^~~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:3492:53: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((hdrs->text.size == i) && !compare_csizedtext (tmp,&hdrs->text)) ^~~ ./misc.h:107:40: note: passing argument to parameter 's1' here int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mail.c:3636:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] BODY *body = mail_body (stream,msgno,section); ^~~~~~~ mail.c:2859:72: note: passing argument to parameter 'section' here BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c:3808:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((body = mail_body (stream,msgno,section)) && ^~~~~~~ mail.c:2859:72: note: passing argument to parameter 'section' here BODY *mail_body (MAILSTREAM *stream,unsigned long msgno,unsigned char *section) ^ mail.c:3975:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[i],&st->text)) { ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:107:40: note: passing argument to parameter 's1' here int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mail.c:4106:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] switch (*ucase (criterion)) { ^~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ mail.c:4197:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_parse_date (&elt,(char *) s->text.data) && ^~~~~~~~~~~~~~~~~~~~~ mail.c:2953:56: note: passing argument to parameter 's' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c:4453:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (env) t = env->date; ^ ~~~~~~~~~ mail.c:4469:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(t && mail_parse_date (&telt,t) && ^ mail.c:2953:56: note: passing argument to parameter 's' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c:4772:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->from,s2->from); ^~~~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4772:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->from,s2->from); ^~~~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4775:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->to,s2->to); ^~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4775:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->to,s2->to); ^~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4778:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->cc,s2->cc); ^~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4778:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->cc,s2->cc); ^~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4781:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->subject,s2->subject); ^~~~~~~~~~~ ./misc.h:105:36: note: passing argument to parameter 's1' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4781:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = compare_string (s1->subject,s2->subject); ^~~~~~~~~~~ ./misc.h:105:54: note: passing argument to parameter 's2' here int compare_string (unsigned char *s1,unsigned char *s2); ^ mail.c:4880:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4880:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (type,t->name)) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4924:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:4924:40: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (top->sc->subject,s->subject)) { ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5246:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!s->date && ov->date && mail_parse_date (&telt,ov->date)) { ^~~~~~~~ mail.c:2953:56: note: passing argument to parameter 's' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *s) ^ mail.c:5501:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!(i = strtoul (sequence,(char **) &sequence,10)) || ^~~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:5517:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!(j = strtoul (sequence,(char **) &sequence,10)) || ^~~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mail.c:5572:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5572:28: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t+1,"SEEN")) f |= fSEEN; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5573:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5573:33: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"DELETED")) f |= fDELETED; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5574:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5574:33: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"FLAGGED")) f |= fFLAGGED; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5575:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5575:33: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"ANSWERED")) f |= fANSWERED; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5576:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5576:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t+1,"DRAFT")) f |= fDRAFT; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5586:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5586:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,s)) *uf |= i = 1 << j; ^ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5636:27: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((!compare_cstring (smb.host,trustdns ? ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5636:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((!compare_cstring (smb.host,trustdns ? ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5642:27: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:5642:36: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!compare_cstring (omb.host,nmb.host) && ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6215:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6215:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (auth->server && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6248:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mail.c:6248:62: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !(auth->flags & AU_DISABLE) && !compare_cstring (auth->name,mechanism)) ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:72:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && !compare_cstring(oauth2->param[i].name, name)) ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:72:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && !compare_cstring(oauth2->param[i].name, name)) ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:109:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || !compare_cstring(oauth2->param[k].value, "plain")) ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:109:46: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || !compare_cstring(oauth2->param[k].value, "plain")) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:111:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(oauth2->param[k].value, "S256")){ ^~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:111:56: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(oauth2->param[k].value, "S256")){ ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:122:31: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] oauth2->param[j].value = t; ^ ~ ./oauth2_aux.c:219:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); ^~~~~~~~~~~~~~~~~~~~~~~ ./oauth2_aux.c:174:22: note: passing argument to parameter 'server' here xoauth2_server(char *server, char *tenant) ^ ./oauth2_aux.c:221:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && ((stream = http_open(server)) != NULL) ^~~~~~ ./http.h:125:39: note: passing argument to parameter here HTTPSTREAM *http_open (unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:284:33: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:293:33: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((jx = json_body_value(json, "interval")) != NULL) ^~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:333:36: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:347:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] jx = json_body_value(json, "error"); ^~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:349:33: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] jx = json_body_value(json, "error_description"); ^~~~~~~~~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:376:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *server = xoauth2_server(RefreshMethod.urlserver, oauth2->param[OA2_Tenant].value); ^~~~~~~~~~~~~~~~~~~~~~~ ./oauth2_aux.c:174:22: note: passing argument to parameter 'server' here xoauth2_server(char *server, char *tenant) ^ ./oauth2_aux.c:377:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *url = http_get_param_url(server, params); ^~~~~~ ./http.h:137:50: note: passing argument to parameter here unsigned char *http_get_param_url(unsigned char *, HTTP_PARAM_S *); ^ In file included from mail.c:6498: ./oauth2_aux.c:377:8: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *url = http_get_param_url(server, params); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./oauth2_aux.c:382:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] oauth2->param[OA2_Code].value = (*ogac)(url, method, oauth2, tryanother); ^~~ ./oauth2_aux.c:401:39: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:416:39: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] jx = json_body_value(json, "error"); ^~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:418:39: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] jx = json_body_value(json, "error_description"); ^~~~~~~~~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:448:51: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] oauth2->param[OA2_DeviceCode].value = cpystr(dcode->device_code); ^~~~~~~~~~~~~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ In file included from mail.c:6498: ./oauth2_aux.c:460:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(compare_cstring(error, "authorization_pending") == 0) ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:460:30: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(compare_cstring(error, "authorization_pending") == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:462:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(compare_cstring(error, "authorization_declined") == 0) ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:462:35: warning: passing 'char[23]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(compare_cstring(error, "authorization_declined") == 0) ^~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:464:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(compare_cstring(error, "bad_verification_code") == 0) ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:464:35: warning: passing 'char[22]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(compare_cstring(error, "bad_verification_code") == 0) ^~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:466:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(compare_cstring(error, "expired_token") == 0) ^~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:466:35: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(compare_cstring(error, "expired_token") == 0) ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ In file included from mail.c:6498: ./oauth2_aux.c:481:35: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((jx = json_body_value(json, "expires_in")) != NULL) ^~~~~~~~~~~~ ./json.h:39:50: note: passing argument to parameter here JSON_S *json_body_value(JSON_S *, unsigned char *); ^ In file included from mail.c:6498: ./oauth2_aux.c:536:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(x->name) y->name = cpystr(x->name); ^~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ In file included from mail.c:6498: ./oauth2_aux.c:536:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(x->name) y->name = cpystr(x->name); ^ ~~~~~~~~~~~~~~~ 191 warnings generated. `cat CCTYPE` -c `cat CFLAGS` misc.c misc.c:488:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = (char *) s2->data,j = s2->size; *s1 && j; ++s1,++s,--j) ^ ~~~~~~~~~~~~~~~~~ 1 warning generated. `cat CCTYPE` -c `cat CFLAGS` newsrc.c newsrc.c:173:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:173:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_lsub (stream,'.',name,NIL); ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:176:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ newsrc.c:176:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ 4 warnings generated. `cat CCTYPE` -c `cat CFLAGS` smanager.c smanager.c:42:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:42:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:75:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smanager.c:75:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mailbox = "INBOX"; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 4 warnings generated. `cat CCTYPE` -c `cat CFLAGS` utf8.c utf8.c:383:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:383:36: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (script,utf8_scvalid[i].name)) ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:400:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:400:37: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (charset,utf8_csvalid[i].name)) ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:586:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:586:47: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] short iso2022jp = !compare_cstring (charset,"ISO-2022-JP"); ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:613:26: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:613:36: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (dcs->name,"ISO-2022-JP"))) ? ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:647:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:647:50: warning: passing 'char *const' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] return (currmapcs && !compare_cstring (charset,currmapcs->name)) ? currmap : ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:1323:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ utf8.c:1323:29: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"ISO-2022-JP")) s = "EUC-JP"; ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 12 warnings generated. `cat CCTYPE` -c `cat CFLAGS` utf8aux.c utf8aux.c:413:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mail_utf7_valid (src)) return NIL; ^~~ ./mail.h:1722:30: note: passing argument to parameter 'mailbox' here char *mail_utf7_valid (char *mailbox); ^ utf8aux.c:418:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ utf8aux.c:418:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^~~ ./misc.h:85:36: note: passing argument to parameter 'text' here char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ utf8aux.c:418:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = cpytxt (&utf7,src,strlen (src)); *s; ++s) switch (*s) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 warnings generated. `cat CCTYPE` -c `cat CFLAGS` siglocal.c `cat CCTYPE` -c `cat CFLAGS` dummy.c dummy.c:122:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:122:37: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) return &dummydriver; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:183:32: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ dummy.c:183:17: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch ("INBOX",ucase (test))) { ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:222:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:222:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"INBOX") && ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:223:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^~~~~~~~~~~~~~~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ dummy.c:223:12: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pmatch ("INBOX",ucase (strcpy (tmp,test)))) ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:225:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:225:31: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:228:19: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:228:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,LATT_NOSELECT); ^~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:289:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:289:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:289:64: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:289:68: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!level && dir && pmatch_full (dir,pat,'/') && !pmatch (dir,"INBOX")) ^~~~~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:303:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^~~~~~~~~~~~~~~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:303:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((pmatch_full (strcpy (path,tmp),pat,'/') || ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:304:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^~~~~~~~~~~~~~~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:304:38: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] pmatch_full (strcat (path,"/"),pat,'/') || ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:305:15: warning: passing 'char[1025]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dmatch (path,pat,'/')) && ^~~~ ./env.h:30:29: note: passing argument to parameter 's' here long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:305:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] dmatch (path,pat,'/')) && ^~~ ./env.h:30:46: note: passing argument to parameter 'pat' here long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:314:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:314:23: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!pmatch (tmp,"INBOX")) { ^~~~~~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:315:25: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:315:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (tmp,pat,'/')) { ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:320:30: warning: passing 'char[1025]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:320:35: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (pmatch_full (path,pat,'/') && ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:324:18: warning: passing 'char[1025]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (dmatch (path,pat,'/') && ^~~~ ./env.h:30:29: note: passing argument to parameter 's' here long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:324:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (dmatch (path,pat,'/') && ^~~ ./env.h:30:46: note: passing argument to parameter 'pat' here long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:330:23: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:330:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ dummy.c:330:56: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:330:60: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (tmp,pat,'/') && compare_cstring (tmp,"INBOX")) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:457:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:457:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(compare_cstring (mailbox,"INBOX") && (s = dummy_file (tmp,mailbox)))) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:567:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:567:29: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (old,"INBOX") && stat (oldname,&sbuf)) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:596:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:596:42: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (stream->mailbox,"INBOX")) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:703:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c:704:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) fatal ("Impossible dummy_copy"); ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ dummy.c:725:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ dummy.c:725:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 44 warnings generated. `cat CCTYPE` -c `cat CFLAGS` pseudo.c `cat CCTYPE` -c `cat CFLAGS` netmsg.c netmsg.c:63:45: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] sprintf (tmp,".%lx.%lx",(unsigned long) time (0),(unsigned long)getpid ()); ^ 1 warning generated. `cat CCTYPE` -c `cat CFLAGS` flstring.c `cat CCTYPE` -c `cat CFLAGS` fdstring.c `cat CCTYPE` -c `cat CFLAGS` rfc822.c rfc822.c:163:14: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ucase (tmp); /* coerce to uppercase */ ^~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:202:53: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!env->date && !strcmp (tmp+1,"ATE")) env->date = cpystr (d); ^ ~~~~~~~~~~ rfc822.c:379:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s1 = (char *) rfc822_base64 (s, strlen(s), &k); ^ ./rfc822.h:102:37: note: passing argument to parameter 'src' here void *rfc822_base64 (unsigned char *src,unsigned long srcl,unsigned long *len); ^ rfc822.c:555:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:555:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rfc822_parse_content_header (&part->body,ucase (s1+8),s); ^~~~~~~~~~~~ ./rfc822.h:64:52: note: passing argument to parameter 'name' here void rfc822_parse_content_header (BODY *body,char *name,char *s); ^ rfc822.c:626:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:626:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->disposition.type = ucase (cpystr (s)); ^ ~~~~~~~~~~~~~~~~~~ rfc822.c:640:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stl->text.data = (unsigned char *) ucase (cpystr (s)); ^~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:667:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:667:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (s,body_types[i]); i++); ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:678:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body_types[body->type] = ucase (s); ^ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:678:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body_types[body->type] = ucase (s); ^ ~~~~~~~~~ rfc822.c:690:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^~~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:690:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s) body->subtype = ucase (rfc822_cpy (s)); ^ ~~~~~~~~~~~~~~~~~~~~~~ rfc822.c:708:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:708:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (s,body_encodings[i]); i++); ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ rfc822.c:719:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:719:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body_encodings[body->encoding] = ucase (s); ^ ~~~~~~~~~ rfc822.c:752:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ rfc822.c:752:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] param->attribute = ucase (cpystr (s)); ^ ~~~~~~~~~~~~~~~~~~ rfc822.c:1528:45: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rfc822_output_header_line (buf,"Date",i,env->date) && ^~~~~~~~~ ./rfc822.h:89:11: note: passing argument to parameter 'text' here char *text); ^ 21 warnings generated. `cat CCTYPE` -c `cat CFLAGS` nntp.c nntp.c:366:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:366:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:369:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:369:26: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:401:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) ^ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:401:76: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (nntp_valid (s) && pmatch (s,mbx)) ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ nntp.c:571:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] newsrc_check_uid (state,k,&status.recent,&status.unseen); ^~~~~ ./newsrc.h:42:39: note: passing argument to parameter 'state' here void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c:580:20: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] newsrc_check_uid (state,i++,&status.recent,&status.unseen); ^~~~~ ./newsrc.h:42:39: note: passing argument to parameter 'state' here void newsrc_check_uid (unsigned char *state,unsigned long uid, ^ nntp.c:752:12: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lcase (strcpy (s,(long) mail_parameters (NIL,GET_NEWSRCCANONHOST,NIL) ? ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:83:38: note: passing argument to parameter 'string' here unsigned char *lcase (unsigned char *string); ^ nntp.c:875:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:876:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:918:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:918:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ nntp.c:1021:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ nntp.c:1021:72: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((s = net_getline (LOCAL->nntpstream->netstream)) && strcmp (s,".")){ ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ nntp.c:1067:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!elt->day) mail_parse_date (elt,ov->date); ^~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c:1283:39: warning: implicit declaration of function 'time' is invalid in C99 [-Wimplicit-function-declaration] unsigned long now = (unsigned long) time (0); ^ nntp.c:1336:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!mail_parse_date (&delt,ov->date) || ^~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c:1553:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (mail_parse_date (&telt,t)) r->date = mail_longdate (&telt); ^ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ nntp.c:1845:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1845:29: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"LISTGROUP")) NNTP.ext.listgroup = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1846:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1846:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"OVER")) NNTP.ext.over = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1847:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1847:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"HDR")) NNTP.ext.hdr = T; ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1848:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1848:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PAT")) NNTP.ext.pat = T; ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1849:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1849:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) NNTP.ext.starttls = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1850:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1850:34: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"MULTIDOMAIN")) NNTP.ext.multidomain = T; ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1852:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1852:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"AUTHINFO") && args) { ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1855:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1855:29: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (args,"USER")) NNTP.ext.authuser = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ nntp.c:1943:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = strstr (env->date," (")) != NULL) *s = NIL; ^~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ 36 warnings generated. `cat CCTYPE` -c `cat CFLAGS` smtp.c smtp.c:164:34: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:164:45: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (mb.service,"submit")) { ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:182:23: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:182:35: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = compare_cstring ("localhost",mb.host) ? ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:293:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:293:38: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:727:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:727:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"SIZE")) { ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:731:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:731:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"DELIVERBY")) { ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:735:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:735:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) { ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:739:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:739:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"AUTH")) ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:745:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:745:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SIZE")) ESMTP.size.ok = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:746:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:746:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"8BITMIME")) ESMTP.eightbit.ok = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:747:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:747:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"DSN")) ESMTP.dsn.ok = T; ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:748:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:748:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ATRN")) ESMTP.atrn.ok = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:749:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:749:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SEND")) ESMTP.service.send = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:750:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:750:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SOML")) ESMTP.service.soml = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:751:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:751:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"SAML")) ESMTP.service.saml = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:752:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:752:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"EXPN")) ESMTP.service.expn = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:753:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:753:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"HELP")) ESMTP.service.help = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:754:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:754:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"TURN")) ESMTP.service.turn = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:755:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:755:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ETRN")) ESMTP.service.etrn = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:756:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:756:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"STARTTLS")) ESMTP.service.starttls = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:757:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:757:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"RELAY")) ESMTP.service.relay = T; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:758:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:758:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"PIPELINING")) ESMTP.service.pipe = T; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:759:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:759:34: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ENHANCEDSTATUSCODES")) ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:761:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:761:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"BINARYMIME")) ESMTP.service.bmime = T; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:762:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ smtp.c:762:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"CHUNKING")) ESMTP.service.chunk = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 48 warnings generated. `cat CCTYPE` -c `cat CFLAGS` imap4r1.c imap4r1.c:524:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) ^ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ imap4r1.c:524:76: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (imap_valid (s) && pmatch (s,mbx)) ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ imap4r1.c:584:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:584:33: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (cmd,"LIST")) cmd = "RLIST"; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:586:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:586:38: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (cmd,"LSUB")) cmd = "RLSUB"; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:598:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcmp (imap_send (stream,"FIND ALL.MAILBOXES",args)->key,"BAD")) && ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:599:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strcmp (imap_send (stream,"FIND MAILBOXES",args)->key,"BAD")) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:722:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ret ? NIL : ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:906:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!reply || strcmp (reply->tag,"*") || ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:907:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:907:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (strcmp (reply->key,"OK") && strcmp (reply->key,"PREAUTH"))) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:908:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply) mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:917:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] preauthed = !strcmp (reply->key,"PREAUTH"); ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:1062:36: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1062:47: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (mb.mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1072:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1118:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strcmp ((reply = imap_parse_reply (stream,cpystr (tmp)))->tag,"*")){ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:1122:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:1122:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:1158:37: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (reply->tag,tag)) { ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1160:70: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1175:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1198:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1198:38: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1244:39: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (compare_cstring (reply->tag,tag)) ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1245:69: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (compare_cstring ((reply = imap_reply (stream,tag))->tag,tag)) ^~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:1259:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] lsterr = cpystr (reply->text); ^~~~~~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ imap4r1.c:1325:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1356:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strcmp (reply->tag,"*")) imap_parse_unsolicited (stream,reply); ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:1361:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strlen (reply->text),len))) { ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ imap4r1.c:1430:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1471:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!imap_OK (stream,reply)) mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1492:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1545:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ov.date = env->date; ^ ~~~~~~~~~ imap4r1.c:1593:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1720:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1722:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1952:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1962:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1971:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,WARN); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:1975:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2028:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2064:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2105:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2177:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strcmp (reply->key,"BAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:2196:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:2202:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2238:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2301:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:2308:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:2317:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2404:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2404:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (thr->name,type)) ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:2464:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(flags & SE_UID) && !strcmp (reply->key,"BAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:2471:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:2479:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2503:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,imap_OK (stream,reply) ? (long) NIL : ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2528:36: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mail_sequence (stream,sequence)) { ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2556:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply) mm_log (reply->text,ret ? (long) NIL : ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2594:65: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (ir && pc && LOCAL->referral && mail_sequence (stream,sequence) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ imap4r1.c:2598:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2651:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2714:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2744:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:2748:44: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr ("*"); ^ ~~~~~~~~~~~~ imap4r1.c:2749:24: warning: assigning to 'unsigned char *' from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.key = "BAD"; ^ ~~~~~ imap4r1.c:2750:25: warning: assigning to 'unsigned char *' from 'char[19]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.text = "Bad date in append"; ^ ~~~~~~~~~~~~~~~~~~~~ imap4r1.c:2946:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:2970:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:3048:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:3072:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:3095:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:3132:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3132:46: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*sc) (stream,cmd,((compare_cstring (cmd,"FETCH") && ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3133:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3133:25: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (cmd,"STORE") && ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3134:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3134:25: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (cmd,"SEARCH")) ? ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:3287:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!map->date || mail_parse_date (&elt,map->date)) { ^~~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:3413:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp (reply->tag,"+")) {/* prompt for more data? */ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:3627:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:3633:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:3668:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (reply->text,ERROR); ^~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ imap4r1.c:4001:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->tag,"+")) return reply; ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4003:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->tag,"*")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4008:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (tag && !compare_cstring (tag,reply->tag)) return reply; ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4034:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(LOCAL->reply.line = text)) { ^ ~~~~ imap4r1.c:4040:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream->debug) mm_dlog (LOCAL->reply.line); ^~~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' #define LOCAL ((IMAPLOCAL *) stream->local) ^ ./mail.h:1695:21: note: passing argument to parameter 'string' here void mm_dlog (char *string); ^ imap4r1.c:4041:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^~~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' #define LOCAL ((IMAPLOCAL *) stream->local) ^ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4041:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(LOCAL->reply.tag = strtok_r (LOCAL->reply.line," ",&r))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4047:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strcmp (LOCAL->reply.tag,"+")) { ^~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' #define LOCAL ((IMAPLOCAL *) stream->local) ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4049:28: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(LOCAL->reply.key = strtok_r (NIL," ",&r))) { ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4059:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4060:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.text = LOCAL->reply.key + strlen (LOCAL->reply.key); ^~~~~~~~~~~~~~~~ imap4r1.c:117:15: note: expanded from macro 'LOCAL' #define LOCAL ((IMAPLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ imap4r1.c:4063:22: warning: assigning to 'unsigned char *' from 'char[4]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.key = "BAD"; /* so it barfs if not expecting continuation */ ^ ~~~~~ imap4r1.c:4064:29: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(LOCAL->reply.text = strtok_r (NIL,"\n",&r))) ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4065:25: warning: assigning to 'unsigned char *' from 'char[1]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.text = ""; ^ ~~ imap4r1.c:4085:40: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.tag = LOCAL->reply.line = cpystr (tag ? tag : "*"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4086:20: warning: assigning to 'unsigned char *' from 'char[3]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.key = "NO"; ^ ~~~~ imap4r1.c:4087:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->reply.text = text; ^ ~~~~ imap4r1.c:4102:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"OK")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4103:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,NIL); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4107:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4108:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,NIL); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4110:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (reply->key,"BAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4111:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,NIL); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4135:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] msgno = strtoul (reply->key,(char **) &s,10); ^~~~~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4149:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^~~~~~~~~~~ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4149:16: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = ucase (strtok_r (reply->text," ",&r)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ imap4r1.c:4150:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = strtok_r (NIL,"\n",&r); /* and locate the text after it */ ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4153:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (LOCAL->authed && !strcmp (s,"EXISTS") && (msgno >= stream->nmsgs)) ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4155:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (s,"RECENT") && (msgno <= stream->nmsgs)) ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4157:40: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (s,"EXPUNGE") && msgno && (msgno <= stream->nmsgs)) { ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4165:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4165:69: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && t && (!strcmp (s,"FETCH") || !strcmp (s,"STORE")) && ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4176:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4176:52: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((prop = (strtok_r (t," )",&r))) && (t = strtok_r (NIL,"\n",&r))) { ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4180:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ imap4r1.c:4180:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!strcmp (ucase (prop),"FLAGS")) imap_parse_flags (stream,elt,&t); ^~~~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4188:27: warning: passing 'char[27]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_parse_date (elt,"01-Jan-1970 00:00:00 +0000"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ imap4r1.c:4194:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->lastuid.uid = elt->private.uid = strtoul (t,(char **) &t,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4235:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(s = strchr (md.what,']'))) { ^ ~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4237:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = md.what; *s && (isdigit (*s) || (*s == '.')); s++); ^ ~~~~~~~ imap4r1.c:4239:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (strncmp (s,"HEADER.FIELDS",13) && ^ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ imap4r1.c:4240:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!s[13] || strcmp (s+13,".NOT"))) ^~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4250:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ imap4r1.c:4250:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((t = strchr (s = t,' ')) != NULL) *t++ = '\0'; ^ ~~~~~~~~~~~~~~~~~~ imap4r1.c:4255:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] md.first = strtoul (s+1,(char **) &s,10) + 1; ^~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4298:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] elt->rfc822_size = strtoul (t,(char **) &t,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4334:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (strcmp (s,"COPY") || !LOCAL->authed) { ^ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4341:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"FLAGS") && reply->text && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4343:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^~~~~~~~~~~~~ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4343:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (s = strtok_r (reply->text+1," )",&r))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4346:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] compare_cstring (s,stream->user_flags[i]); i++); ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4352:74: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!stream->user_flags[i]) stream->user_flags[i++] = cpystr (s); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ imap4r1.c:4354:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((s = strtok_r (NIL," )",&r)) != NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4355:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"SEARCH")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4357:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^~~~~~~~~~~ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4357:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) do ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4358:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strtoul (t,NIL,10)) != 0L) { ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4367:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] } while ((t = strtok_r (NIL," ",&r)) != NULL); ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4369:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"SORT")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4377:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^~~~~~~~~~~ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4377:27: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply->text && (t = strtok_r (reply->text," ",&r))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4378:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do if ((i = atol (t)) && (LOCAL->filter ? ^ /usr/include/stdlib.h:95:24: note: passing argument to parameter here long atol(const char *); ^ imap4r1.c:4381:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) && (LOCAL->sortsize < stream->nmsgs)); ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4387:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"THREAD")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4402:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"STATUS") && reply->text) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4406:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ imap4r1.c:4406:43: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*txt++ == ' ') && (*txt++ == '(') && (s = strchr (txt,')')) && ^ ~~~~~~~~~~~~~~~~ imap4r1.c:4412:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ imap4r1.c:4412:25: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (*txt && (s = strchr (txt,' '))) { ^ ~~~~~~~~~~~~~~~~ imap4r1.c:4415:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strtoul (s,(char **) &s,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4416:28: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (txt,"MESSAGES")) { ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4420:33: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (txt,"RECENT")) { ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4424:33: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (txt,"UNSEEN")) { ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4428:33: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (txt,"UIDNEXT")) { ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4432:33: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (txt,"UIDVALIDITY")) { ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4441:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcpy (strncpy (LOCAL->tmp,stream->mailbox,i) + i,t); ^ /usr/include/string.h:88:56: note: passing argument to parameter here char *strcpy(char * __restrict, const char * __restrict); ^ imap4r1.c:4450:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4450:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && (!strcmp (reply->key,"LIST") || !strcmp (reply->key,"LSUB")) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4452:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ imap4r1.c:4452:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (s = strchr (reply->text,')')) && (s[1] == ' ')) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4456:24: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ^~~~~~~~~~~~~ /usr/include/string.h:127:22: note: passing argument to parameter here char *strtok_r(char *, const char *, char **); ^ imap4r1.c:4456:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((t = strtok_r (reply->text+1," ",&r)) != NULL) do { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4457:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"\\NoInferiors")) i |= LATT_NOINFERIORS; ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4458:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\NoSelect")) i |= LATT_NOSELECT; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4459:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Marked")) i |= LATT_MARKED; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4460:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Unmarked")) i |= LATT_UNMARKED; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4461:36: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\HasChildren")) i |= LATT_HASCHILDREN; ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4462:36: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\HasNoChildren")) i |= LATT_HASNOCHILDREN; ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4463:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\All")) i |= LATT_ALL; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4464:36: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Archive")) i |= LATT_ARCHIVE; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4465:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Drafts")) i |= LATT_DRAFTS; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4466:36: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Flagged")) i |= LATT_FLAGGED; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4467:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Junk")) i |= LATT_JUNK; ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4468:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Sent")) i |= LATT_SENT; ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4469:36: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"\\Trash")) i |= LATT_TRASH; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4472:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((t = strtok_r (NIL," ",&r)) != NULL); ^ ~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4486:13: warning: assigning to 'unsigned char *' from 'char[16384]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^ ~~~~~~~~~~ imap4r1.c:4486:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (s = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) t); ^~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ imap4r1.c:4489:59: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (reply->key[1] == 'S') mm_lsub (stream,delimiter,s,i); ^ ./mail.h:1692:54: note: passing argument to parameter 'name' here void mm_lsub (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4490:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else mm_list (stream,delimiter,s,i); ^ ./mail.h:1691:54: note: passing argument to parameter 'name' here void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4494:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"NAMESPACE")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4517:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"ACL") && (s = reply->text) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4523:30: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do if ((ac->identifier = imap_parse_astring (stream,&s,reply,NIL)) && ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4525:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ac->rights = imap_parse_astring (stream,&s,reply,NIL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4534:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (ar) (*ar) (stream,t,al); ^ imap4r1.c:4538:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (ar) (*ar) (stream,t,NIL); ^ imap4r1.c:4542:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"LISTRIGHTS") && (s = reply->text) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4546:35: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s && (*s++ == ' ') && (id = imap_parse_astring (stream,&s,reply,NIL))){ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4548:7: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4562:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,rl); ^ imap4r1.c:4567:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (lr) (*lr) (stream,t,id,r,NIL); ^ imap4r1.c:4586:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] && !strcmp (reply->key,"MYRIGHTS") && (s = reply->text) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4590:34: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (s && (*s++ == ' ') && (r = imap_parse_astring (stream,&s,reply,NIL))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4596:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mr) (*mr) (stream,t,r); ^ imap4r1.c:4608:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"QUOTA") && (s = reply->text) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4619:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((qc->name = imap_parse_astring (stream,&s,reply,NIL)) && s && ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4621:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isdigit (*s)) qc->usage = strtoul (s,(char **) &s,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4622:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((t = strchr (s,' ')) != NULL) t = s; ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ imap4r1.c:4622:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((t = strchr (s,' ')) != NULL) t = s; ^ ~~~~~~~~~~~~~~ imap4r1.c:4624:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (isdigit (*s)) qc->limit = strtoul (s,(char **) &s,10); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:4625:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((t = strpbrk (s," )")) != NULL) t = s; ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ imap4r1.c:4625:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((t = strpbrk (s," )")) != NULL) t = s; ^ ~~~~~~~~~~~~~~~~ imap4r1.c:4630:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (qt) (*qt) (stream,t,ql); ^ imap4r1.c:4649:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"ID") && (s = reply->text)){ ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4650:24: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4650:62: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(compare_cstring (s,"NIL")) LOCAL->id = imap_parse_idlist(s); ^ imap4r1.c:2976:34: note: passing argument to parameter 'text' here IDLIST *imap_parse_idlist (char *text) ^ imap4r1.c:4652:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"QUOTAROOT") && (s = reply->text) && ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4667:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (qr) (*qr) (stream,t,rl); ^ imap4r1.c:4678:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4678:50: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"OK") || !strcmp (reply->key,"PREAUTH")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4679:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,NIL,T); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4680:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"NO")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4681:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,WARN,T); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4682:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"BAD")) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4683:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,ERROR,T); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4684:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"BYE")) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4686:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_response (stream,reply->text,BYE,T); ^~~~~~~~~~~ imap4r1.c:240:52: note: passing argument to parameter 'text' here void imap_parse_response (MAILSTREAM *stream,char *text,long errflg,long ntfy); ^ imap4r1.c:4688:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!strcmp (reply->key,"CAPABILITY") && reply->text) ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4689:37: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] imap_parse_capabilities (stream,reply->text); ^~~~~~~~~~~ imap4r1.c:275:56: note: passing argument to parameter 't' here void imap_parse_capabilities (MAILSTREAM *stream,char *t); ^ imap4r1.c:4690:38: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (LOCAL->authed && !strcmp (reply->key,"MAILBOX") && reply->text) { ^~~~~~~~~~ /usr/include/string.h:86:25: note: passing argument to parameter here int strcmp(const char *, const char *) __pure; ^ imap4r1.c:4692:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((strlen (LOCAL->prefix) + strlen (reply->text)) < IMAPTMPLEN)) ^~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ imap4r1.c:4693:18: warning: assigning to 'unsigned char *' from 'char[16384]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^ ~~~~~~~~~~ imap4r1.c:4693:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (t = LOCAL->tmp,"%s%s",LOCAL->prefix,(char *) reply->text); ^~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ imap4r1.c:4695:25: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_list (stream,NIL,t,NIL); ^ ./mail.h:1691:54: note: passing argument to parameter 'name' here void mm_list (MAILSTREAM *stream,int delimiter,char *name,long attributes); ^ imap4r1.c:4728:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4728:31: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"CAPABILITY")) imap_parse_capabilities(stream,s); ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4729:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4729:36: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PERMANENTFLAGS") && (*s == '(') && ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4737:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4737:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"\\Seen")) stream->perm_seen = T; ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4738:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4738:35: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Deleted")) ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4740:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4740:35: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Flagged")) ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4742:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4742:35: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Answered")) ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4744:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4744:35: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"\\Draft")) stream->perm_draft = T; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4752:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4752:36: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDVALIDITY") && (j = strtoul (s,NIL,10))){ ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4763:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4763:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDNEXT")) ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4766:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4766:29: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (t,"COPYUID") && ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4772:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4772:41: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (j && !compare_cstring (t,"APPENDUID") && ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4779:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4779:26: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"REFERRAL")) ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4786:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4786:31: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"UIDNOTSTICKY")) { ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4790:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4790:36: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"READ-ONLY")) stream->rdonly = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4791:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4791:36: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"READ-WRITE")) ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4793:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4793:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PARSE") && !errflg) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:4835:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] nam->name = imap_parse_string (stream,txtptr,reply,NIL,NIL,NIL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4860:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(par->attribute = imap_parse_string (stream,txtptr,reply,NIL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4872:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:4945:29: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (isdigit (*(s = *txtptr)) && ^ ~~~~~~~ /usr/include/ctype.h:93:32: note: expanded from macro 'isdigit' #define isdigit(c) __sbistype((c), _CTYPE_D) ^ imap4r1.c:4947:12: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10))) { ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:5033:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*env)->subject = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5040:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*env)->in_reply_to = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5042:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (*env)->message_id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5140:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] adr->personal = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5141:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] adr->adl = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5142:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] adr->mailbox = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5143:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] adr->host = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5240:19: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while (*(flag = ++*txtptr) == ' '); ^ ~~~~~~~~~ imap4r1.c:5248:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5248:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (flag,"\\Seen")) elt->seen = T; ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5249:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5249:39: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Deleted")) elt->deleted = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5250:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5250:39: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Flagged")) elt->flagged = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5251:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5251:39: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Answered")) elt->answered = T; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5252:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5252:39: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Recent")) elt->recent = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5253:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5253:39: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (flag,"\\Draft")) elt->draft = T; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5281:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5281:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (flag,stream->user_flags[i])) return (1 << i); ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5314:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ imap4r1.c:5314:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = strncpy ((char *) fs_get (i + 1),s,i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5355:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (c) st = ++*txtptr; /* remember start of string */ ^ ~~~~~~~~~ imap4r1.c:5410:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((i = strtoul (*txtptr,(char **) txtptr,10)) > MAXSERVERLIT) { ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:5442:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5443:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reply->line = cpystr (""); ^ ~~~~~~~~~~~ imap4r1.c:5444:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^~~~~~~~~~~ ./mail.h:1695:21: note: passing argument to parameter 'string' here void mm_dlog (char *string); ^ imap4r1.c:5512:39: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(b = mail_body (stream,msgno,seg))) { ^~~ ./mail.h:1787:19: note: passing argument to parameter 'section' here unsigned char *section); ^ imap4r1.c:5590:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5591:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ucase (body->subtype); ^~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5609:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5630:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5631:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5643:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((body->subtype = imap_parse_string(stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5644:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ucase (body->subtype); /* parse subtype */ ^~~~~~~~~~~~~ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5651:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->id = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5652:25: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->description = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5654:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT)) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5655:9: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ucase (s); /* application always gets uppercase form */ ^ ./misc.h:82:38: note: passing argument to parameter 'string' here unsigned char *ucase (unsigned char *string); ^ imap4r1.c:5671:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->size.bytes = strtoul (*txtptr,(char **) txtptr,10); ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:5692:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->size.lines = strtoul (*txtptr,(char **) txtptr,10); ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:5699:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->md5 = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5712:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->location = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5759:24: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!(par->attribute=imap_parse_string (stream,txtptr,reply,NIL,NIL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5765:22: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(par->value = imap_parse_string (stream,txtptr,reply,NIL,NIL,LONGT))){ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5791:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((*(s = *txtptr) == 'I') || (*s == 'i')) && ^ ~~~~~~~ imap4r1.c:5815:28: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] body->disposition.type = imap_parse_string (stream,txtptr,reply,NIL,NIL, ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5858:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((s = imap_parse_string (stream,txtptr,reply,NIL,&i,LONGT)) != NULL) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5927:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((i = strtoul (*txtptr,(char **) txtptr,10)) != 0L) do ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:5932:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(reply->line = net_getline (LOCAL->netstream))) ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imap4r1.c:5933:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] reply->line = cpystr (""); ^ ~~~~~~~~~~~ imap4r1.c:5934:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stream->debug) mm_dlog (reply->line); ^~~~~~~~~~~ ./mail.h:1695:21: note: passing argument to parameter 'string' here void mm_dlog (char *string); ^ imap4r1.c:5939:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strtoul (*txtptr,(char **) txtptr,10); ^~~~~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ imap4r1.c:5973:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5973:29: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"IMAP4")) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5975:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5975:34: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMAP4rev1")) ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5977:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5977:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2")) LOCAL->cap.rfc1176 = T; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5978:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5978:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMAP2bis")) ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5980:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5980:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"ACL")) LOCAL->cap.acl = T; ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5981:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5981:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"QUOTA")) LOCAL->cap.quota = T; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5982:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5982:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LITERAL+")) LOCAL->cap.litplus = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5983:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5983:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IDLE")) LOCAL->cap.idle = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5984:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5984:34: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"MAILBOX-REFERRALS")) LOCAL->cap.mbx_ref = T; ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5985:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5985:34: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-REFERRALS")) LOCAL->cap.log_ref = T; ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5986:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5986:34: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"NAMESPACE")) LOCAL->cap.namespace = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5987:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5987:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDPLUS")) LOCAL->cap.uidplus = T; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5988:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5988:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"STARTTLS")) LOCAL->cap.starttls = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5989:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5989:34: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LOGINDISABLED"))LOCAL->cap.logindisabled = T; ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5990:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5990:34: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"ID")) LOCAL->cap.id = T; ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5991:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5991:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"CHILDREN")) LOCAL->cap.children = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5992:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5992:34: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"MULTIAPPEND")) LOCAL->cap.multiappend = T; ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5993:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5993:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"BINARY")) LOCAL->cap.binary = T; ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5994:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5994:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UNSELECT")) LOCAL->cap.unselect = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5995:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5995:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"SASL-IR")) LOCAL->cap.sasl_ir = T; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5996:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5996:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"SCAN")) LOCAL->cap.scan = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5997:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5997:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"URLAUTH")) LOCAL->cap.urlauth = T; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5998:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5998:34: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"CATENATE")) LOCAL->cap.catenate = T; ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5999:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:5999:34: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"CONDSTORE")) LOCAL->cap.condstore = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6000:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6000:34: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"ESEARCH")) LOCAL->cap.esearch = T; ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6001:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6001:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"X-GM-EXT-1")) LOCAL->cap.x_gm_ext1 = T; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6009:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6009:31: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"THREAD") && !LOCAL->loser) { ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6016:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6016:36: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"AUTH")) { ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6019:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ imap4r1.c:6019:31: warning: passing 'char[10]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (s,"ANONYMOUS")) LOCAL->cap.authanon = T; ^~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 378 warnings generated. `cat CCTYPE` -c `cat CFLAGS` http.c http.c:137:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = strstr(stream->reply, "\r\n\r\n"); ^~~~~~~~~~~~~ /usr/include/string.h:124:26: note: passing argument to parameter here char *strstr(const char *, const char *) __pure; ^ http.c:137:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = strstr(stream->reply, "\r\n\r\n"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:360:36: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(h->data) buffer_add(&h->data, ", "); ^~~~ http.c:90:50: note: passing argument to parameter here void buffer_add(unsigned char **, unsigned char *); ^ http.c:380:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((h = strchr(hdata, ':'))){ ^~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:380:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((h = strchr(hdata, ':'))){ ^ ~~~~~~~~~~~~~~~~~~ http.c:383:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(hname, hdata, h-hdata); ^~~~~ /usr/include/string.h:107:32: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ http.c:383:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(hname, hdata, h-hdata); ^~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ http.c:385:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!valid_token_name(hname)) ^~~~~~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ http.c:395:46: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'a': if(!compare_cstring(hname+1, "ccept:")) /* RFC 7231, Section 5.3.2 */ ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:397:37: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-charset:")) /* RFC 7231, Section 5.3.3 */ ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:399:37: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-encoding:")) /* RFC 7231, Section 5.3.4 */ ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:401:37: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-language:")) /* RFC 7231, Section 5.3.5 */ ^~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:403:37: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ccept-ranges:")) /* RFC 7233, Section 2.3 */ ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:405:37: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ge:")) /* RFC 7234, Section 5.1 */ ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:407:37: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "llow:")) /* RFC 7231, Section 7.4.1 */ ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:413:46: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'c': if(!compare_cstring(hname+1, "ache-control:")) /* RFC 7234, Section 5.2 */ ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:415:37: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "onnection:")) /* RFC 7230, Section 6.1 */ ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:417:37: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-disposition:")) /* RFC 6266 */ ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:419:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-encoding:")) /* RFC 7231, Section 3.1.2.2 */ ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:421:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-language:")) /* RFC 7231, Section 3.1.3.2 */ ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:423:37: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-length:")) /* RFC 7230, Section 3.3.2 */ ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:425:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-location:")) /* RFC 7231, Section 3.1.4.2 */ ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:427:37: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ontent-type:")) /* RFC 7231, Section 3.1.1.5 */ ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:433:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'd': if(!compare_cstring(hname+1, "ate:")) /* RFC 7231, Section 7.1.1.2 */ ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:439:46: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'e': if(!compare_cstring(hname+1, "tag:")) /* RFC 7232, Section 2.3 */ ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:441:37: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "xpect:")) /* RFC 7231, Section 5.1.1 */ ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:443:37: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "xpires:")) /* RFC 7234, Section 5.3 */ ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:449:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'f': if(!compare_cstring(hname+1, "rom:")) /* RFC 7231, Section 5.5.1 */ ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:455:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'h': if(!compare_cstring(hname+1, "ost:")) /* RFC 7230, Section 5.4 */ ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:461:45: warning: passing 'char[14]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'l': if(!compare_cstring(hname+1, "ast-modified:")) /* RFC 7232, Section 2.2 */ ^~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:463:37: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ocation:")) /* RFC 7231, Section 7.1.2 */ ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:469:45: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'm': if(!compare_cstring(hname+1, "ax-forwards:")) /* RFC 7231, Section 5.1.2 */ ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:471:37: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ime-version:")) /* RFC 7231, Appendix A.1 */ ^~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:477:45: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'p': if(!compare_cstring(hname+1, "ragma:")) /* RFC 7234, Section 5.4 */ ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:479:37: warning: passing 'char[19]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "roxy-authenticate:")) /* RFC 7235, Section 4.3 */ ^~~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:485:45: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'r': if(!compare_cstring(hname+1, "eferer:")) /* RFC 7231, Section 5.5.2 */ ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:487:37: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "etry-after:")) /* RFC 7231, Section 7.1.3 */ ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:493:45: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 's': if(!compare_cstring(hname+1, "erver:")) /* RFC 7231, Section 7.4.2 */ ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:499:45: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 't': if(!compare_cstring(hname+1, "e:")) /* RFC 7230, Section 4.3 */ ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:501:37: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "railer:")) /* RFC 7230, Section 4.4 */ ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:503:37: warning: passing 'char[18]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ransfer-encoding:")) /* RFC 7230, Section 3.3.1 */ ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:510:45: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'u': if(!compare_cstring(hname+1, "pgrade:")) /* RFC 7230, Section 6.7 */ ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:512:37: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ser-agent:")) /* RFC 7231, Section 5.5.3 */ ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:518:45: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'v': if(!compare_cstring(hname+1, "ia:")) /* RFC 7230, Section 5.7.1 */ ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:520:37: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ary:")) /* RFC 7231, Section 7.1.4 */ ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:526:45: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] case 'w': if(!compare_cstring(hname+1, "arning:")) /* RFC 7234, Section 5.5 */ ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:528:37: warning: passing 'char[17]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if(!compare_cstring(hname+1, "ww-authenticate:")) /* RFC 7235, Section 4.1 */ ^~~~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:555:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!valid_token_name(s)) ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ http.c:563:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rv->vp->value = cpystr(s); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:604:7: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!valid_token_name(s)) ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ http.c:617:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] rv->vp->value = cpystr(s); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:635:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = strchr(s+1, '\"'); ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:635:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t = strchr(s+1, '\"'); ^ ~~~~~~~~~~~~~~~~~ http.c:652:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for(t = s; strlen(t) > 0 ;) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:653:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:653:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(t[strlen(t)-1] == ' ' || t[strlen(t)-1] == '\t') ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:654:11: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] t[strlen(t)-1] = '\0'; ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:675:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u = strchr(s, '='); ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:675:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u = strchr(s, '='); ^ ~~~~~~~~~~~~~~ http.c:680:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!valid_token_name(s) || !valid_parameter_value(u+1)) ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ http.c:680:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!valid_token_name(s) || !valid_parameter_value(u+1)) ^~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:104:4: note: expanded from macro 'valid_parameter_value' ((valid_token_name((X)) || valid_dquote_text((X))) ? 1 : 0) ^~~~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ http.c:683:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p->attribute = cpystr(s); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:684:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p->value = cpystr(u+1); ^~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:693:9: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!valid_token_name(s)) ^~~~~~~~~~~~~~~~~~~ http.c:102:39: note: expanded from macro 'valid_token_name' #define valid_token_name(X) (strpbrk((X), http_notok) ? 0 : 1) ^~~ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ http.c:696:27: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] p->attribute = cpystr(s); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:713:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.name = hex_escape_url_part(param[i].name, NULL); ^~~~~~~~~~~~~ http.c:91:51: note: passing argument to parameter here unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); ^ http.c:713:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.name = hex_escape_url_part(param[i].name, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:714:43: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.value = hex_escape_url_part(param[i].value, NULL); ^~~~~~~~~~~~~~ http.c:91:51: note: passing argument to parameter here unsigned char *hex_escape_url_part(unsigned char *, unsigned char *); ^ http.c:714:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.value = hex_escape_url_part(param[i].value, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:715:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&rv, i == 0 ? "?" : "&"); ^~~~~~~~~~~~~~~~~~ http.c:90:50: note: passing argument to parameter here void buffer_add(unsigned char **, unsigned char *); ^ http.c:716:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&rv, enc_param.name); ^~~~~~~~~~~~~~ http.c:90:50: note: passing argument to parameter here void buffer_add(unsigned char **, unsigned char *); ^ http.c:717:21: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&rv, "="); ^~~ http.c:90:50: note: passing argument to parameter here void buffer_add(unsigned char **, unsigned char *); ^ http.c:718:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&rv, enc_param.value); ^~~~~~~~~~~~~~~ http.c:90:50: note: passing argument to parameter here void buffer_add(unsigned char **, unsigned char *); ^ http.c:749:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:749:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; ^~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:749:54: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] int len = strlen(method) + strlen(target) + strlen(version) + 2 + 1; ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:752:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(line, "%s %s %s", method, target, version); ^~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:765:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(name) + 2 + strlen(value) + 2 + 1; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:765:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = strlen(name) + 2 + strlen(value) + 2 + 1; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:766:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hlen = (*reqp)->header ? strlen((*reqp)->header) : 0; ^~~~~~~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:769:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf((*reqp)->header + hlen, "%s: %s\015\012", name, value); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:779:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = *bufp ? strlen(*bufp) : 0; ^~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:780:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fs_resize((void **) bufp, (len + strlen(text) + 1)*sizeof(char)); ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:782:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(*bufp, text); ^~~~~ /usr/include/string.h:80:31: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ http.c:782:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcat(*bufp, text); ^~~~ /usr/include/string.h:80:56: note: passing argument to parameter here char *strcat(char * __restrict, const char * __restrict); ^ http.c:832:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:837:32: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || (addsafe != NULL && strchr(addsafe, *t) != NULL)) ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:838:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:838:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ^~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:840:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:840:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ^~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:841:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:850:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned char *s = fs_get((3*strlen(text) + 1)*sizeof(char)), *t; ^~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:855:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%c", '+'); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:855:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%c", '+'); ^~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:857:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] || (addsafe != NULL && strchr(addsafe, *t) != NULL)) ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:858:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:858:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%c", *t); ^~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:860:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:860:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(s + strlen(s), "%%%X", *t); ^~~~~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ http.c:861:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fs_resize((void **) &s, (strlen(s)+1)*sizeof(char)); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:887:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = strchr(url+i+1, '/'); ^~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:887:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = strchr(url+i+1, '/'); ^ ~~~~~~~~~~~~~~~~~~~~ http.c:888:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] len = s ? s - url - i - 1 : strlen(url+i+1); ^~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:889:26: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(mb->orighost, url+i+1, len); ^~~~~~~ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ http.c:915:5: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = strchr((char *) url + 7 + (mb.trysslflag ? 1 : 0) + 1, '/'); /* 7 = strlen("http://") + 1 */ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:916:28: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->url = cpystr(url); ^~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:941:45: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~ http.c:747:34: note: passing argument to parameter 'method' here http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^ http.c:941:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~ http.c:747:57: note: passing argument to parameter 'target' here http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^ http.c:941:70: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_request->request = http_request_line("POST", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~~ ./http.h:76:26: note: expanded from macro 'HTTP_1_1_VERSION' #define HTTP_1_1_VERSION "HTTP/1.1" ^~~~~~~~~~ http.c:747:80: note: passing argument to parameter 'version' here http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^ http.c:942:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~ http.c:757:55: note: passing argument to parameter 'name' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:942:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:943:34: warning: passing 'char[13]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); ^~~~~~~~~~~~~~ http.c:757:55: note: passing argument to parameter 'name' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:943:50: warning: passing 'char[34]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, "Content-Type", HTTP_MIME_URLENCODED); ^~~~~~~~~~~~~~~~~~~~ ./http.h:74:30: note: expanded from macro 'HTTP_MIME_URLENCODED' #define HTTP_MIME_URLENCODED "application/x-www-form-urlencoded" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:946:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.name = encode_url_body_part(param[i].name, NULL); ^~~~~~~~~~~~~ http.c:847:37: note: passing argument to parameter 'text' here encode_url_body_part(unsigned char *text, unsigned char *addsafe) ^ http.c:946:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.name = encode_url_body_part(param[i].name, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:947:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.value = encode_url_body_part(param[i].value, NULL); ^~~~~~~~~~~~~~ http.c:847:37: note: passing argument to parameter 'text' here encode_url_body_part(unsigned char *text, unsigned char *addsafe) ^ http.c:947:21: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] enc_param.value = encode_url_body_part(param[i].value, NULL); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:949:37: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_body(&http_request, "&"); ^~~ http.c:786:53: note: passing argument to parameter 'text' here http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^ http.c:950:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_body(&http_request, enc_param.name); ^~~~~~~~~~~~~~ http.c:786:53: note: passing argument to parameter 'text' here http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^ http.c:951:34: warning: passing 'char[2]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_body(&http_request, "="); ^~~ http.c:786:53: note: passing argument to parameter 'text' here http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^ http.c:952:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_body(&http_request, enc_param.value); ^~~~~~~~~~~~~~~ http.c:786:53: note: passing argument to parameter 'text' here http_add_body(HTTP_REQUEST_S **reqp, unsigned char *text) ^ http.c:959:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] response = cpystr(s ? (char *) s : ""); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:977:45: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); ^~~~~ http.c:747:34: note: passing argument to parameter 'method' here http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^ http.c:977:52: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~ http.c:747:57: note: passing argument to parameter 'target' here http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^ http.c:977:69: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_request->request = http_request_line("GET", stream->urltail, HTTP_1_1_VERSION); ^~~~~~~~~~~~~~~~ ./http.h:76:26: note: expanded from macro 'HTTP_1_1_VERSION' #define HTTP_1_1_VERSION "HTTP/1.1" ^~~~~~~~~~ http.c:747:80: note: passing argument to parameter 'version' here http_request_line(unsigned char *method, unsigned char *target, unsigned char *version) ^ http.c:978:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~ http.c:757:55: note: passing argument to parameter 'name' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:978:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, "Host", stream->urlhost); ^~~~~~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:980:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, h[i]->name, h[i]->value); ^~~~~~~~~~ http.c:757:55: note: passing argument to parameter 'name' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:980:49: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&http_request, h[i]->name, h[i]->value); ^~~~~~~~~~~ http.c:757:76: note: passing argument to parameter 'value' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:984:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] response = cpystr(s ? (char *) s : ""); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:1014:29: warning: passing 'char[21]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = http_fake (stream,"http connection lost"); ^~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here long http_fake (HTTPSTREAM *, unsigned char *); ^ http.c:1019:37: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf(length, "%lu", strlen(req->body)); ^~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ http.c:1020:29: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&req, "Content-Length", length); ^~~~~~~~~~~~~~~~ http.c:757:55: note: passing argument to parameter 'name' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:1020:47: warning: passing 'char[20]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_add_header(&req, "Content-Length", length); ^~~~~~ http.c:757:76: note: passing argument to parameter 'value' here http_add_header(HTTP_REQUEST_S **reqp, unsigned char *name, unsigned char *value) ^ http.c:1023:50: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&s, req->request); buffer_add(&s, "\015\012"); ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here buffer_add(unsigned char **bufp, unsigned char *text) ^ http.c:1024:49: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&s, req->header); buffer_add(&s, "\015\012"); ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here buffer_add(unsigned char **bufp, unsigned char *text) ^ http.c:1025:47: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&s, req->body); buffer_add(&s, "\015\012"); ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here buffer_add(unsigned char **bufp, unsigned char *text) ^ http.c:1027:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream->debug) mm_log(s, HTTPDEBUG); ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ http.c:1029:40: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = net_soutr (stream->netstream,s) ^ ./mail.h:1913:41: note: passing argument to parameter 'string' here long net_soutr (NETSTREAM *stream,char *string); ^ http.c:1031:24: warning: passing 'char[34]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] : http_fake (stream,"http connection broken in command"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here long http_fake (HTTPSTREAM *, unsigned char *); ^ http.c:1046:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if((s = strchr(status_line, ' ')) != NIL){ ^~~~~~~~~~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ http.c:1048:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] version = cpystr(status_line); ^~~~~~~~~~~ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ http.c:1083:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream->debug) mm_log(stream->response ? stream->response : (unsigned char *) "", HTTPDEBUG); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ http.c:1087:33: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&stream->reply, "\015\012"); ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here buffer_add(unsigned char **bufp, unsigned char *text) ^ http.c:1094:23: warning: passing 'char[49]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_fake(stream, "Invalid status line received. Closing connection"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here long http_fake (HTTPSTREAM *, unsigned char *); ^ http.c:1104:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream->debug) mm_log(stream->response, HTTPDEBUG); ^~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ http.c:1106:33: warning: passing 'char[3]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buffer_add(&stream->reply, "\015\012"); ^~~~~~~~~~ http.c:773:49: note: passing argument to parameter 'text' here buffer_add(unsigned char **bufp, unsigned char *text) ^ http.c:1119:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream->debug) mm_log(stream->response, HTTPDEBUG); ^~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ http.c:1125:22: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(p->vp->value, "chunked")) ^~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:1125:36: warning: passing 'char[8]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(p->vp->value, "chunked")) ^~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ http.c:1134:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream->debug) mm_log(s, HTTPDEBUG); ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ http.c:1135:21: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] size = strtol(s, NIL, 16); ^ /usr/include/stdlib.h:117:37: note: passing argument to parameter here long strtol(const char * __restrict, char ** __restrict, int); ^ http.c:1140:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(stream->debug) mm_log(stream->response, HTTPDEBUG); ^~~~~~~~~~~~~~~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ http.c:1148:23: warning: passing 'char[33]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] http_fake(stream, "Connection to HTTP server closed"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ http.c:96:46: note: passing argument to parameter here long http_fake (HTTPSTREAM *, unsigned char *); ^ 155 warnings generated. `cat CCTYPE` -c `cat CFLAGS` json.c json.c:454:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] JSON_S *json = json_body_value(j, s); ^ json.c:137:43: note: passing argument to parameter 's' here json_body_value(JSON_S *j, unsigned char *s) ^ json.c:475:46: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(j->name && !compare_cstring(j->name, name)) ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 2 warnings generated. `cat CCTYPE` -c `cat CFLAGS` pop3.c pop3.c:179:22: warning: passing 'char[256]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:179:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (mb.mailbox,"INBOX")) ? &pop3driver : NIL; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:231:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:231:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (pop3_valid (ref) && pmatch ("INBOX",pat)) : ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:232:60: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:232:68: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp))) ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:247:37: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:247:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pop3_valid (ref) && pmatch ("INBOX",pat)) { ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:252:64: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^~~~~~~ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:252:72: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mail_valid_net (pat,&pop3driver,NIL,tmp) && pmatch ("INBOX",tmp)) { ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:278:74: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) ^ ./misc.h:78:16: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:278:76: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = sm_read (tmp,&sdb)) != NULL) do if (pop3_valid (s) && pmatch (s,mbx)) ^~~ ./misc.h:78:18: note: expanded from macro 'pmatch' pmatch_full (s,pat,NIL) ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ pop3.c:504:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:504:29: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (t,"STLS")) LOCAL->cap.stls = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:505:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:505:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"PIPELINING")) LOCAL->cap.pipelining = T; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:506:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:506:34: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"RESP-CODES")) LOCAL->cap.respcodes = T; ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:507:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:507:34: warning: passing 'char[4]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"TOP")) LOCAL->cap.top = T; ^~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:508:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:508:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"UIDL")) LOCAL->cap.uidl = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:509:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:509:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"USER")) LOCAL->cap.user = T; ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:510:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:510:34: warning: passing 'char[15]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"IMPLEMENTATION") && args) ^~~~~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:512:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:512:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"EXPIRE") && args) { ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:520:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:520:26: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!compare_cstring (args,"NEVER")) ? 65535 : ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:521:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:521:31: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((s && !compare_cstring (s,"USER")) ? -atoi (args) : atoi (args)); ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:523:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:523:34: warning: passing 'char[12]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"LOGIN-DELAY") && args) { ^~~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:531:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:531:56: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->cap.delaysecs = (s && !compare_cstring (s,"USER")) ? ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:534:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:534:34: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (t,"SASL") && args) ^~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:618:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ^~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:618:42: warning: passing 'char[16]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(at->name, mb->auth)) ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ pop3.c:830:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:831:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:994:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ pop3.c:995:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ 44 warnings generated. `cat CCTYPE` -c `cat CFLAGS` unix.c unix.c:470:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:470:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:482:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:591:26: warning: initializing 'unsigned char *' with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] STRINGLIST XIMAPbase = {{"X-IMAPbase", 10}, NIL}; ^~~~~~~~~~~~ unix.c:592:26: warning: initializing 'unsigned char *' with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] STRINGLIST XIMAP = {{"X-IMAP", 6}, &XIMAPbase}; ^~~~~~~~ unix.c:593:26: warning: initializing 'unsigned char *' with an expression of type 'char[6]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] STRINGLIST XUID = {{"X-UID", 5}, &XIMAP}; ^~~~~~~ unix.c:594:26: warning: initializing 'unsigned char *' with an expression of type 'char[11]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] STRINGLIST XKeywords = {{"X-Keywords", 10}, &XUID}; ^~~~~~~~~~~~ unix.c:595:26: warning: initializing 'unsigned char *' with an expression of type 'char[9]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] STRINGLIST XStatus = {{"X-Status", 8}, &XKeywords}; ^~~~~~~~~~ unix.c:596:26: warning: initializing 'unsigned char *' with an expression of type 'char[7]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] STRINGLIST Status = {{"Status", 6}, &XStatus}; ^~~~~~~~ unix.c:615:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:629:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:642:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,unix_hlines,FT_NOT); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1800:34: note: passing argument to parameter 'text' here unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ unix.c:692:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:720:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ ~~~ unix.c:723:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:776:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:778:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:835:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:836:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:849:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ ~~~~~~~~~~ unix.c:891:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:892:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ unix.c:898:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:898:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:905:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:906:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:910:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid UNIX-format mailbox name: %.80s",mailbox); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:911:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:915:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Not a UNIX-format mailbox: %.80s",mailbox); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:916:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:925:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:927:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:936:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:937:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR);/* log the error */ ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:946:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ unix.c:954:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:131:54: note: passing argument to parameter 'status' here unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:955:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:131:54: note: passing argument to parameter 'status' here unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:956:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ unix.c:970:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:996:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:1040:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1040:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1082:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ unix.c:1185:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1451:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:1452:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:1461:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:1463:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:1475:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ ~~~~~~~~~~ unix.c:1484:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1488:11: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:1490:10: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:1539:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:1540:12: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:1544:10: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = t = unix_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:1561:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ unix.c:1561:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ ~~~~~~~~~~~~~~~~~~~ unix.c:1561:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ unix.c:1567:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:107:40: note: passing argument to parameter 's1' here int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ unix.c:1615:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ unix.c:1615:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ ~~~~~~~~~~~~~~~~~~~ unix.c:1622:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ unix.c:1650:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:1655:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:1675:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:1731:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1732:27: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1733:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1734:27: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1735:27: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1736:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:1759:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; ^ ~~~~~~~~~~~~~~~~~~~~ unix.c:1785:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = unix_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2071:60: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? unix_pseudo (stream,LOCAL->buf) : 0; ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1951:53: note: passing argument to parameter 'hdr' here unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2079:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1978:54: note: passing argument to parameter 'status' here unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2087:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] size = unix_pseudo (stream,LOCAL->buf); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1951:53: note: passing argument to parameter 'hdr' here unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2107:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1951:53: note: passing argument to parameter 'hdr' here unsigned long unix_pseudo (MAILSTREAM *stream,char *hdr) ^ unix.c:2107:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_write (&f,LOCAL->buf,unix_pseudo (stream,LOCAL->buf)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:136:36: note: passing argument to parameter 's' here void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2124:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1978:54: note: passing argument to parameter 'status' here unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2138:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_write (&f,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:136:36: note: passing argument to parameter 's' here void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2159:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j = unix_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:1978:54: note: passing argument to parameter 'status' here unsigned long unix_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ unix.c:2158:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unix_write (&f,LOCAL->buf, ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ unix.c:136:36: note: passing argument to parameter 's' here void unix_write (UNIXFILE *f,char *s,unsigned long i); ^ unix.c:2244:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:2245:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:2266:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ unix.c:2271:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ unix.c:2277:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:2278:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:2450:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2450:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,"INBOX") && (unix_valid ("mbox") || !errno) && ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2465:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2465:33: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) return unix_create (NIL,"mbox"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ unix.c:2593:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mail drop %s is not in standard Unix format", ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:2595:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:2607:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"New mail move failed: %s",strerror (errno)); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:2608:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:2614:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mail drop %s lock failure, old=%lu now=%lu", ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:2616:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ unix.c:2632:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Moved %lu bytes of new mail to %s from %s", ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ unix.c:2637:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ unix.c:81:15: note: expanded from macro 'LOCAL' #define LOCAL ((UNIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ 100 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mbx.c mbx.c:308:61: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:308:66: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (((error = errno) == ENOENT) && !compare_cstring (name,"INBOX")) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:507:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:507:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) mbx_create (NIL,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:588:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:591:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:591:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:678:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:679:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:707:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:710:23: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,*length); ^ ~~~~~~~~~~ mbx.c:747:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ ~~~~~~~~~~ mbx.c:857:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",i); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:858:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:890:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:891:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) { ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:897:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",nexp); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:898:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:901:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:902:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:941:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:942:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mbx.c:942:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:948:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mbx.c:948:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:964:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:965:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:1000:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1001:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mbx.c:1010:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1011:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:1015:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MBX-format mailbox name: %.80s",mailbox); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1016:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:1020:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MBX-format mailbox: %.80s",mailbox); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1021:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:1033:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_date(LOCAL->buf,elt);/* build target header */ ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here char *mail_date (char *string,MESSAGECACHE *elt); ^ mbx.c:1038:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1038:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,t) && (k |= 1 << m)) break; ^ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1039:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mbx.c:1039:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf+strlen(LOCAL->buf),",%lu;%08lx%04x-%08lx\015\012", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1045:48: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mbx.c:1045:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = (write (fd,LOCAL->buf,strlen (LOCAL->buf)) > 0)) != 0L) { ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1048:20: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = write (fd,LOCAL->buf,j) >= 0; ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1059:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1060:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mbx.c:1066:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx",dstream->uid_last); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1067:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write (fd,LOCAL->buf,8); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1124:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1124:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mbx.c:1166:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mbx.c:1275:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->uid_validity = strtoul (LOCAL->buf + 7,NIL,16); ^~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1278:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strtoul (LOCAL->buf + 15,NIL,16); ^~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1282:41: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mbx.c:1282:31: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (i < NUSERFLAGS) && (t = strchr (s,'\015')) && (t - s); ^ ~~~~~~~~~~~~~~~~~ mbx.c:1285:44: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream->user_flags[i] && (strlen (s) <= MAXUSERFLAG)) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mbx.c:1286:39: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->user_flags[i] = cpystr (s); ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ mbx.c:1296:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strtoul (LOCAL->buf + HDRSIZE - 8,NIL,16) : 0; ^~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1313:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mbx.c:1313:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1322:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mbx.c:1322:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:1322:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mbx.c:1322:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ ~~~~~~~~~~~~~~~~ mbx.c:1352:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(j = strtoul (s,(char **) &x,10)) && (!(x && *x))) { ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1370:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((m = strtoul (t+13,NIL,16)) && ^~~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1386:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((k = strtoul (t+8,NIL,16)) & fEXPUNGED) { ^~~ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1420:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] elt->user_flags = strtoul (t,NIL,16); ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1502:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag read!", ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1504:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mbx.c:1511:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1512:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mbx.c:1517:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, LOCAL->buf, 14); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ mbx.c:1518:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1521:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf+50); ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mbx.c:1525:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] i = strtoul (LOCAL->buf+9,NIL,16); ^~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1534:30: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] elt->user_flags = strtoul (LOCAL->buf+1,NIL,16); ^~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1550:9: warning: initializing 'char *' with an expression of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] char *s = LOCAL->buf; ^ ~~~~~~~~~~ mbx.c:1561:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + HDRSIZE - 10,"%08lx\015\012",LOCAL->lastpid); ^~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1565:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf + CYGKLUDGEOFFSET, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1588:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox shrank from %lu to %lu in flag update!", ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1590:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mbx.c:1597:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read old status: %s",strerror (errno)); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1598:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mbx.c:1603:20: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy(tmp, LOCAL->buf, 14); ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ mbx.c:1605:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf+50,"Invalid flags for message %lu (%lu %lu): %s", ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1608:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf+50); ^~~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mbx.c:1613:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fEXPUNGED : (strtoul (LOCAL->buf+9,NIL,16)) & fEXPUNGED) + ^~~~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mbx.c:1611:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%08lx%04x-%08lx",elt->user_flags,(unsigned) ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mbx.c:1621:28: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,21) > 0) break; ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mbx.c:1669:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ ~~~~~~~~~~ mbx.c:1676:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; ^ ~~~~~~~~~~ mbx.c:1686:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (hdr) *hdr = LOCAL->buf; /* possibly return header too */ ^ ~~~~~~~~~~ mbx.c:1767:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^~~~~~~~~~ mbx.c:83:15: note: expanded from macro 'LOCAL' #define LOCAL ((MBXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ 93 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mmdf.c mmdf.c:609:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:609:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:621:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:767:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:781:23: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read (LOCAL->fd,s = (char *) fs_get (elt->private.msg.header.text.size+1), ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:794:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *length = mail_filter (LOCAL->buf,*length,mmdf_hlines,FT_NOT); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1800:34: note: passing argument to parameter 'text' here unsigned long mail_filter (char *text,unsigned long len,STRINGLIST *lines, ^ mmdf.c:844:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:872:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = tmp; /* initial buffer chunk */ ^ ~~~ mmdf.c:875:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = (char *) LOCAL->text.data; SIZE (&bs);) switch (c = SNX (&bs)) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:928:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox stat failed, aborted: %s", ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:930:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:987:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:988:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1001:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (i) sprintf (msg = LOCAL->buf,"Expunged %lu messages",i); ^ ~~~~~~~~~~ mmdf.c:1040:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1041:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mmdf.c:1046:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1046:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1053:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1054:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1058:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MMDF-format mailbox name: %.80s",mailbox); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1059:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1063:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MMDF-format mailbox: %.80s",mailbox); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1064:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1073:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write-open mailbox for COPYUID: %.80s", ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1075:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1084:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't open destination mailbox: %s",strerror (errno)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1085:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); /* log the error */ ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1094:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (fd,LOCAL->buf,elt->private.special.text.size) < 0) ret = NIL; ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:1102:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,++(tstream->uid_last),LONGT) : ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:287:54: note: passing argument to parameter 'status' here unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:1103:27: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,NIL); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:287:54: note: passing argument to parameter 'status' here unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:1104:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:1119:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Message copy failed: %s",strerror (errno)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1145:21: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!ret) MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1190:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1190:34: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (mailbox,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1232:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mmdf.c:1334:12: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = stream->user_flags[find_rightmost_bit (&uf)]) && ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1593:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1594:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1603:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Mailbox shrank from %lu to %lu bytes, aborted", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1605:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,ERROR); /* this is pretty bad */ ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1617:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ ~~~~~~~~~~ mmdf.c:1626:9: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1630:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Unexpected changes to mailbox (try restarting): %.20s", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1636:8: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1641:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,ERROR); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1658:4: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1694:15: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Unable to parse internal date: %s",(char *) date); ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1695:14: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1712:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (t) s = t = mmdf_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1738:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ mmdf.c:1738:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ ~~~~~~~~~~~~~~~~~~~ mmdf.c:1738:53: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(u = strpbrk (s," \n\r"))) u = s + strlen (s); ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mmdf.c:1744:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_csizedtext (stream->user_flags[j],&uf)) { ^~~~~~~~~~~~~~~~~~~~~ ./misc.h:107:40: note: passing argument to parameter 's1' here int compare_csizedtext (unsigned char *s1,SIZEDTEXT *s2); ^ mmdf.c:1792:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ mmdf.c:1792:11: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] u = strpbrk (s," \n\r"); ^ ~~~~~~~~~~~~~~~~~~~ mmdf.c:1799:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncpy (stream->user_flags[j],s,k); ^ /usr/include/string.h:107:57: note: passing argument to parameter here char *strncpy(char * __restrict, const char * __restrict, size_t); ^ mmdf.c:1827:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu already has UID %lu", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1832:16: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (tmp,"Message %lu UID %lu less than %lu", ^~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:1852:13: warning: passing 'unsigned char[1024]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (tmp,WARN); ^~~ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:1908:34: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (tmp,"STATUS") || ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1909:27: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-STATUS") || ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1910:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-KEYWORDS") || ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1911:27: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-UID") || ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1912:27: warning: passing 'char[7]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-IMAP") || ^~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1913:27: warning: passing 'char[11]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (tmp,"X-IMAPBASE")) { ^~~~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mmdf.c:1936:15: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((u = strpbrk (err,"\r\n")) != NULL) *u = '\0'; ^ ~~~~~~~~~~~~~~~~~~~~ mmdf.c:1960:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:1985:6: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] s = mmdf_mbxline (stream,&bs,&i); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2247:60: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unsigned long size = LOCAL->pseudo ? mmdf_pseudo (stream,LOCAL->buf) : 0; ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2127:53: note: passing argument to parameter 'hdr' here unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2255:23: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag) + ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2154:54: note: passing argument to parameter 'status' here unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2263:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] size = mmdf_pseudo (stream,LOCAL->buf); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2127:53: note: passing argument to parameter 'hdr' here unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2283:53: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2127:53: note: passing argument to parameter 'hdr' here unsigned long mmdf_pseudo (MAILSTREAM *stream,char *hdr) ^ mmdf.c:2283:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,mmdf_pseudo (stream,LOCAL->buf)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:292:36: note: passing argument to parameter 's' here void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2300:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)))) { ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2154:54: note: passing argument to parameter 'status' here unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2314:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_write (&f,LOCAL->buf,elt->private.special.text.size); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:292:36: note: passing argument to parameter 's' here void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2335:34: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j = mmdf_xstatus (stream,LOCAL->buf,elt,NIL,flag)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:2154:54: note: passing argument to parameter 'status' here unsigned long mmdf_xstatus (MAILSTREAM *stream,char *status,MESSAGECACHE *elt, ^ mmdf.c:2334:19: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mmdf_write (&f,LOCAL->buf, ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ mmdf.c:292:36: note: passing argument to parameter 's' here void mmdf_write (MMDFFILE *f,char *s,unsigned long i); ^ mmdf.c:2403:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Mailbox open failed, aborted: %s",strerror (errno)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:2404:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mmdf.c:2425:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = i) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mmdf.c:2430:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,i) >= 0) && !fsync (LOCAL->fd)) break; ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mmdf.c:2436:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to extend mailbox: %s",strerror (e)); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mmdf.c:2437:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!stream->silent) MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mmdf.c:236:15: note: expanded from macro 'LOCAL' #define LOCAL ((MMDFLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ 85 warnings generated. `cat CCTYPE` -c `cat CFLAGS` tenex.c tenex.c:212:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:212:56: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:354:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:354:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:431:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:437:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:437:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:504:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:505:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:515:17: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:542:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:543:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:568:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:578:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] *length = strcrlfcpy (&LOCAL->buf,&LOCAL->buflen,s,i); ^ ./nl.h:33:21: note: passing argument to parameter 'src' here unsigned char *src,unsigned long srcl); ^ tenex.c:613:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (LOCAL->buflen = i + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:636:50: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strcrlfcpy (&LOCAL->text.data,&LOCAL->text.size,s,i); ^ ./nl.h:33:21: note: passing argument to parameter 'src' here unsigned char *src,unsigned long srcl); ^ tenex.c:778:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here char *mail_date (char *string,MESSAGECACHE *elt); ^ tenex.c:779:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ tenex.c:779:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:785:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ tenex.c:785:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:801:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:802:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:837:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:838:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:899:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:915:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf, ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:918:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:922:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:924:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:965:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!tenex_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ tenex.c:177:37: note: passing argument to parameter 'tmp' here int tenex_isvalid (char *name,char *tmp) ^ tenex.c:972:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:973:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:977:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid Tenex-format mailbox name: %.80s",mailbox); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:978:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:982:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Not a Tenex-format mailbox: %.80s",mailbox); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:983:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:986:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:987:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ tenex.c:990:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:991:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:1013:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:1018:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:1019:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ tenex.c:1076:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:1076:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"mail.txt"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ tenex.c:1126:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ tenex.c:1248:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ tenex.c:1248:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(s = strchr (LOCAL->buf,'\012'))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1257:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ tenex.c:1257:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~ tenex.c:1257:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ tenex.c:1257:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ ~~~~~~~~~~~~~~~~ tenex.c:1280:46: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (elt->private.msg.full.text.size = strtoul (s,(char **) &s,10)) && ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ tenex.c:1304:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ tenex.c:1382:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:1383:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ tenex.c:1391:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ tenex.c:1417:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ tenex.c:1425:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^~~~~~~~~~ tenex.c:70:15: note: expanded from macro 'LOCAL' #define LOCAL ((TENEXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ tenex.c:1460:20: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] read (LOCAL->fd,s = LOCAL->buf,i = min (msiz-siz,(long) MAILTMPLEN)); ^ ~~~~~~~~~~ 61 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mtx.c mtx.c:205:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:205:56: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((errno == ENOENT) && !compare_cstring (name,"INBOX")) errno = -1; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:345:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:345:36: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (ret && !compare_cstring (old,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:423:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:426:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:426:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:489:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:490:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:513:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = *length) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:548:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ ~~~~~~~~~~ mtx.c:687:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_date (LOCAL->buf,elt = mail_elt (sysibx,i)); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1788:24: note: passing argument to parameter 'string' here char *mail_date (char *string,MESSAGECACHE *elt); ^ mtx.c:688:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mtx.c:688:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:694:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mtx.c:694:26: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((write (LOCAL->fd,LOCAL->buf,strlen (LOCAL->buf)) < 0) || ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:710:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail: %s",strerror (errno)); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:711:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:746:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:747:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:808:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (LOCAL->fd,LOCAL->buf,m) > 0) break; ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:823:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf, ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:826:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:830:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:832:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:873:29: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mtx_isvalid (mailbox,LOCAL->buf)) switch (errno) { ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ mtx.c:170:35: note: passing argument to parameter 'tmp' here int mtx_isvalid (char *name,char *tmp) ^ mtx.c:880:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't access destination: %.80s",mailbox); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:881:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:885:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Invalid MTX-format mailbox name: %.80s",mailbox); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:886:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:890:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MTX-format mailbox: %.80s",mailbox); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:891:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:894:56: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:895:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) return NIL; ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mtx.c:898:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to open copy mailbox: %s",strerror (errno)); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:899:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:921:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (write (fd,LOCAL->buf,j) < 0) ret = NIL; ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mtx.c:926:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to write message: %s",strerror (errno)); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:927:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mtx.c:984:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:984:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) dummy_create (NIL,"INBOX.MTX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mtx.c:1034:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mtx.c:1134:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mtx.c:1134:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,'\015')) && (s[1] == '\012'))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:1143:24: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mtx.c:1143:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ ~~~~~~~~~~~~~~~~~~~~~~~ mtx.c:1143:57: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^~~ /usr/include/string.h:81:26: note: passing argument to parameter here char *strchr(const char *, int) __pure; ^ mtx.c:1143:47: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((s = strchr (LOCAL->buf,',')) && (t = strchr (s+1,';')))) { ^ ~~~~~~~~~~~~~~~~ mtx.c:1166:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (elt->rfc822_size = strtoul (s,(char **) &s,10)) && (!(s && *s)) && ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mtx.c:1190:18: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j = strtoul (t,NIL,8); /* get user flags value */ ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mtx.c:1268:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Unable to read new status: %s",strerror (errno)); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:1269:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] fatal (LOCAL->buf); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./ftl.h:32:19: note: passing argument to parameter 'string' here void fatal (char *string); ^ mtx.c:1277:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] j = strtoul(LOCAL->buf,NIL,8);/* get user flags value */ ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdlib.h:121:34: note: passing argument to parameter here strtoul(const char * __restrict, char ** __restrict, int); ^ mtx.c:1303:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%010lo%02o",k,(unsigned) ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mtx.c:1311:22: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] write (LOCAL->fd,LOCAL->buf,12); ^~~~~~~~~~ mtx.c:66:15: note: expanded from macro 'LOCAL' #define LOCAL ((MTXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ 55 warnings generated. `cat CCTYPE` -c `cat CFLAGS` news.c news.c:238:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:238:29: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) mm_list (stream,'.',name,NIL); ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:241:19: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:241:24: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pattern,'.')) ^~~~~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ news.c:457:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:458:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:475:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:475:67: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : mail_sequence (stream,sequence)) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ news.c:496:12: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~~~~~~ news.c:61:15: note: expanded from macro 'LOCAL' #define LOCAL ((NEWSLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ news.c:501:20: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^~~~~~~~~~ news.c:61:15: note: expanded from macro 'LOCAL' #define LOCAL ((NEWSLOCAL *) stream->local) ^ /usr/include/sys/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ news.c:505:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; ^ ~~~~~~~~~~ 11 warnings generated. `cat CCTYPE` -c `cat CFLAGS` phile.c phile.c:306:20: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->env->date = cpystr (tmp); ^ ~~~~~~~~~~~~ phile.c:328:45: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] buf->size = strcrlfcpy (&buf->data,&m,s,buf->size); ^ ./nl.h:33:21: note: passing argument to parameter 'src' here unsigned char *src,unsigned long srcl); ^ 2 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mh.c mh.c:191:44: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:191:49: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((mh_allow_inbox && !compare_cstring (name,"INBOX")) || ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:192:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:192:30: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (name,MHINBOX) || ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:196:42: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:196:47: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = (synonly && compare_cstring (name,"INBOX")) ? ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:257:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:257:28: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (s,"Path:")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:375:27: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:375:32: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (test,MHINBOX)) ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:404:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:404:27: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] do if (pmatch_full (s,test,'/')) mm_lsub (stream,'/',s,NIL); ^~~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:436:21: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^~~~ ./env.h:29:34: note: passing argument to parameter 's' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:436:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (pmatch_full (name,pat,'/')) mm_list (stream,'/',name,NIL); ^~~ ./env.h:29:51: note: passing argument to parameter 'pat' here long pmatch_full (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:438:16: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (dmatch (name,pat,'/') && ^~~~ ./env.h:30:29: note: passing argument to parameter 's' here long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:438:21: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (dmatch (name,pat,'/') && ^~~ ./env.h:30:46: note: passing argument to parameter 'pat' here long dmatch (unsigned char *s,unsigned char *pat,unsigned char delim); ^ mh.c:588:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:588:40: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (!compare_cstring (stream->mailbox,MHINBOX) || ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:593:24: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:593:40: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (stream->mailbox,"INBOX")) ? T : NIL; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:639:32: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:640:28: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:663:12: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mh.c:668:20: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((fd = open (LOCAL->buf,O_RDONLY,NIL)) >= 0)) { ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/sys/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ mh.c:672:13: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; ^ ~~~~~~~~~~ mh.c:900:11: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,++old); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mh.c:903:19: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/sys/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ mh.c:927:16: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mh_setdate (LOCAL->buf,elt); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ mh.c:107:24: note: passing argument to parameter 'file' here void mh_setdate (char *file,MESSAGECACHE *elt); ^ mh.c:935:14: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ mh.c:982:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:983:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) { ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:988:11: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mh.c:989:14: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ mh.c:990:13: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mh.c:992:12: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mh.c:1010:16: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mh.c:1011:15: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mm_log (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mh.c:1042:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1043:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mh.c:1046:11: warning: passing 'unsigned char[65536]' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",LOCAL->dir,elt->private.uid); ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mh.c:1047:18: warning: passing 'unsigned char[65536]' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((fd = open (LOCAL->buf,O_RDONLY,NIL)) < 0) return NIL; ^~~~~~~~~~ mh.c:69:15: note: expanded from macro 'LOCAL' #define LOCAL ((MHLOCAL *) stream->local) ^ /usr/include/sys/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ mh.c:1059:10: warning: assigning to 'char *' from 'unsigned char[65536]' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; ^ ~~~~~~~~~~ mh.c:1107:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1107:38: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!((!compare_cstring (mailbox,MHINBOX) || ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1108:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1108:31: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !compare_cstring (mailbox,"INBOX")) && ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1147:34: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!mail_parse_date (&elt,date)) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mh.c:1229:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1229:30: warning: passing 'char[9]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~~~~ mh.c:43:17: note: expanded from macro 'MHINBOX' #define MHINBOX "#mhinbox" /* corresponds to namespace in env_unix.c */ ^~~~~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1229:60: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mh.c:1229:65: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (name,MHINBOX) || !compare_cstring (name,"INBOX")) ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 51 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mx.c mx.c:187:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:187:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!compare_cstring (name,"INBOX")) errno = NIL; ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:242:31: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (strcmp (name,MXINDEXNAME+1)) ~~~~~~~~~~~^~ mx.c:242:31: note: use array indexing to silence this warning if (strcmp (name,MXINDEXNAME+1)) ^ & [ ] mx.c:440:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:440:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:471:70: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int] if (lasterror || mx_rename_work (tmp,srcl,tmp1,dstl,MXINDEXNAME+1)) ~~~~~~~~~~~^~ mx.c:471:70: note: use array indexing to silence this warning if (lasterror || mx_rename_work (tmp,srcl,tmp1,dstl,MXINDEXNAME+1)) ^ & [ ] mx.c:519:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:519:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:525:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:574:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((flags & FT_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:575:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:592:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mx.c:594:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!elt->rfc822_size && !stat (LOCAL->buf,&sbuf)) { ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ mx.c:634:18: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = elt->rfc822_size) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mx.c:649:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpytxt (&elt->private.msg.header.text,LOCAL->buf,i); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ ./misc.h:85:36: note: passing argument to parameter 'text' here char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c:650:41: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] cpytxt (&elt->private.msg.text.text,LOCAL->buf+i,elt->rfc822_size - i); ^~~~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ ./misc.h:85:36: note: passing argument to parameter 'text' here char *cpytxt (SIZEDTEXT *dst,char *text,unsigned long size); ^ mx.c:768:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,++old); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mx.c:771:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (((fd = open (LOCAL->buf,O_WRONLY|O_CREAT|O_EXCL, ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/sys/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ mx.c:795:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mx_setdate (LOCAL->buf,elt); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ mx.c:106:24: note: passing argument to parameter 'file' here void mx_setdate (char *file,MESSAGECACHE *elt); ^ mx.c:802:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] unlink (LOCAL->buf);/* flush this file */ ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ mx.c:849:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:850:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) : LONGT) != 0L) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:856:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"%s/%lu",stream->mailbox,elt->private.uid); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mx.c:857:14: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (unlink (LOCAL->buf)) {/* try to delete the message */ ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ mx.c:858:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunge of message %lu failed, aborted: %s",i, ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mx.c:860:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mx.c:876:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Expunged %lu messages",n); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mx.c:877:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,(long) NIL); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mx.c:914:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Not a MX-format mailbox: %.80s",mailbox); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mx.c:915:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mx.c:62:15: note: expanded from macro 'LOCAL' #define LOCAL ((MXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mx.c:922:63: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:923:31: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)))); ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mx.c:945:12: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; ^ ~~~~~~~~~~ mx.c:1004:27: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:1004:35: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (!compare_cstring (mailbox,"INBOX")) mx_create (NIL,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mx.c:1039:54: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ 36 warnings generated. `cat CCTYPE` -c `cat CFLAGS` mix.c mix.c:528:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:528:30: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (compare_cstring (old,"INBOX")) { ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:607:37: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:607:53: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->inbox = !compare_cstring (stream->mailbox,"INBOX"); ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:609:14: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get (CHUNKSIZE); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:612:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mix_dir (LOCAL->buf,stream->mailbox); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:163:22: note: passing argument to parameter 'dst' here char *mix_dir (char *dst,char *name); ^ mix.c:614:29: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] stream->mailbox = cpystr (LOCAL->buf); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./misc.h:84:27: note: passing argument to parameter 'string' here char *cpystr (const char *string); ^ mix.c:617:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:164:23: note: passing argument to parameter 'dst' here char *mix_file (char *dst,char *dir,char *name); ^ mix.c:620:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ((LOCAL->mfd = open (mix_file (LOCAL->buf,stream->mailbox,MIXMETA), ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:164:23: note: passing argument to parameter 'dst' here char *mix_file (char *dst,char *dir,char *name); ^ mix.c:628:38: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->index = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXINDEX)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:164:23: note: passing argument to parameter 'dst' here char *mix_file (char *dst,char *dir,char *name); ^ mix.c:629:39: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->status = cpystr (mix_file (LOCAL->buf,stream->mailbox,MIXSTATUS)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:164:23: note: passing argument to parameter 'dst' here char *mix_file (char *dst,char *dir,char *name); ^ mix.c:630:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->sortcache = cpystr (mix_file (LOCAL->buf,stream->mailbox, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:164:23: note: passing argument to parameter 'dst' here char *mix_file (char *dst,char *dir,char *name); ^ mix.c:719:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:731:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = j) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:736:17: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] !strncmp (LOCAL->buf,MSGTOK,MSGTSZ) && ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mix.c:753:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((s = strpbrk (LOCAL->buf,"\015\012")) != NULL) *s = '\0'; ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/string.h:115:27: note: passing argument to parameter here char *strpbrk(const char *, const char *) __pure; ^ mix.c:782:46: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf,stream->mailbox, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:806:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; /* initial buffer chunk */ ^ ~~~~~~~~~~ mix.c:831:53: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (((flags & ST_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:832:30: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)) && ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:974:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't copy new mail at message: %lu",i - 1); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:975:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1034:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1035:25: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence))) || stream->rdonly); ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1086:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Can't locate mix message file %.08lx", ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1088:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1097:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mix_file_data (LOCAL->buf,stream->mailbox,cur->fileno) && ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1099:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:448:27: note: passing argument to parameter here int truncate(const char *, __off_t); ^ mix.c:1099:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] truncate (LOCAL->buf,0) : unlink (LOCAL->buf))) { ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/unistd.h:371:25: note: passing argument to parameter here int unlink(const char *); ^ mix.c:1100:17: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1103:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1136:26: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (nexp) sprintf (s = LOCAL->buf,"Expunged %lu messages",nexp); ^ ~~~~~~~~~~ mix.c:1138:17: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (s=LOCAL->buf,"Reclaimed %lu bytes of expunged space",reclaimed); ^~~~~~~~~~~ mix.c:1228:18: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mix_file_data (LOCAL->buf,stream->mailbox,burp->fileno); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1232:15: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stat (LOCAL->buf,&sbuf)) { ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/sys/stat.h:395:33: note: passing argument to parameter here int stat(const char * __restrict, struct stat * __restrict); ^ mix.c:1233:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1234:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1237:54: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:145:55: note: passing argument to parameter 'file' here long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^ mix.c:1241:34: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if ((ret = !truncate (LOCAL->buf,burp->set.last)) != 0L) ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:448:27: note: passing argument to parameter here int truncate(const char *, __off_t); ^ mix.c:1244:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1245:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1250:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (((fd = open (LOCAL->buf,O_RDWR,NIL)) < 0) || ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/sys/fcntl.h:360:22: note: passing argument to parameter here int open(const char *, int, ...); ^ mix.c:1252:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Error opening mix message file %.80s: %.80s", ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1254:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1258:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,staterr,burp->name,strerror (errno)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1259:13: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1264:52: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (mix_burp_check (&burp->set,sbuf.st_size,LOCAL->buf)) { ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:145:55: note: passing argument to parameter 'file' here long mix_burp_check (SEARCHSET *set,size_t size,char *file); ^ mix.c:1269:13: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] strncmp (LOCAL->buf,MSGTOK,MSGTSZ)) { ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/string.h:106:26: note: passing argument to parameter here int strncmp(const char *, const char *, size_t) __pure; ^ mix.c:1270:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,"Bad message token in mix message file at %lu", ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1272:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1312:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,truncerr,burp->name,strerror (errno)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1313:15: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,WARN); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:1362:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] long ret = mix_isvalid (mailbox,LOCAL->buf); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:235:36: note: passing argument to parameter 'meta' here long mix_isvalid (char *name,char *meta) ^ mix.c:1380:68: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (!(ret = ((options & CP_UID) ? mail_uid_sequence (stream,sequence) : ^~~~~~~~ ./mail.h:1857:59: note: passing argument to parameter 'sequence' here long mail_uid_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1381:29: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_sequence (stream,sequence)))); ^~~~~~~~ ./mail.h:1856:55: note: passing argument to parameter 'sequence' here long mail_sequence (MAILSTREAM *stream,unsigned char *sequence); ^ mix.c:1398:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, ^~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1400:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hdrsize = strlen (local->buf); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mix.c:1409:44: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((msgf = mix_data_open (astream,&fd,&size,newsize)) != NULL) { ^~~~~ mix.c:157:55: note: passing argument to parameter 'size' here FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^ mix.c:1421:47: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((LOCAL->msgfd = open (mix_file_data (LOCAL->buf, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:1433:14: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] d.chunk = LOCAL->buf; ^ ~~~~~~~~~~ mix.c:1525:33: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = compare_cstring (mailbox,"INBOX") ? ^~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:1525:41: warning: passing 'char[6]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((ret = compare_cstring (mailbox,"INBOX") ? ^~~~~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ mix.c:1556:16: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (local->buf,MSRFMT,MSGTOK,(unsigned long) 0,0,0,0,0,0,0,'+',0,0, ^~~~~~~~~~ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:1558:25: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] hdrsize = strlen (local->buf); ^~~~~~~~~~ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mix.c:1562:46: warning: passing 'unsigned long *' to parameter of type 'long *' converts between pointers to integer types with different sign [-Wpointer-sign] if ((msgf = mix_data_open (astream,&fd,&size,hdrsize + SIZE (message))) != NULL){ ^~~~~ mix.c:157:55: note: passing argument to parameter 'size' here FILE *mix_data_open (MAILSTREAM *stream,int *fd,long *size, ^ mix.c:1570:51: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] else if (date && !(ret = mail_parse_date (&elt,date))) { ^~~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c:1577:30: warning: passing 'char[1024]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] mail_parse_date (&elt,tmp); ^~~ ./mail.h:1790:56: note: passing argument to parameter 'string' here long mail_parse_date (MESSAGECACHE *elt,unsigned char *string); ^ mix.c:1832:42: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((s = mix_read_record (*idxf,LOCAL->buf,LOCAL->buflen,"index")) && ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:161:38: note: passing argument to parameter 'buf' here char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:1974:31: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if (stat (mix_file_data (LOCAL->buf,stream->mailbox, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2056:11: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:2059:10: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] MM_LOG (LOCAL->buf,ERROR); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./mail.h:1694:20: note: passing argument to parameter 'string' here void mm_log (char *string,long errflg); ^ mix.c:2069:43: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((t = s = mix_read_record (statf,LOCAL->buf,LOCAL->buflen, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:161:38: note: passing argument to parameter 'buf' here char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:2165:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) fs_get ((LOCAL->buflen = sbuf.st_size) + 1); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:2170:27: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (read (LOCAL->mfd,s = LOCAL->buf,sbuf.st_size) != sbuf.st_size)) ^ ~~~~~~~~~~ mix.c:2205:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf,SEQFMT,LOCAL->metaseq = mix_modseq (LOCAL->metaseq)); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:2206:35: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mix.c:2206:14: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sprintf (LOCAL->buf + strlen (LOCAL->buf),MTAFMT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/stdio.h:286:31: note: passing argument to parameter here int sprintf(char * __restrict, const char * __restrict, ...); ^ mix.c:2208:56: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (i = 0, c = 'K', s = ss = LOCAL->buf + strlen (LOCAL->buf); ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ /usr/include/string.h:101:28: note: passing argument to parameter here size_t strlen(const char *) __pure; ^ mix.c:2209:26: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (i < NUSERFLAGS) && (t = stream->user_flags[i]); ++i) { ^ ~~~~~~~~~~~~~~~~~~~~~ mix.c:2223:30: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] ret = (write (LOCAL->mfd,LOCAL->buf,i) == i) ? LONGT : NIL; ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ ./env_unix.h:86:31: note: passing argument to parameter 'buf' here long safe_write (int fd,char *buf,long nbytes); ^ mix.c:2418:35: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if ((*fd = open (mix_file_data (LOCAL->buf,stream->mailbox,LOCAL->newmsg), ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2435:7: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] (LOCAL->buf,stream->mailbox, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:165:28: note: passing argument to parameter 'dst' here char *mix_file_data (char *dst,char *dir,unsigned long data); ^ mix.c:2500:44: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] while ((s = t = mix_read_record (srtcf,LOCAL->buf,LOCAL->buflen, ^~~~~~~~~~ mix.c:108:15: note: expanded from macro 'LOCAL' #define LOCAL ((MIXLOCAL *) stream->local) ^ mix.c:161:38: note: passing argument to parameter 'buf' here char *mix_read_record (FILE *f,char *buf,unsigned long buflen,char *type); ^ mix.c:2599:21: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] LOCAL->buf = (char *) ^ ~~~~~~~~ mix.c:2611:15: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] for (s = LOCAL->buf,sl = NIL, ^ ~~~~~~~~~~ mix.c:2619:19: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] sl->text.data = cpystr (s); ^ ~~~~~~~~~~ 86 warnings generated. `cat CCTYPE` -c `cat CFLAGS` sha.c sha.c:49:26: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(hashes[hashno].name, hash)) ^~~~~~~~~~~~~~~~~~~ ./misc.h:106:37: note: passing argument to parameter 's1' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ sha.c:49:47: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] if(!compare_cstring(hashes[hashno].name, hash)) ^~~~ ./misc.h:106:55: note: passing argument to parameter 's2' here int compare_cstring (unsigned char *s1,unsigned char *s2); ^ 2 warnings generated. sh -c 'rm -rf c-client.a || true' ar rc c-client.a osdep.o mail.o misc.o newsrc.o smanager.o utf8.o utf8aux.o siglocal.o dummy.o pseudo.o netmsg.o flstring.o fdstring.o rfc822.o nntp.o smtp.o imap4r1.o http.o json.o pop3.o unix.o mbx.o mmdf.o tenex.o mtx.o news.o phile.o mh.o mx.o mix.o sha.o;ranlib c-client.a echo bsf > OSTYPE touch rebuild sh -c 'rm -rf rebuild || true' Not building bundled tools. /usr/bin/make all-recursive Making all in m4 Making all in po Making all in pith cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help_h_gen.o -MD -MP -MF .deps/help_h_gen.Tpo -c -o help_h_gen.o help_h_gen.c mv -f .deps/help_h_gen.Tpo .deps/help_h_gen.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o help_h_gen help_h_gen.o libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-rpath -Wl,/usr/local/lib -fstack-protector-strong -o help_h_gen help_h_gen.o -L/usr/local/lib -pthread ./help_h_gen < pine.hlp > helptext.h cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help_c_gen.o -MD -MP -MF .deps/help_c_gen.Tpo -c -o help_c_gen.o help_c_gen.c mv -f .deps/help_c_gen.Tpo .deps/help_c_gen.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o help_c_gen help_c_gen.o libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-rpath -Wl,/usr/local/lib -fstack-protector-strong -o help_c_gen help_c_gen.o -L/usr/local/lib -pthread ./help_c_gen < pine.hlp > helptext.c /usr/bin/make all-recursive Making all in osdep cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bldpath.o -MD -MP -MF .deps/bldpath.Tpo -c -o bldpath.o bldpath.c mv -f .deps/bldpath.Tpo .deps/bldpath.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT canaccess.o -MD -MP -MF .deps/canaccess.Tpo -c -o canaccess.o canaccess.c mv -f .deps/canaccess.Tpo .deps/canaccess.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT canonicl.o -MD -MP -MF .deps/canonicl.Tpo -c -o canonicl.o canonicl.c mv -f .deps/canonicl.Tpo .deps/canonicl.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT collate.o -MD -MP -MF .deps/collate.Tpo -c -o collate.o collate.c mv -f .deps/collate.Tpo .deps/collate.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT coredump.o -MD -MP -MF .deps/coredump.Tpo -c -o coredump.o coredump.c mv -f .deps/coredump.Tpo .deps/coredump.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT creatdir.o -MD -MP -MF .deps/creatdir.Tpo -c -o creatdir.o creatdir.c mv -f .deps/creatdir.Tpo .deps/creatdir.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT debugtime.o -MD -MP -MF .deps/debugtime.Tpo -c -o debugtime.o debugtime.c mv -f .deps/debugtime.Tpo .deps/debugtime.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT domnames.o -MD -MP -MF .deps/domnames.Tpo -c -o domnames.o domnames.c mv -f .deps/domnames.Tpo .deps/domnames.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT err_desc.o -MD -MP -MF .deps/err_desc.Tpo -c -o err_desc.o err_desc.c mv -f .deps/err_desc.Tpo .deps/err_desc.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fgetpos.o -MD -MP -MF .deps/fgetpos.Tpo -c -o fgetpos.o fgetpos.c mv -f .deps/fgetpos.Tpo .deps/fgetpos.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filesize.o -MD -MP -MF .deps/filesize.Tpo -c -o filesize.o filesize.c mv -f .deps/filesize.Tpo .deps/filesize.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fnexpand.o -MD -MP -MF .deps/fnexpand.Tpo -c -o fnexpand.o fnexpand.c mv -f .deps/fnexpand.Tpo .deps/fnexpand.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT hostname.o -MD -MP -MF .deps/hostname.Tpo -c -o hostname.o hostname.c mv -f .deps/hostname.Tpo .deps/hostname.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT lstcmpnt.o -MD -MP -MF .deps/lstcmpnt.Tpo -c -o lstcmpnt.o lstcmpnt.c mv -f .deps/lstcmpnt.Tpo .deps/lstcmpnt.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mimedisp.o -MD -MP -MF .deps/mimedisp.Tpo -c -o mimedisp.o mimedisp.c mv -f .deps/mimedisp.Tpo .deps/mimedisp.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c mv -f .deps/pipe.Tpo .deps/pipe.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pw_stuff.o -MD -MP -MF .deps/pw_stuff.Tpo -c -o pw_stuff.o pw_stuff.c mv -f .deps/pw_stuff.Tpo .deps/pw_stuff.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT rename.o -MD -MP -MF .deps/rename.Tpo -c -o rename.o rename.c mv -f .deps/rename.Tpo .deps/rename.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT tempfile.o -MD -MP -MF .deps/tempfile.Tpo -c -o tempfile.o tempfile.c mv -f .deps/tempfile.Tpo .deps/tempfile.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT temp_nam.o -MD -MP -MF .deps/temp_nam.Tpo -c -o temp_nam.o temp_nam.c mv -f .deps/temp_nam.Tpo .deps/temp_nam.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT writ_dir.o -MD -MP -MF .deps/writ_dir.Tpo -c -o writ_dir.o writ_dir.c mv -f .deps/writ_dir.Tpo .deps/writ_dir.Po rm -f libpithosd.a /usr/bin/ar cru libpithosd.a bldpath.o canaccess.o canonicl.o collate.o color.o coredump.o creatdir.o debugtime.o domnames.o err_desc.o fgetpos.o filesize.o fnexpand.o hostname.o lstcmpnt.o mimedisp.o pipe.o pw_stuff.o rename.o tempfile.o temp_nam.o writ_dir.o ranlib libpithosd.a Making all in charconv cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c mv -f .deps/filesys.Tpo .deps/filesys.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT utf8.o -MD -MP -MF .deps/utf8.Tpo -c -o utf8.o utf8.c utf8.c:1989:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if PREREQ_FOR_SYS_TRANSLATION ^ ../../include/system.h:99:121: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ utf8.c:1989:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../../include/system.h:99:142: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ 2 warnings generated. mv -f .deps/utf8.Tpo .deps/utf8.Po rm -f libpithcc.a /usr/bin/ar cru libpithcc.a filesys.o utf8.o ranlib libpithcc.a cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ablookup.o -MD -MP -MF .deps/ablookup.Tpo -c -o ablookup.o ablookup.c mv -f .deps/ablookup.Tpo .deps/ablookup.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT abdlc.o -MD -MP -MF .deps/abdlc.Tpo -c -o abdlc.o abdlc.c mv -f .deps/abdlc.Tpo .deps/abdlc.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT addrbook.o -MD -MP -MF .deps/addrbook.Tpo -c -o addrbook.o addrbook.c mv -f .deps/addrbook.Tpo .deps/addrbook.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT addrstring.o -MD -MP -MF .deps/addrstring.Tpo -c -o addrstring.o addrstring.c mv -f .deps/addrstring.Tpo .deps/addrstring.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT adrbklib.o -MD -MP -MF .deps/adrbklib.Tpo -c -o adrbklib.o adrbklib.c mv -f .deps/adrbklib.Tpo .deps/adrbklib.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bldaddr.o -MD -MP -MF .deps/bldaddr.Tpo -c -o bldaddr.o bldaddr.c bldaddr.c:297:30: warning: address of array 'ps_global->c_client_error' will always evaluate to 'true' [-Wpointer-bool-conversion] ps_global->c_client_error ? ps_global->c_client_error : "?")); ~~~~~~~~~~~^~~~~~~~~~~~~~ ~ ./debug.h:40:40: note: expanded from macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ bldaddr.c:1162:17: warning: address of array 'ps_global->cur_folder' will always evaluate to 'true' [-Wpointer-bool-conversion] && ps_global->cur_folder ~~ ~~~~~~~~~~~^~~~~~~~~~ 2 warnings generated. mv -f .deps/bldaddr.Tpo .deps/bldaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT body.o -MD -MP -MF .deps/body.Tpo -c -o body.o body.c mv -f .deps/body.Tpo .deps/body.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT charset.o -MD -MP -MF .deps/charset.Tpo -c -o charset.o charset.c mv -f .deps/charset.Tpo .deps/charset.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT conf.o -MD -MP -MF .deps/conf.Tpo -c -o conf.o conf.c conf.c:7494:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if PREREQ_FOR_SYS_TRANSLATION ^ ../include/system.h:99:121: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ conf.c:7494:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../include/system.h:99:142: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ 2 warnings generated. mv -f .deps/conf.Tpo .deps/conf.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT context.o -MD -MP -MF .deps/context.Tpo -c -o context.o context.c mv -f .deps/context.Tpo .deps/context.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT copyaddr.o -MD -MP -MF .deps/copyaddr.Tpo -c -o copyaddr.o copyaddr.c mv -f .deps/copyaddr.Tpo .deps/copyaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT detoken.o -MD -MP -MF .deps/detoken.Tpo -c -o detoken.o detoken.c mv -f .deps/detoken.Tpo .deps/detoken.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT detach.o -MD -MP -MF .deps/detach.Tpo -c -o detach.o detach.c mv -f .deps/detach.Tpo .deps/detach.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT editorial.o -MD -MP -MF .deps/editorial.Tpo -c -o editorial.o editorial.c mv -f .deps/editorial.Tpo .deps/editorial.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT escapes.o -MD -MP -MF .deps/escapes.Tpo -c -o escapes.o escapes.c mv -f .deps/escapes.Tpo .deps/escapes.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filter.o -MD -MP -MF .deps/filter.Tpo -c -o filter.o filter.c mv -f .deps/filter.Tpo .deps/filter.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT flag.o -MD -MP -MF .deps/flag.Tpo -c -o flag.o flag.c mv -f .deps/flag.Tpo .deps/flag.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT folder.o -MD -MP -MF .deps/folder.Tpo -c -o folder.o folder.c folder.c:702:13: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] || (f->name && !strucmp(ps->VAR_INCCHECKLIST[j],f->name))) ~~~^~~~ ~~ folder.c:759:13: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] || (f->name && !strucmp(ps_global->VAR_INCCHECKLIST[j],f->name))) ~~~^~~~ ~~ folder.c:1182:14: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] if(f && f->name){ ~~ ~~~^~~~ folder.c:1268:26: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] if(found_it && f && f->name){ ~~ ~~~^~~~ folder.c:1839:23: warning: address of array 'f->name' will always evaluate to 'true' [-Wpointer-bool-conversion] if(f->nickname && f->name && !strcmp(longname, f->name)) ~~ ~~~^~~~ 5 warnings generated. mv -f .deps/folder.Tpo .deps/folder.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT handle.o -MD -MP -MF .deps/handle.Tpo -c -o handle.o handle.c mv -f .deps/handle.Tpo .deps/handle.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c help.c:61:8: warning: address of array 'h_revision' will always evaluate to 'true' [-Wpointer-bool-conversion] if(h_revision && h_revision[0] && h_revision[0][0]){ ^~~~~~~~~~ ~~ help.c:106:8: warning: address of array 'h_revision' will always evaluate to 'true' [-Wpointer-bool-conversion] if(h_revision && h_revision[0] && h_revision[0][0]){ ^~~~~~~~~~ ~~ help.c:216:9: warning: address of array 'p->timestamp' will always evaluate to 'true' [-Wpointer-bool-conversion] if(p->timestamp && p->timestamp[0] ~~~^~~~~~~~~ ~~ help.c:221:9: warning: address of array 'p->message' will always evaluate to 'true' [-Wpointer-bool-conversion] if(p->message && p->message[0] ~~~^~~~~~~ ~~ 4 warnings generated. mv -f .deps/help.Tpo .deps/help.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT helpindx.o -MD -MP -MF .deps/helpindx.Tpo -c -o helpindx.o helpindx.c mv -f .deps/helpindx.Tpo .deps/helpindx.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT hist.o -MD -MP -MF .deps/hist.Tpo -c -o hist.o hist.c mv -f .deps/hist.Tpo .deps/hist.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT icache.o -MD -MP -MF .deps/icache.Tpo -c -o icache.o icache.c mv -f .deps/icache.Tpo .deps/icache.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ical.o -MD -MP -MF .deps/ical.Tpo -c -o ical.o ical.c mv -f .deps/ical.Tpo .deps/ical.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT imap.o -MD -MP -MF .deps/imap.Tpo -c -o imap.o imap.c mv -f .deps/imap.Tpo .deps/imap.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT init.o -MD -MP -MF .deps/init.Tpo -c -o init.o init.c init.c:520:5: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] spath ? spath : "?", newpath ? newpath : "?")); ^~~~~ ~ ./debug.h:40:40: note: expanded from macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ init.c:524:19: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] pretty_fn(spath ? spath : "?")); ^~~~~ ~ init.c:530:37: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] pretty_fn(spath ? spath : "?"), ^~~~~ ~ init.c:533:20: warning: address of array 'spath' will always evaluate to 'true' [-Wpointer-bool-conversion] spath ? spath : "?", newpath ? newpath : "?", ^~~~~ ~ ./debug.h:40:40: note: expanded from macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 4 warnings generated. mv -f .deps/init.Tpo .deps/init.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT keyword.o -MD -MP -MF .deps/keyword.Tpo -c -o keyword.o keyword.c keyword.c:222:26: warning: address of array 'stream->user_flags' will always evaluate to 'true' [-Wpointer-bool-conversion] if(stream && stream->user_flags && k >= 0 && k < NUSERFLAGS) ~~ ~~~~~~~~^~~~~~~~~~ keyword.c:278:39: warning: address of array 'stream->user_flags' will always evaluate to 'true' [-Wpointer-bool-conversion] if((flags & F_KEYWORD) && stream->user_flags){ ~~ ~~~~~~~~^~~~~~~~~~ keyword.c:308:39: warning: address of array 'stream->user_flags' will always evaluate to 'true' [-Wpointer-bool-conversion] if((flags & F_KEYWORD) && stream->user_flags){ ~~ ~~~~~~~~^~~~~~~~~~ 3 warnings generated. mv -f .deps/keyword.Tpo .deps/keyword.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT ldap.o -MD -MP -MF .deps/ldap.Tpo -c -o ldap.o ldap.c mv -f .deps/ldap.Tpo .deps/ldap.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT list.o -MD -MP -MF .deps/list.Tpo -c -o list.o list.c mv -f .deps/list.Tpo .deps/list.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailcap.o -MD -MP -MF .deps/mailcap.Tpo -c -o mailcap.o mailcap.c mv -f .deps/mailcap.Tpo .deps/mailcap.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailcmd.o -MD -MP -MF .deps/mailcmd.Tpo -c -o mailcmd.o mailcmd.c mailcmd.c:342:23: warning: address of array 'ps_global->cur_folder' will always evaluate to 'true' [-Wpointer-bool-conversion] *inbox = (ps_global->cur_folder ~~~~~~~~~~~^~~~~~~~~~ mailcmd.c:343:26: warning: address of array 'ps_global->inbox_name' will always evaluate to 'true' [-Wpointer-bool-conversion] && ps_global->inbox_name ~~ ~~~~~~~~~~~^~~~~~~~~~ mailcmd.c:412:20: warning: address of array 'ps_global->inbox_name' will always evaluate to 'true' [-Wpointer-bool-conversion] ps_global->inbox_name ? ps_global->inbox_name : "?")); ~~~~~~~~~~~^~~~~~~~~~ ~ ./debug.h:40:40: note: expanded from macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ mailcmd.c:557:10: warning: address of array 'expanded_file' will always evaluate to 'true' [-Wpointer-bool-conversion] expanded_file ? expanded_file : "?", ^~~~~~~~~~~~~ ~ ./debug.h:40:40: note: expanded from macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 4 warnings generated. mv -f .deps/mailcmd.Tpo .deps/mailcmd.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailindx.o -MD -MP -MF .deps/mailindx.Tpo -c -o mailindx.o mailindx.c mv -f .deps/mailindx.Tpo .deps/mailindx.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT maillist.o -MD -MP -MF .deps/maillist.Tpo -c -o maillist.o maillist.c mv -f .deps/maillist.Tpo .deps/maillist.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mailview.o -MD -MP -MF .deps/mailview.Tpo -c -o mailview.o mailview.c mailview.c:531:11: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] caltext = rfc822_qprint ((unsigned char *) rawtext,strlen(rawtext),&callen); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mailview.c:1053:6: warning: address of array 'a->size' will always evaluate to 'true' [-Wpointer-bool-conversion] a->size ? a->size : "", ~~~^~~~ ~ mailview.c:3317:16: warning: address of array 'parmlist->attrib' will always evaluate to 'true' [-Wpointer-bool-conversion] if(parmlist->attrib && strucmp(parmlist->attrib, "url") == 0){ ~~~~~~~~~~^~~~~~ ~~ mailview.c:3328:18: warning: address of array 'parmlist->attrib' will always evaluate to 'true' [-Wpointer-bool-conversion] parmlist->attrib ? parmlist->attrib : "", printme); ~~~~~~~~~~^~~~~~ ~ mailview.c:3459:18: warning: address of array 'cp->fg' will always evaluate to 'true' [-Wpointer-bool-conversion] if(cp && cp->fg){ ~~ ~~~~^~ mailview.c:3470:18: warning: address of array 'cp->bg' will always evaluate to 'true' [-Wpointer-bool-conversion] if(cp && cp->bg){ ~~ ~~~~^~ 6 warnings generated. mv -f .deps/mailview.Tpo .deps/mailview.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT margin.o -MD -MP -MF .deps/margin.Tpo -c -o margin.o margin.c mv -f .deps/margin.Tpo .deps/margin.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mimedesc.o -MD -MP -MF .deps/mimedesc.Tpo -c -o mimedesc.o mimedesc.c mv -f .deps/mimedesc.Tpo .deps/mimedesc.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mimetype.o -MD -MP -MF .deps/mimetype.Tpo -c -o mimetype.o mimetype.c mv -f .deps/mimetype.Tpo .deps/mimetype.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT msgno.o -MD -MP -MF .deps/msgno.Tpo -c -o msgno.o msgno.c mv -f .deps/msgno.Tpo .deps/msgno.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c mv -f .deps/newmail.Tpo .deps/newmail.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT news.o -MD -MP -MF .deps/news.Tpo -c -o news.o news.c mv -f .deps/news.Tpo .deps/news.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pattern.o -MD -MP -MF .deps/pattern.Tpo -c -o pattern.o pattern.c mv -f .deps/pattern.Tpo .deps/pattern.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pipe.o -MD -MP -MF .deps/pipe.Tpo -c -o pipe.o pipe.c mv -f .deps/pipe.Tpo .deps/pipe.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT readfile.o -MD -MP -MF .deps/readfile.Tpo -c -o readfile.o readfile.c mv -f .deps/readfile.Tpo .deps/readfile.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT remote.o -MD -MP -MF .deps/remote.Tpo -c -o remote.o remote.c remote.c:2272:9: warning: address of array 'date' will always evaluate to 'true' [-Wpointer-bool-conversion] date ? date : "?")); ^~~~ ~ ./debug.h:40:40: note: expanded from macro 'dprint' #define dprint(x) { output_debug_msg x ; } ^ 1 warning generated. mv -f .deps/remote.Tpo .deps/remote.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT reply.o -MD -MP -MF .deps/reply.Tpo -c -o reply.o reply.c mv -f .deps/reply.Tpo .deps/reply.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT rfc2231.o -MD -MP -MF .deps/rfc2231.Tpo -c -o rfc2231.o rfc2231.c mv -f .deps/rfc2231.Tpo .deps/rfc2231.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT save.o -MD -MP -MF .deps/save.Tpo -c -o save.o save.c mv -f .deps/save.Tpo .deps/save.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c mv -f .deps/search.Tpo .deps/search.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT sequence.o -MD -MP -MF .deps/sequence.Tpo -c -o sequence.o sequence.c mv -f .deps/sequence.Tpo .deps/sequence.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT send.o -MD -MP -MF .deps/send.Tpo -c -o send.o send.c send.c:1185:18: warning: address of array 'pf_template' will always evaluate to 'true' [-Wpointer-bool-conversion] for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) ^~~~~~~~~~~ ~~ send.c:1450:15: warning: address of array 'pf_template' will always evaluate to 'true' [-Wpointer-bool-conversion] for(cnt = 0; pf_template && pf_template[cnt].name; cnt++) ^~~~~~~~~~~ ~~ 2 warnings generated. mv -f .deps/send.Tpo .deps/send.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT sort.o -MD -MP -MF .deps/sort.Tpo -c -o sort.o sort.c mv -f .deps/sort.Tpo .deps/sort.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c mv -f .deps/state.Tpo .deps/state.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c mv -f .deps/status.Tpo .deps/status.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT store.o -MD -MP -MF .deps/store.Tpo -c -o store.o store.c mv -f .deps/store.Tpo .deps/store.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT stream.o -MD -MP -MF .deps/stream.Tpo -c -o stream.o stream.c stream.c:3131:43: warning: address of array 'mb_s.user' will always evaluate to 'true' [-Wpointer-bool-conversion] (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) ~~~~~^~~~ ~~ stream.c:3131:14: warning: address of array 'mb_n.user' will always evaluate to 'true' [-Wpointer-bool-conversion] (!((mb_n.user && *mb_n.user) || (mb_s.user && *mb_s.user)) ~~~~~^~~~ ~~ stream.c:3123:14: warning: address of array 'mb_s.user' will always evaluate to 'true' [-Wpointer-bool-conversion] && mb_s.user ~~ ~~~~~^~~~ stream.c:3122:13: warning: address of array 'mb_n.user' will always evaluate to 'true' [-Wpointer-bool-conversion] ((!mb_n.user || !*mb_n.user) ~~~~~~^~~~ stream.c:3120:11: warning: address of array 'mb_s.user' will always evaluate to 'true' [-Wpointer-bool-conversion] mb_s.user && !strcmp(mb_n.user, mb_s.user)) ~~~~~^~~~ stream.c:3119:18: warning: address of array 'mb_n.user' will always evaluate to 'true' [-Wpointer-bool-conversion] && ((mb_n.user && *mb_n.user && ~~~~~^~~~ ~~ stream.c:3163:17: warning: address of array 'mb_n.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] && (mb_n.mailbox && mb_s.mailbox ~~~~~^~~~~~~ ~~ stream.c:3163:33: warning: address of array 'mb_s.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] && (mb_n.mailbox && mb_s.mailbox ~~ ~~~~~^~~~~~~ stream.c:3229:16: warning: address of array 'mb2.user' will always evaluate to 'true' [-Wpointer-bool-conversion] (!(mb2.user && *mb2.user) ~~~~^~~~ ~~ stream.c:3221:16: warning: address of array 'mb1.user' will always evaluate to 'true' [-Wpointer-bool-conversion] (!(mb1.user && *mb1.user) ~~~~^~~~ ~~ stream.c:3219:44: warning: address of array 'mb2.user' will always evaluate to 'true' [-Wpointer-bool-conversion] (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) ~~~~^~~~ ~~ stream.c:3219:16: warning: address of array 'mb1.user' will always evaluate to 'true' [-Wpointer-bool-conversion] (!(mb1.user && *mb1.user) && !(mb2.user && *mb2.user)) ~~~~^~~~ ~~ stream.c:3216:39: warning: address of array 'mb2.user' will always evaluate to 'true' [-Wpointer-bool-conversion] && ((mb1.user && *mb1.user && mb2.user && *mb2.user ~~ ~~~~^~~~ stream.c:3216:14: warning: address of array 'mb1.user' will always evaluate to 'true' [-Wpointer-bool-conversion] && ((mb1.user && *mb1.user && mb2.user && *mb2.user ~~~~^~~~ ~~ stream.c:3212:27: warning: address of array 'mb2.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] && mb1.mailbox && mb2.mailbox ~~ ~~~~^~~~~~~ stream.c:3212:12: warning: address of array 'mb1.mailbox' will always evaluate to 'true' [-Wpointer-bool-conversion] && mb1.mailbox && mb2.mailbox ~~ ~~~~^~~~~~~ 16 warnings generated. mv -f .deps/stream.Tpo .deps/stream.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT string.o -MD -MP -MF .deps/string.Tpo -c -o string.o string.c mv -f .deps/string.Tpo .deps/string.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT strlst.o -MD -MP -MF .deps/strlst.Tpo -c -o strlst.o strlst.c mv -f .deps/strlst.Tpo .deps/strlst.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT takeaddr.o -MD -MP -MF .deps/takeaddr.Tpo -c -o takeaddr.o takeaddr.c takeaddr.c:2098:23: warning: passing 'char *' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign] remove_quotes(new_current->addr->personal); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ ./../pith/string.h:156:39: note: passing argument to parameter here void remove_quotes(unsigned char *); ^ 1 warning generated. mv -f .deps/takeaddr.Tpo .deps/takeaddr.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT tempfile.o -MD -MP -MF .deps/tempfile.Tpo -c -o tempfile.o tempfile.c mv -f .deps/tempfile.Tpo .deps/tempfile.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT text.o -MD -MP -MF .deps/text.Tpo -c -o text.o text.c mv -f .deps/text.Tpo .deps/text.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT thread.o -MD -MP -MF .deps/thread.Tpo -c -o thread.o thread.c mv -f .deps/thread.Tpo .deps/thread.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT adjtime.o -MD -MP -MF .deps/adjtime.Tpo -c -o adjtime.o adjtime.c mv -f .deps/adjtime.Tpo .deps/adjtime.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT url.o -MD -MP -MF .deps/url.Tpo -c -o url.o url.c mv -f .deps/url.Tpo .deps/url.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT util.o -MD -MP -MF .deps/util.Tpo -c -o util.o util.c mv -f .deps/util.Tpo .deps/util.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT helptext.o -MD -MP -MF .deps/helptext.Tpo -c -o helptext.o helptext.c mv -f .deps/helptext.Tpo .deps/helptext.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT smkeys.o -MD -MP -MF .deps/smkeys.Tpo -c -o smkeys.o smkeys.c mv -f .deps/smkeys.Tpo .deps/smkeys.Po cc -DHAVE_CONFIG_H -I../include -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT smime.o -MD -MP -MF .deps/smime.Tpo -c -o smime.o smime.c smime.c:307:9: warning: address of array 'pathkey' will always evaluate to 'true' [-Wpointer-bool-conversion] if((pathkey && *pathkey) || text){ ^~~~~~~ ~~ 1 warning generated. mv -f .deps/smime.Tpo .deps/smime.Po rm -f libpith.a /usr/bin/ar cru libpith.a ablookup.o abdlc.o addrbook.o addrstring.o adrbklib.o bldaddr.o body.o charset.o color.o conf.o context.o copyaddr.o detoken.o detach.o editorial.o escapes.o filter.o flag.o folder.o handle.o help.o helpindx.o hist.o icache.o ical.o imap.o init.o keyword.o ldap.o list.o mailcap.o mailcmd.o mailindx.o maillist.o mailview.o margin.o mimedesc.o mimetype.o msgno.o newmail.o news.o pattern.o pipe.o readfile.o remote.o reply.o rfc2231.o save.o search.o sequence.o send.o sort.o state.o status.o store.o stream.o string.o strlst.o takeaddr.o tempfile.o text.o thread.o adjtime.o url.o util.o helptext.o smkeys.o smime.o ranlib libpith.a Making all in pico Making all in osdep cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT altedit.o -MD -MP -MF .deps/altedit.Tpo -c -o altedit.o altedit.c mv -f .deps/altedit.Tpo .deps/altedit.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT chkpoint.o -MD -MP -MF .deps/chkpoint.Tpo -c -o chkpoint.o chkpoint.c mv -f .deps/chkpoint.Tpo .deps/chkpoint.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c mv -f .deps/color.Tpo .deps/color.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT filesys.o -MD -MP -MF .deps/filesys.Tpo -c -o filesys.o filesys.c mv -f .deps/filesys.Tpo .deps/filesys.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fsync.o -MD -MP -MF .deps/fsync.Tpo -c -o fsync.o fsync.c mv -f .deps/fsync.Tpo .deps/fsync.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT getkey.o -MD -MP -MF .deps/getkey.Tpo -c -o getkey.o getkey.c mv -f .deps/getkey.Tpo .deps/getkey.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT mouse.o -MD -MP -MF .deps/mouse.Tpo -c -o mouse.o mouse.c mv -f .deps/mouse.Tpo .deps/mouse.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT newmail.o -MD -MP -MF .deps/newmail.Tpo -c -o newmail.o newmail.c mv -f .deps/newmail.Tpo .deps/newmail.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT popen.o -MD -MP -MF .deps/popen.Tpo -c -o popen.o popen.c mv -f .deps/popen.Tpo .deps/popen.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT raw.o -MD -MP -MF .deps/raw.Tpo -c -o raw.o raw.c mv -f .deps/raw.Tpo .deps/raw.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT read.o -MD -MP -MF .deps/read.Tpo -c -o read.o read.c mv -f .deps/read.Tpo .deps/read.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT shell.o -MD -MP -MF .deps/shell.Tpo -c -o shell.o shell.c mv -f .deps/shell.Tpo .deps/shell.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c mv -f .deps/signals.Tpo .deps/signals.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT spell.o -MD -MP -MF .deps/spell.Tpo -c -o spell.o spell.c mv -f .deps/spell.Tpo .deps/spell.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT terminal.o -MD -MP -MF .deps/terminal.Tpo -c -o terminal.o terminal.c mv -f .deps/terminal.Tpo .deps/terminal.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT truncate.o -MD -MP -MF .deps/truncate.Tpo -c -o truncate.o truncate.c mv -f .deps/truncate.Tpo .deps/truncate.Po cc -DHAVE_CONFIG_H -I../../include -I../../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT tty.o -MD -MP -MF .deps/tty.Tpo -c -o tty.o tty.c mv -f .deps/tty.Tpo .deps/tty.Po rm -f libpicoosd.a /usr/bin/ar cru libpicoosd.a altedit.o chkpoint.o color.o filesys.o fsync.o getkey.o mouse.o newmail.o popen.o raw.o read.o shell.o signals.o spell.o terminal.o truncate.o tty.o ranlib libpicoosd.a cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT attach.o -MD -MP -MF .deps/attach.Tpo -c -o attach.o attach.c mv -f .deps/attach.Tpo .deps/attach.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT basic.o -MD -MP -MF .deps/basic.Tpo -c -o basic.o basic.c mv -f .deps/basic.Tpo .deps/basic.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT bind.o -MD -MP -MF .deps/bind.Tpo -c -o bind.o bind.c mv -f .deps/bind.Tpo .deps/bind.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT browse.o -MD -MP -MF .deps/browse.Tpo -c -o browse.o browse.c browse.c:1752:10: warning: address of array 'pat' will always evaluate to 'true' [-Wpointer-bool-conversion] if(pat && pat[0]) ^~~ ~~ browse.c:2143:30: warning: address of array 'cell->size' will always evaluate to 'true' [-Wpointer-bool-conversion] s_wid = utf8_width(cell->size ? cell->size : ""); ~~~~~~^~~~ ~ browse.c:2198:25: warning: address of array 'cell->size' will always evaluate to 'true' [-Wpointer-bool-conversion] s_wid, s_wid, cell->size ? cell->size : ""); ~~~~~~^~~~ ~ browse.c:2819:18: warning: address of array 'mp->dname' will always evaluate to 'true' [-Wpointer-bool-conversion] if(mp && mp->dname) ~~ ~~~~^~~~~ 4 warnings generated. mv -f .deps/browse.Tpo .deps/browse.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT buffer.o -MD -MP -MF .deps/buffer.Tpo -c -o buffer.o buffer.c mv -f .deps/buffer.Tpo .deps/buffer.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT composer.o -MD -MP -MF .deps/composer.Tpo -c -o composer.o composer.c mv -f .deps/composer.Tpo .deps/composer.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c mv -f .deps/display.Tpo .deps/display.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c mv -f .deps/file.Tpo .deps/file.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT fileio.o -MD -MP -MF .deps/fileio.Tpo -c -o fileio.o fileio.c mv -f .deps/fileio.Tpo .deps/fileio.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT line.o -MD -MP -MF .deps/line.Tpo -c -o line.o line.c mv -f .deps/line.Tpo .deps/line.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pico.o -MD -MP -MF .deps/pico.Tpo -c -o pico.o pico.c mv -f .deps/pico.Tpo .deps/pico.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT random.o -MD -MP -MF .deps/random.Tpo -c -o random.o random.c mv -f .deps/random.Tpo .deps/random.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT region.o -MD -MP -MF .deps/region.Tpo -c -o region.o region.c mv -f .deps/region.Tpo .deps/region.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c search.c:426:35: warning: address of array 'defpat' will always evaluate to 'true' [-Wpointer-bool-conversion] utf8 = sucs4_to_utf8_cpystr(defpat ? defpat : x, flags & SR_BACKWRD); ^~~~~~ ~ 1 warning generated. mv -f .deps/search.Tpo .deps/search.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT window.o -MD -MP -MF .deps/window.Tpo -c -o window.o window.c mv -f .deps/window.Tpo .deps/window.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT word.o -MD -MP -MF .deps/word.Tpo -c -o word.o word.c mv -f .deps/word.Tpo .deps/word.Po rm -f libpico.a /usr/bin/ar cru libpico.a attach.o basic.o bind.o browse.o buffer.o composer.o display.o file.o fileio.o line.o pico.o random.o region.o search.o window.o word.o ranlib libpico.a cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c main.c:239:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if PREREQ_FOR_SYS_TRANSLATION ^ ../include/system.h:99:121: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ main.c:239:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../include/system.h:99:142: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ main.c:283:8: warning: address of array 'opertree' will always evaluate to 'true' [-Wpointer-bool-conversion] if(opertree && opertree[0]){ ^~~~~~~~ ~~ 3 warnings generated. mv -f .deps/main.Tpo .deps/main.Po cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT utf8stub.o -MD -MP -MF .deps/utf8stub.Tpo -c -o utf8stub.o utf8stub.c mv -f .deps/utf8stub.Tpo .deps/utf8stub.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o pico main.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-rpath -Wl,/usr/local/lib -fstack-protector-strong -o pico main.o utf8stub.o ../c-client/utf8.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lcrypt -lssl -lcrypto -ltinfo -pthread cc -DHAVE_CONFIG_H -I../include -I/usr/local/include -I/usr/local/include -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -MT pilot.o -MD -MP -MF .deps/pilot.Tpo -c -o pilot.o pilot.c pilot.c:157:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] #if PREREQ_FOR_SYS_TRANSLATION ^ ../include/system.h:99:121: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ pilot.c:157:5: warning: macro expansion producing 'defined' has undefined behavior [-Wexpansion-to-defined] ../include/system.h:99:142: note: expanded from macro 'PREREQ_FOR_SYS_TRANSLATION' #define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) ^ 2 warnings generated. mv -f .deps/pilot.Tpo .deps/pilot.Po /bin/sh ../libtool --tag=CC --mode=link cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -o pilot pilot.o utf8stub.o ../c-client/utf8.o libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo libtool: link: cc -g -D_THREAD_SAFE -pthread -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L -Wl,-rpath -Wl,/usr/local/lib -fstack-protector-strong -o pilot pilot.o utf8stub.o ../c-client/utf8.o /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib libpico.a osdep/libpicoosd.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a -lcrypt -lssl -lcrypto -ltinfo -pthread =========================================================================== =================================================== ===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0 ===> pico-alpine-2.26_1 depends on executable: aspell - found ===> pico-alpine-2.26_1 depends on file: /usr/local/lib/libcrypto.so.12 - found =========================================================================== =================================================== ===== env: NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Staging for pico-alpine-2.26_1 ===> Generating temporary packing list if test ! -L c-client ; then ln -s imap/c-client c-client ; fi true cd imap && /usr/bin/make bsf EXTRACFLAGS=" -I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L" EXTRALDFLAGS=" -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo" EXTRAAUTHENTICATORS="" EXTRASPECIALS="IP6=4 SSLINCLUDE=/usr/local/include SSLLIB=/usr/local/lib SSLDIR=/usr/local/openssl SSLCERTS=/usr/local/openssl/certs SSLKEYS=/etc/ssl/private" BUNDLED="no" touch ip6 make build EXTRACFLAGS='-I/usr/local/include -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -DOPENSSL_1_1_0 -DOPENSSL_API_COMPAT=0x10100000L' EXTRALDFLAGS='-L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector-strong -lcrypt -lssl -lcrypto /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib -ltinfo' EXTRADRIVERS='mbox' EXTRAAUTHENTICATORS='' PASSWDTYPE=std SSLTYPE=nopwd IP=4 EXTRASPECIALS='IP6=4 SSLINCLUDE=/usr/local/include SSLLIB=/usr/local/lib SSLDIR=/usr/local/openssl SSLCERTS=/usr/local/openssl/certs SSLKEYS=/etc/ssl/private' BUNDLED='no' BUILDTYPE=bsf IP=6 PASSWDTYPE=pam SPECIALS="GSSINCLUDE=/usr/include GSSLIB=/usr/lib PAMLDFLAGS=-lpam" Rebuilding c-client for bsf... cd c-client;make all CC=`cat CCTYPE` CFLAGS="`cat CFLAGS`" `cat SPECIALS` sh -c 'rm -rf rebuild || true' Not building bundled tools. /usr/bin/make install-recursive Making install in m4 Making install in po /bin/mkdir -p /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share if test "alpine" = "gettext-tools"; then /bin/mkdir -p /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/gettext/po; for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do install -m 0644 ./$file /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/gettext/po/$file; done; for file in Makevars; do rm -f /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/gettext/po/$file; done; else : ; fi Making install in pith /usr/bin/make install-recursive Making install in osdep Making install in charconv Making install in pico Making install in osdep /bin/mkdir -p '/wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/bin' /bin/sh ../libtool --mode=install install -s -m 555 pico pilot '/wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/bin' libtool: install: install -m 555 -s pico /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/bin/pico libtool: install: install -m 555 -s pilot /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/bin/pilot cd imap && /usr/bin/make install-mailutil BUNDLED="no" DESTDIR="/wrkdirs/usr/ports/editors/pico-alpine/work/stage" bindir="/usr/local/bin" mandir="/usr/local/share/man" Not building bundled tools. Installing mailutil... BUNDLED=no if test x"no" = x""; then install -d /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/bin; install mailutil/mailutil /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/bin/mailutil; install -d /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/man/man1; install src/mailutil/mailutil.1 /wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/man/man1/mailutil.1; fi /bin/mkdir -p '/wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/man/man1' install -m 0644 doc/man1/pico.1 doc/man1/pilot.1 '/wrkdirs/usr/ports/editors/pico-alpine/work/stage/usr/local/share/man/man1' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===== env: 'PKG_NOTES=build_timestamp ports_top_git_hash ports_top_checkout_unclean port_git_hash port_checkout_unclean built_by' 'PKG_NOTE_build_timestamp=2024-04-04T20:09:36+0000' 'PKG_NOTE_ports_top_git_hash=c2c35d895e' 'PKG_NOTE_ports_top_checkout_unclean=yes' 'PKG_NOTE_port_git_hash=dc3283a0f2' 'PKG_NOTE_port_checkout_unclean=no' 'PKG_NOTE_built_by=poudriere-git-3.4.99.20240122_1' NO_DEPENDS=yes USER=root UID=0 GID=0 ===> Building packages for pico-alpine-2.26_1 ===> Building pico-alpine-2.26_1 =========================================================================== =>> Cleaning up wrkdir ===> Cleaning for pico-alpine-2.26_1 build of editors/pico-alpine | pico-alpine-2.26_1 ended at Thu Apr 4 21:49:15 BST 2024 build time: 00:39:40